joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42fd4e
Capabilities:
Create directory
Download url
Receive data

Disassembly:
push 0xc
mov eax, 0x4878d3
call fcn.00464d37
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [esi + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x20], eax
call fcn.00443455
push eax
lea ecx, [ebp + 8]
call fcn.004318e9
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0xc]
xor ebx, ebx
cmp dword [ecx - 0xc], ebx
mov dword [ebp - 4], ebx
jg 0x42fdcb
push dword [eax + 4]
lea eax, [ebp - 0x14]
push eax
call fcn.00430b78
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.00430cf3
add esp, 0x18
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.00403ae1
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401000
jmp 0x42fdeb
mov eax, dword [eax + 8]
push 0x5c
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00430cf3
add esp, 0x10
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.00403ae1
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00401000
mov eax, dword [esi + 8]
mov eax, dword [eax + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push ebx
push eax
call edi
mov eax, dword [esi + 8]
add eax, 8
push eax
lea ecx, [ebp - 0x10]
call fcn.004036b5
mov ecx, dword [esi + 8]
push ebx
push 0x498504
add ecx, 0xc
mov byte [ebp - 4], 4
call fcn.00403642
cmp eax, 0xffffffff
jle 0x42fe69
mov ecx, dword [esi + 8]
push eax
lea eax, [ebp - 0x14]
push eax
add ecx, 0xc
call fcn.00407aed
mov eax, dword [eax]
push dword [eax - 0xc]
lea ecx, [ebp - 0x10]
push eax
mov byte [ebp - 4], 5
call fcn.004037ae
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.00401000
push ebx
push dword [ebp - 0x10]
call edi
mov eax, dword [esi + 8]
add eax, 4
push eax
lea ecx, [ebp - 0x14]
call fcn.004036b5
mov edi, dword [ebp - 0x14]
push edi
mov byte [ebp - 4], 6
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 0x42fea8
mov dword [ebp - 0x18], eax
push 0x4ac5e4
lea eax, [ebp - 0x18]
push eax
call fcn.004647a7
lea ecx, [edi - 0x10]
call fcn.00401000
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401000
lea ecx, [esi - 0x10]
call fcn.00401000
call fcn.00464e0f
ret 4

Function at 0x4300f4
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 2
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x430131
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 1
push eax
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x430131
xor eax, eax
leave
ret
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
neg eax
sbb eax, eax
inc eax
leave
ret
Function at 0x430141
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0xa4
mov eax, dword [0x4b82fc]
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 0x430179
lea eax, [ebp - 0x38]
push eax
push 1
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
jmp 0x43018d
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 0x430195
xor eax, eax
jmp 0x4301c8
test edi, edi
je 0x4301ba
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 0x430191
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.00464d28
add ebp, 0x68
leave
ret

Function at 0x43021a
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xbc]
sub esp, 0x13c
mov eax, dword [0x4b82fc]
xor eax, ebp
mov dword [ebp + 0xb8], eax
mov eax, dword [ebp + 0xcc]
push ebx
push esi
mov esi, dword [ebp + 0xc4]
push edi
mov edi, dword [ebp + 0xc8]
mov dword [ebp - 0x54], eax
call fcn.00443455
push eax
lea ecx, [ebp - 0x58]
call fcn.004318e9
mov eax, dword [ebp + 0xd0]
xor ebx, ebx
cmp eax, ebx
jne 0x430272
lea eax, [ebp - 0x4c]
push eax
push 0x20019
jmp 0x43027c
lea ecx, [ebp - 0x4c]
push ecx
or eax, 0x20019
push eax
push ebx
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x430303
push 0xfe
lea eax, [ebp - 0x47]
push ebx
push eax
mov byte [ebp - 0x48], bl
call fcn.004645c0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x5c]
push eax
push ebx
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x4c]
mov dword [ebp - 0x60], 0xff
mov dword [ebp - 0x5c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
lea eax, [ebp - 0x50]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x54]
mov dword [ebp - 0x50], 4
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4302fa
mov bl, 1
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x58]
add ecx, 0xfffffff0
call fcn.00401000
mov ecx, dword [ebp + 0xb8]
pop edi
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00464d28
add ebp, 0xbc
leave
ret
Function at 0x43063d
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
sub esp, 0x204
lea ebp, [esp - 4]
mov eax, dword [0x4b82fc]
xor eax, ebp
mov dword [ebp + 0x204], eax
push 0x38
mov eax, 0x487a25
call fcn.00464d37
mov eax, dword [ebp + 0x210]
mov esi, dword [ebp + 0x214]
mov edi, dword [ebp + 0x218]
xor ebx, ebx
push 0x103
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x101]
push ebx
mov dword [ebp - 0x1c], ebx
push eax
mov byte [ebp + 0x100], bl
call fcn.004645c0
mov ecx, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 0x20], 0x104
mov dword [ebp - 0x10], ebx
call fcn.0040362e
mov eax, dword [ebp + 0x21c]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], 1
cmp eax, ebx
jne 0x4306c3
mov eax, 0x20019
jmp 0x4306c8
or eax, 0x20019
lea ecx, [ebp - 0x18]
push ecx
push eax
push ebx
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43076a
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 0x100]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp dword [ebp - 0x10], ebx
je 0x43076a
xor edi, edi
cmp dword [ebp - 0x10], ebx
jbe 0x43076a
lea eax, [ebp - 0x34]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp]
push eax
push edi
push dword [ebp - 0x18]
mov dword [ebp - 0x24], 0xff
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, ebx
jne 0x430764
mov esi, dword [ebp - 0x14]
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
je 0x430759
push 0x48efcc
mov ecx, esi
call fcn.00403a7c
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.00403a7c
inc edi
cmp edi, dword [ebp - 0x10]
jb 0x43071f
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x204]
xor ecx, ebp
call fcn.00464d28
add ebp, 0x208
leave
ret
Function at 0x430790
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x100
lea ebp, [esp - 4]
mov eax, dword [0x4b82fc]
xor eax, ebp
mov dword [ebp + 0x100], eax
push 0x44
mov eax, 0x487a66
call fcn.00464d6a
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.0040362e
xor eax, eax
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x11c]
cmp eax, ebx
jne 0x4307fa
lea eax, [ebp - 0x14]
push eax
push 0x20019
jmp 0x430804
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 0x4308c6
push 0xfe
lea eax, [ebp + 1]
push ebx
push eax
mov byte [ebp], bl
call fcn.004645c0
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 0x4308bd
push dword [ebp - 0x18]
call fcn.00467af1
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 0x4308b6
cmp dword [ebp - 0x24], 1
jne 0x4308b6
mov ecx, dword [ebp - 0x20]
push edi
call fcn.00403a7c
push edi
call fcn.004648b4
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.00464d28
add ebp, 0x104
leave
ret

Function at 0x430a93
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4b82fc]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x110], 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x10c]
push 0
push eax
call fcn.004645c0
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x10c]
push eax
mov ecx, edi
call fcn.00404237
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00464d28
leave
ret
Function at 0x430af5
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x90]
sub esp, 0x110
mov eax, dword [0x4b82fc]
xor eax, ebp
mov dword [ebp + 0x8c], eax
and dword [ebp - 0x80], 0
push esi
mov esi, dword [ebp + 0x98]
push 0x105
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.004645c0
lea eax, [ebp - 0x80]
push eax
call fcn.00430a93
add esp, 0x10
lea ecx, [ebp - 0x7c]
push ecx
push 0
push 0x4998b8
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov ecx, dword [ebp - 0x80]
add ecx, 0xfffffff0
call fcn.00401000
lea eax, [ebp - 0x7c]
push eax
mov ecx, esi
call fcn.00404237
mov ecx, dword [ebp + 0x8c]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00464d28
add ebp, 0x90
leave
ret

Function at 0x430dfb
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x318
lea ebp, [esp - 4]
mov eax, dword [0x4b82fc]
xor eax, ebp
mov dword [ebp + 0x318], eax
push 0x10
mov eax, 0x487b7c
call fcn.00464d37
mov eax, dword [ebp + 0x328]
and dword [ebp - 4], 0
mov edi, dword [ebp + 0x324]
and dword [ebp - 0x14], 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x1c], edi
call fcn.00430dbd
mov esi, 0x105
push esi
xor ebx, ebx
lea eax, [ebp + 0x108]
push 0
inc ebx
push eax
mov dword [ebp - 4], ebx
call fcn.004645c0
add esp, 0x10
push esi
lea eax, [ebp + 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push esi
lea eax, [ebp]
push 0
push eax
call fcn.004645c0
add esp, 0xc
push esi
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push esi
lea eax, [ebp + 0x210]
push 0
push eax
call fcn.004645c0
add esp, 0xc
lea eax, [ebp + 0x210]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push dword [ebp - 0x18]
mov ecx, edi
call fcn.00404237
push dword [ebp - 0x10]
mov ecx, edi
push str.APPPATH
mov dword [ebp - 0x14], ebx
call fcn.004086ca
lea eax, [ebp + 0x108]
push eax
push str.SYSTEMPATH
mov ecx, edi
call fcn.004086ca
lea eax, [ebp]
push eax
push str.WINDOWSPATH
mov ecx, edi
call fcn.004086ca
lea eax, [ebp + 0x210]
push eax
push str.TEMPPATH
mov ecx, edi
call fcn.004086ca
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401000
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x318]
xor ecx, ebp
call fcn.00464d28
add ebp, 0x31c
leave
ret
Function at 0x431083
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x100
lea ebp, [esp - 4]
mov eax, dword [0x4b82fc]
xor eax, ebp
mov dword [ebp + 0x100], eax
push 0x44
mov eax, 0x487bf0
call fcn.00464d37
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0xd], 0
call fcn.00404237
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
and dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push eax
mov ebx, 0x20019
push ebx
push 0
push dword [ebp - 0x1c]
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
call esi
test eax, eax
jne 0x4311a9
push 0xfe
push eax
mov byte [ebp], al
lea eax, [ebp + 1]
push eax
call fcn.004645c0
add esp, 0xc
lea eax, [ebp - 0x50]
push eax
and dword [ebp - 0x20], 0
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x20]
push eax
push 0
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x30], 0xff
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp dword [ebp - 0x20], 1
jbe 0x431140
mov byte [ebp - 0xd], 0
jmp 0x4311a0
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v1.1.4322
lea ecx, [ebp - 0x14]
call fcn.00404237
lea eax, [ebp - 0x24]
push eax
push ebx
xor ebx, ebx
push ebx
push dword [ebp - 0x14]
push edi
call esi
test eax, eax
jne 0x431195
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
push ebx
push 0x499948
push dword [ebp - 0x24]
mov dword [ebp - 0x2c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x43118c
cmp dword [ebp - 0x28], 1
je 0x43118c
mov byte [ebp - 0xd], 1
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401000
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00401000
mov al, byte [ebp - 0xd]
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.00464d28
add ebp, 0x104
leave
ret

Function at 0x4312df
Capabilities:
Delete directory

Disassembly:
push 8
mov eax, 0x487c6b
call fcn.00464d37
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.004036b5
push str..
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00403a7c
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.004036b5
call fcn.004311da
pop ecx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401000
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401000
call fcn.00464e0f
ret
Function at 0x431b90
Capabilities:
Delete file

Disassembly:
push 0x38
mov eax, 0x487d2a
call fcn.00464d37
xor ebx, ebx
push 8
mov dword [ebp - 4], ebx
call fcn.00440762
pop ecx
cmp eax, ebx
je 0x431bb8
mov dword [eax + 4], ebx
mov dword [eax], vtable.CBitmap.0
jmp 0x431bba
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [0x4b6a9c]
mov esi, 0x4b9e18
cmp eax, 0xfffffffe
jne 0x431bde
push esi
push 0x499a78
call fcn.00431786
pop ecx
pop ecx
mov dword [0x4b6a9c], eax
cmp eax, 0xffffffff
je 0x431d4a
lea ecx, [ebp + 8]
call fcn.00406b64
push eax
lea ecx, [ebp - 0x18]
call fcn.00431b4c
push ebx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00431a34
push eax
call fcn.004316c6
pop ecx
pop ecx
mov edi, eax
lea eax, [ebp - 0x10]
push eax
push 1
push ebx
mov dword [ebp - 0x24], edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
cmp edi, ebx
je 0x431d27
push ebx
push esi
push dword [ebp - 0x10]
mov ecx, edi
call fcn.004316e4
cmp eax, 0xffffffff
je 0x431d27
push ebx
call dword [sym.imp.USER32.dll_GetDC]
push 0x10
mov dword [ebp - 0x14], eax
call fcn.00440762
pop ecx
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x431c64
mov ecx, eax
call fcn.00446940
mov esi, eax
jmp 0x431c66
xor esi, esi
push dword [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00446db2
lea ecx, [ebp - 0x34]
call fcn.00446940
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.00446940
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
call fcn.00404a98
push esi
lea ecx, [ebp - 0x44]
call fcn.00404a98
push 8
call fcn.00440762
pop ecx
cmp eax, ebx
je 0x431cb5
mov dword [eax + 4], ebx
mov dword [eax], vtable.CBitmap.0
mov edi, eax
jmp 0x431cb7
xor edi, edi
push ebx
push dword [ebp - 0x10]
call fcn.00431744
pop ecx
pop ecx
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, eax
mov dword [ebp - 0x1c], ebx
call fcn.00431762
push dword [ebp - 0x20]
mov ecx, edi
call fcn.00447085
cmp edi, ebx
jne 0x431ce6
xor eax, eax
jmp 0x431ce9
mov eax, dword [edi + 4]
push eax
push dword [ebp - 0x30]
call fcn.00447164
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp esi, ebx
je 0x431d09
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 3
call fcn.00446e2f
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.00446e2f
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp edi, ebx
je 0x431d3c
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00401000
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x24], esp
mov ecx, esp
push eax
call fcn.004036b5
call fcn.004304f7
pop ecx
cmp al, bl
je 0x431d6c
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x431d76
mov ebx, dword [eax + 4]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401000
mov eax, ebx
call fcn.00464e0f
ret
Function at 0x43216b
Capabilities:
Create thread

Disassembly:
xor eax, eax
push esi
mov esi, ecx
cmp byte [0x4b9eac], al
jne 0x432192
push eax
push eax
push esi
push 0x4320ed
push eax
push eax
mov byte [0x4b9eac], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x20], eax
pop esi
ret

Function at 0x43238d
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor esi, esi
push esi
push esi
push esi
push 1
push dword [ebp + 8]
xor ebx, ebx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 4], eax
cmp eax, esi
je 0x4323c1
push esi
push 0x84000000
push esi
push esi
push dword [ebp + 0xc]
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov ebx, eax
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp ebx, esi
je 0x4323ce
push ebx
call edi
cmp dword [ebp - 4], esi
je 0x4323d8
push dword [ebp - 4]
call edi
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401000
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00401000
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x432ffd
Capabilities:
Get geographical location

Disassembly:
push 8
mov eax, 0x488087
call fcn.00464d6a
mov edi, ecx
mov esi, dword [ebp + 8]
push str.useriduser_idcountrycodecountry
xor ebx, ebx
push str.uidcc
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.004086ca
lea eax, [ebp + 8]
push 0x92
push eax
call fcn.00428be0
pop ecx
pop ecx
push dword [eax]
mov ecx, esi
push 0x48fb3c
mov byte [ebp - 4], 1
call fcn.004086ca
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00401000
lea eax, [ebp + 8]
push 0x91
push eax
call fcn.00428be0
pop ecx
pop ecx
push dword [eax]
mov ecx, esi
push 0x48faa8
mov byte [ebp - 4], 2
call fcn.004086ca
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00401000
push dword [edi + 0x110]
mov ecx, esi
push str.accepted_offers
call fcn.004086ca
lea eax, [ebp + 8]
push 0x9c
push eax
call fcn.00428be0
pop ecx
pop ecx
push dword [eax]
mov ecx, esi
push 0x48fb20
mov byte [ebp - 4], 3
call fcn.004086ca
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00401000
lea eax, [ebp - 0x14]
push eax
call fcn.0042aa25
pop ecx
push dword [eax]
mov ecx, esi
push 0x48fb30
mov byte [ebp - 4], 4
call fcn.004086ca
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401000
call fcn.00464e0f
ret 4

Function at 0x435210
Capabilities:
Resume thread

Disassembly:
push 0
mov eax, 0x488680
call fcn.00464d37
mov edi, ecx
push 0x28
mov dword [ebp - 4], 2
call fcn.00440762
xor ebx, ebx
pop ecx
cmp eax, ebx
je 0x43523e
mov ecx, eax
call fcn.00432ee1
mov esi, eax
jmp 0x435240
xor esi, esi
lea eax, [ebp + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.00403ae1
lea eax, [ebp + 0x10]
push eax
lea ecx, [esi + 0x10]
call fcn.00403ae1
mov eax, dword [edi + 0x140]
mov dword [esi + 4], eax
lea eax, [ebp + 8]
push eax
lea ecx, [esi + 8]
call fcn.00403ae1
mov eax, dword [edi + 0x20]
push ebx
push 4
push ebx
push ebx
mov dword [esi], eax
mov eax, dword [ebp + 0x14]
push esi
push 0x434e49
mov byte [esi + 0x1c], bl
mov byte [esi + 0x1d], bl
mov dword [esi + 0x14], eax
call fcn.004449af
mov dword [esi + 0x18], eax
cmp eax, ebx
je 0x4352a6
mov dword [eax + 0x28], ebx
mov eax, dword [esi + 0x18]
push dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x4352d7
mov esi, dword [ebp + 0x14]
imul esi, esi, 0x44
mov ebx, str.true
push ebx
lea ecx, [esi + 0x4b9f90]
call fcn.00403b2e
push ebx
lea ecx, [esi + 0x4b9f94]
call fcn.00403b2e
mov byte [edi + 0x165], 1
mov byte [edi + 0x166], 1
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401000
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00401000
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.00401000
call fcn.00464e0f
ret 0x10