joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4061b7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0xa4
mov eax, dword [0x489170]
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 0x4061ef
lea eax, [ebp - 0x38]
push eax
push 1
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
jmp 0x406203
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 0x40620b
xor eax, eax
jmp 0x40623e
test edi, edi
je 0x406230
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 0x406207
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.00448a17
add ebp, 0x68
leave
ret

Function at 0x408e44
Capabilities:
Encode data using xor

Disassembly:
push 0x28
mov eax, 0x46433b
call fcn.00448a8f
mov ebx, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], esi
lea eax, [ebp + 0xc]
push eax
xor edi, edi
lea eax, [ebp - 0x2c]
inc edi
push eax
mov dword [ebp - 4], edi
call fcn.00404082
pop ecx
pop ecx
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.00403935
mov dword [ebp - 0x30], edi
cmp dword [ebp - 0x18], esi
jbe 0x408ead
push esi
lea ecx, [ebp - 0x2c]
call fcn.004034b9
xor byte [eax], 0x61
push esi
lea ecx, [ebp - 0x2c]
call fcn.004034b9
movsx ax, byte [eax]
movzx eax, ax
push eax
mov ecx, ebx
call fcn.0040850f
inc esi
cmp esi, dword [ebp - 0x18]
jb 0x408e83
push 0
push edi
lea ecx, [ebp - 0x2c]
call fcn.004018df
push 0
push edi
lea ecx, [ebp + 0xc]
call fcn.004018df
mov eax, ebx
call fcn.00448b12
ret
Function at 0x408ece
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x100
lea ebp, [esp - 4]
mov eax, dword [0x489170]
xor eax, ebp
mov dword [ebp + 0x100], eax
push 0x44
mov eax, 0x464b8d
call fcn.00448a59
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.00403935
xor eax, eax
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x11c]
cmp eax, ebx
jne 0x408f38
lea eax, [ebp - 0x14]
push eax
push 0x20019
jmp 0x408f42
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 0x409004
push 0xfe
lea eax, [ebp + 1]
push ebx
push eax
mov byte [ebp], bl
call fcn.00448370
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 0x408ffb
push dword [ebp - 0x18]
call fcn.0044c344
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 0x408ff4
cmp dword [ebp - 0x24], 1
jne 0x408ff4
mov ecx, dword [ebp - 0x20]
push edi
call fcn.0040404b
push edi
call fcn.004485a3
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.00448a17
add ebp, 0x104
leave
ret
Function at 0x41846a
Capabilities:
Create directory
Download url
Receive data

Disassembly:
push 0xc
mov eax, 0x467083
call fcn.00448a26
mov esi, ecx
call fcn.00426b70
push eax
lea ecx, [ebp - 0x10]
call fcn.00403730
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0xc]
xor ebx, ebx
cmp dword [ecx - 0xc], ebx
mov dword [ebp - 4], ebx
jg 0x4184d8
push dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
call fcn.004182d4
mov eax, dword [eax]
mov ecx, dword [esi + 8]
mov ecx, dword [ecx + 8]
push 0x5c
push eax
push ecx
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 1
call fcn.004183a0
add esp, 0x18
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00403f82
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040127b
jmp 0x4184fb
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
push 0x5c
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004183a0
add esp, 0x10
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.00403f82
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.0040127b
mov eax, dword [esi + 8]
push ebx
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [esi + 8]
mov eax, dword [eax + 4]
push esi
mov esi, dword [ebp - 0x10]
push ebx
push esi
push eax
push ebx
call sub.urlmon.dll_URLDownloadToFileA
cmp eax, ebx
jge 0x41853e
mov dword [ebp - 0x18], eax
push 0x47e44c
lea eax, [ebp - 0x18]
push eax
call fcn.00448557
lea ecx, [esi - 0x10]
call fcn.0040127b
call fcn.00448afe
ret
Function at 0x418cd6
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x108
lea ebp, [esp - 4]
mov eax, dword [0x489170]
xor eax, ebp
mov dword [ebp + 0x108], eax
push 8
mov eax, 0x46712d
call fcn.00448a26
mov esi, dword [ebp + 0x114]
and dword [ebp - 0x10], 0
push 0x105
lea eax, [ebp]
push 0
push eax
call fcn.00448370
add esp, 0xc
lea eax, [ebp]
push eax
push 0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.FQwR
call fcn.004023b7
lea eax, [ebp - 0x10]
push eax
call fcn.00404227
mov edi, eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
call fcn.00404585
mov edi, dword [edi]
mov eax, dword [eax]
add esp, 0x24
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040127b
mov ecx, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.0040127b
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.004044c1
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 + 0x108]
xor ecx, ebp
call fcn.00448a17
add ebp, 0x10c
leave
ret
Function at 0x419bef
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x100
lea ebp, [esp - 4]
mov eax, dword [0x489170]
xor eax, ebp
mov dword [ebp + 0x100], eax
push 0x44
mov eax, 0x46741f
call fcn.00448a26
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.Mi4nNTYgMyQ9LAgCEw4SDgcVPS8kNUEnEwAMBBYOEwpBMgQVFBE9LyUx
mov byte [ebp - 0xd], 0
call fcn.004023b7
lea eax, [ebp - 0x14]
push eax
call fcn.00404227
add esp, 0x20
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
and dword [ebp - 4], 0
lea eax, [ebp - 0x24]
push eax
mov ebx, 0x20019
push ebx
push 0
push dword [ebp - 0x14]
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
call esi
test eax, eax
jne 0x419d37
push 0xfe
push eax
mov byte [ebp], al
lea eax, [ebp + 1]
push eax
call fcn.00448370
add esp, 0xc
lea eax, [ebp - 0x50]
push eax
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp]
push eax
push dword [ebp - 0x24]
mov dword [ebp - 0x2c], 0xff
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp dword [ebp - 0x1c], 1
jbe 0x419cbd
mov byte [ebp - 0xd], 0
jmp 0x419d2e
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.Mi4nNTYgMyQ9LAgCEw4SDgcVPS8kNUEnEwAMBBYOEwpBMgQVFBE9LyUxPRdQT1BPVVJTUw
call fcn.004023b7
lea eax, [ebp - 0x20]
push eax
call fcn.00404227
add esp, 0x20
lea eax, [ebp - 0x28]
push eax
push ebx
xor ebx, ebx
push ebx
push dword [ebp - 0x20]
push edi
call esi
test eax, eax
jne 0x419d23
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push 0x46f0a8
push dword [ebp - 0x28]
mov dword [ebp - 0x30], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x419d1a
cmp dword [ebp - 0x18], 1
je 0x419d1a
mov byte [ebp - 0xd], 1
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0040127b
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040127b
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.00448a17
add ebp, 0x104
leave
ret
Function at 0x4203d9
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
push 0x44
xor esi, esi
lea eax, [ebp - 0x44]
push esi
push eax
call fcn.00448370
add esp, 0xc
push dword [ebp + 0xc]
lea eax, [ebp - 0x44]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 0x44], 0x44
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
setne al
pop esi
leave
ret 8

Function at 0x4219d1
Capabilities:
Create process on windows

Disassembly:
push 0x20
mov eax, 0x468786
call fcn.00448a26
xor ebx, ebx
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.CRUVEVs
mov dword [ebp - 4], ebx
call fcn.004023b7
lea eax, [ebp - 0x18]
push eax
call fcn.00404227
add esp, 0x20
push dword [eax]
lea ecx, [ebp + 8]
call fcn.0040383f
mov ecx, dword [ebp - 0x18]
cmp eax, 0xffffffff
setg byte [ebp - 0xd]
add ecx, 0xfffffff0
call fcn.0040127b
cmp byte [ebp - 0xd], bl
je 0x421a5b
push 1
push ebx
push ebx
push dword [ebp + 8]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.DhEEDw
call fcn.004023b7
lea eax, [ebp - 0x18]
push eax
call fcn.00404227
add esp, 0x20
push dword [eax]
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
jmp 0x421b9b
call fcn.00404802
call fcn.00426b70
push eax
lea ecx, [ebp - 0x14]
call fcn.00403730
mov byte [ebp - 4], 1
call fcn.00426b70
push eax
lea ecx, [ebp - 0x18]
call fcn.00403730
mov esi, 0x470034
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0040404b
lea eax, [ebp - 0x1c]
push eax
call fcn.00404505
pop ecx
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00408b05
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.0040127b
push esi
lea ecx, [ebp - 0x14]
call fcn.0040404b
lea eax, [ebp + 8]
push eax
mov esi, 0x46e364
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.00420ca5
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.00408b05
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.0040127b
push dword [0x48a7f4]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.RA0U
call fcn.004023b7
lea eax, [ebp - 0x1c]
push eax
call fcn.00404227
add esp, 0x20
push dword [eax]
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 5
call fcn.004087f0
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.0040127b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.00420ca5
add esp, 0xc
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x14]
call fcn.00408b05
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.0040127b
lea ecx, [ebp - 0xd]
call fcn.004203d6
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x2c]
push eax
push esi
lea ecx, [ebp - 0xd]
mov byte [ebp - 4], 7
call fcn.004203d9
lea ecx, [ebp - 0xd]
mov byte [ebp - 4], 2
call fcn.00406130
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040127b
lea ecx, [esi - 0x10]
call fcn.0040127b
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040127b
call fcn.00448afe
ret 4
Function at 0x4291af
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x4692f3
call fcn.00448a26
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x4291d4
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x42921a
lea ecx, [ebp - 0x10]
call fcn.00403935
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00424c3c
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0040127b
mov eax, esi
call fcn.00448afe
ret 8

Function at 0x42b1f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x42b238
call fcn.00426a02
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x42b238
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x42b27b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x42b264
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x42b264
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x42b278
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x42c490
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x42c4b4
cmp dword [edi + 0x54], 0
jne 0x42c4b4
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00426a02
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0042c451
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x432ca1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x432ce8
call fcn.00426a02
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x432ce8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x432d04
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0043281b
mov esi, eax
test edi, edi
je 0x432d02
test ebx, ebx
je 0x432d02
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x434301
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x43432c
call fcn.00426a02
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi + 8], eax
test eax, eax
jne 0x43434f
push eax
push dword [esi + 4]
call fcn.00434287
push esi
push eax
mov ecx, 0x498dac
call fcn.00433efb
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x434bb4
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x469a0d
call fcn.00448a26
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.00434b74
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [esi], vtable.CHttpConnection.0
call fcn.00403935
push dword [esi + 8]
mov edi, dword [edi + 8]
push 0
push 3
push dword [ebp + 0x18]
mov byte [ebp - 4], 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [esi + 4], eax
test eax, eax
jne 0x434c1a
push eax
push dword [esi + 8]
call fcn.00434287
push dword [esi + 0xc]
mov ecx, 0x498dac
push eax
call fcn.00433efb
mov eax, esi
call fcn.00448afe
ret 0x18
Function at 0x448a17
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x489170]
jne 0x448a21
repz ret
jmp fcn.00452e2c

Function at 0x45e156
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.00450e04
and dword [ebp - 4], 0
cmp dword [0x499b7c], 0
mov ebx, eax
jne 0x45e207
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x45e2b8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4765b4
push edi
call esi
test eax, eax
je 0x45e2b8
push eax
call fcn.00450d92
mov dword [esp], 0x4765a4
push edi
mov dword [0x499b7c], eax
call esi
push eax
call fcn.00450d92
mov dword [esp], 0x476590
push edi
mov dword [0x499b80], eax
call esi
push eax
call fcn.00450d92
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x499b84], eax
call esi
push eax
call fcn.00450d92
pop ecx
mov dword [0x499b8c], eax
test eax, eax
je 0x45e207
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00450d92
pop ecx
mov dword [0x499b88], eax
mov eax, dword [0x499b88]
cmp eax, ebx
je 0x45e25f
cmp dword [0x499b8c], ebx
je 0x45e25f
push eax
call fcn.00450e0d
push dword [0x499b8c]
mov esi, eax
call fcn.00450e0d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x45e25f
test edi, edi
je 0x45e25f
call esi
test eax, eax
je 0x45e256
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x45e256
test byte [ebp - 0xc], 1
jne 0x45e25f
or dword [ebp + 0x10], 0x200000
jmp 0x45e298
mov eax, dword [0x499b80]
cmp eax, ebx
je 0x45e298
push eax
call fcn.00450e0d
pop ecx
test eax, eax
je 0x45e298
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x45e298
mov eax, dword [0x499b84]
cmp eax, ebx
je 0x45e298
push eax
call fcn.00450e0d
pop ecx
test eax, eax
je 0x45e298
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x499b7c]
call fcn.00450e0d
pop ecx
test eax, eax
je 0x45e2b8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x45e2ba
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x503b67
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x5032dd
mov dword [0x50521c], 2
jmp 0x503b97
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x504088
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push 0x5040d1
push 0x504088
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp 0x503c6a
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.USER32.dll_GetMessageA]
or eax, eax
je 0x503c97
push 0x505248
call dword [sym.imp.USER32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x503c6a
mov eax, dword [0x505250]
jmp 0x503ca4
call 0x502b16
ret

Function at 0x431006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..3ean
nop
mov ebx, 0x40915c
nop
mov ecx, 0x21e92e47
nop
nop
nop
test eax, eax
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x431024
nop
nop
mov eax, section..7LWLf
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0x57a449f6
nop
nop
test eax, eax
nop
nop
je 0x431084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
popal
jmp 0x401219