joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414cb0
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x465cd7
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x484ea8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.CWordOffice.0
mov dword [esp + 0x14], 0x15
call fcn.00414a60
lea ecx, [esi + 0xb0]
mov byte [esp + 0x14], 0x14
call fcn.0042d753
lea ecx, [esi + 0xa8]
mov byte [esp + 0x14], 0x13
call fcn.0042d753
lea ecx, [esi + 0xa0]
mov byte [esp + 0x14], 0x12
call fcn.0042d753
lea ecx, [esi + 0x98]
mov byte [esp + 0x14], 0x11
call fcn.0042d753
lea ecx, [esi + 0x90]
mov byte [esp + 0x14], 0x10
call fcn.0042d753
lea ecx, [esi + 0x88]
mov byte [esp + 0x14], 0xf
call fcn.0042d753
lea ecx, [esi + 0x80]
mov byte [esp + 0x14], 0xe
call fcn.0042d753
lea ecx, [esi + 0x78]
mov byte [esp + 0x14], 0xd
call fcn.0042d753
lea ecx, [esi + 0x70]
mov byte [esp + 0x14], 0xc
call fcn.0042d753
lea ecx, [esi + 0x68]
mov byte [esp + 0x14], 0xb
call fcn.0042d753
lea ecx, [esi + 0x60]
mov byte [esp + 0x14], 0xa
call fcn.0042d753
lea ecx, [esi + 0x58]
mov byte [esp + 0x14], 9
call fcn.0042d753
lea ecx, [esi + 0x50]
mov byte [esp + 0x14], 8
call fcn.0042d753
lea ecx, [esi + 0x48]
mov byte [esp + 0x14], 7
call fcn.0042d753
lea ecx, [esi + 0x40]
mov byte [esp + 0x14], 6
call fcn.0042d753
lea ecx, [esi + 0x38]
mov byte [esp + 0x14], 5
call fcn.0042d753
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 4
call fcn.0042d753
lea ecx, [esi + 0x28]
mov byte [esp + 0x14], 3
call fcn.0042d753
mov byte [esp + 0x14], 2
lea ecx, [esi + 0x20]
call fcn.0042d753
lea ecx, [esi + 0x18]
mov byte [esp + 0x14], 1
call fcn.0042d753
lea ecx, [esi + 0x10]
mov byte [esp + 0x14], 0
call fcn.0042d753
lea ecx, [esi + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.0042d753
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x4153b0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4668a6
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x484ea8]
xor eax, esp
mov dword [esp + 0x10c], eax
push esi
push edi
mov eax, dword [0x484ea8]
xor eax, esp
push eax
lea eax, [esp + 0x11c]
mov dword fs:[0], eax
call fcn.0042925e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x415403
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 0x124], 0
call fcn.0042eb1a
mov eax, dword [eax + 8]
push 0x104
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x14]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x415440
sub eax, edx
push eax
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x14]
call fcn.00401b40
mov esi, dword [esp + 0xc]
push 0x5c
push esi
call fcn.00448d75
add esp, 8
or edi, 0xffffffff
test eax, eax
je 0x415476
sub eax, esi
cmp eax, edi
jne 0x41549f
lea eax, [esi - 0x10]
mov dword [esp + 0x124], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x415552
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x415552
push eax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
call fcn.00401a70
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x128], 1
call fcn.00401cd0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x124], 0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4154e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0xc
push str.debugvm.txt
lea ecx, [esp + 0x14]
call fcn.00401bd0
mov esi, dword [esp + 0xc]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x415476
call fcn.0041e0e0
test al, al
je 0x415537
lea eax, [esi - 0x10]
mov dword [esp + 0x124], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x415533
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
jmp 0x415554
call fcn.0041e190
test al, al
lea ecx, [esp + 0xc]
je 0x41554d
call fcn.0040a680
mov al, 1
jmp 0x415554
call fcn.0040a680
xor al, al
mov ecx, dword [esp + 0x11c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.00448c24
add esp, 0x11c
ret
Function at 0x415fa0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x465e20
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x484ea8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
xor ebx, ebx
push 0x40
mov byte [esi + 0xa9], bl
mov byte [esi + 0xa8], 1
mov byte [esi + 0x1ea], bl
mov dword [ebp - 4], ebx
call fcn.004202aa
add esp, 4
mov dword [esi + 0x94], eax
jmp 0x416044
mov ecx, dword [esi + 0x94]
mov dword [esi + 0x90], ecx
mov dword [esi + 0x1b0], ebx
mov dword [esi + 0x1b4], ebx
mov dword [esi + 0x98], 0x67452301
mov dword [esi + 0x9c], 0xefcdab89
mov dword [esi + 0xa0], 0x98badcfe
mov dword [esi + 0xa4], 0x10325476
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41e250
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4668a6
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x484ea8]
xor eax, esp
mov dword [esp + 0x10c], eax
push esi
push edi
mov eax, dword [0x484ea8]
xor eax, esp
push eax
lea eax, [esp + 0x11c]
mov dword fs:[0], eax
call fcn.0042925e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41e2a3
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 0x124], 0
call fcn.0042eb1a
mov eax, dword [eax + 8]
push 0x104
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x14]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41e2e0
sub eax, edx
push eax
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x14]
call fcn.00401b40
mov esi, dword [esp + 0xc]
push 0x5c
push esi
call fcn.00448d75
add esp, 8
or edi, 0xffffffff
test eax, eax
je 0x41e316
sub eax, esi
cmp eax, edi
jne 0x41e33f
lea eax, [esi - 0x10]
mov dword [esp + 0x124], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x41e3f8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41e3f8
push eax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
call fcn.00401a70
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x128], 1
call fcn.00401cd0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x124], 0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41e387
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0xc
push str._vmdebug.txt
lea ecx, [esp + 0x14]
call fcn.00401bd0
mov esi, dword [esp + 0xc]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x41e316
call fcn.0041e0e0
test al, al
je 0x41e3da
lea eax, [esi - 0x10]
mov dword [esp + 0x124], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x41e3d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x41e3fa
call fcn.0041e190
test al, al
lea ecx, [esp + 0xc]
je 0x41e3f3
call fcn.0040a680
mov eax, 1
jmp 0x41e3fa
call fcn.0040a680
xor eax, eax
mov ecx, dword [esp + 0x11c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.00448c24
add esp, 0x11c
ret
Function at 0x41ea40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 4]
lea ecx, [esp + 4]
push ecx
push 1
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov dword [esi], eax
je 0x41ea8c
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ea83
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
pop esi
add esp, 8
ret 4
mov edx, dword [esp + 4]
push edi
mov edi, dword [esp + 0x14]
push 0
push 0
lea ecx, [esp + 0x14]
push ecx
push 0
push edi
push edx
mov dword [esp + 0x24], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [esi], eax
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [edi - 0x10]
or edx, 0xffffffff
cmp dword [esi], 0
lea ecx, [eax + 0xc]
jne 0x41eaec
mov esi, dword [esp + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41eae2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
mov eax, esi
pop esi
add esp, 8
ret 4
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41eaff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
xor eax, eax
pop esi
add esp, 8
ret 4

Function at 0x41eb10
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
lea edx, [esp]
push edx
mov eax, 4
push 0x20019
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 0xc]
push 0
push eax
mov eax, dword [ecx + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x41eb67
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41eb5d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add esp, 0x10
ret 8
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x41eb96
mov edx, dword [esp + 0x20]
mov dword [esp + 0xc], edx
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [esp + 0xc]
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ebc1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
pop edi
pop esi
add esp, 0x10
ret 8
Function at 0x41ece0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x466990
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x484ea8]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x484ea8]
xor eax, esp
push eax
lea eax, [esp + 0x128]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x138]
mov edi, ecx
mov dword [esp + 0x18], 0
mov esi, dword [esp + 0x13c]
push ecx
mov eax, 1
mov dword [esp + 0x18], esp
add esi, 0xfffffff0
mov ebp, esp
push esi
mov dword [esp + 0x138], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0xff
mov dword [esp + 0x20], eax
call fcn.00401980
add eax, 0x10
add esp, 4
mov ecx, edi
mov dword [ebp], eax
call fcn.0041ea40
cmp eax, 1
mov dword [esp + 0x1c], eax
je 0x41ede3
cmp eax, 2
je 0x41ede3
mov edi, dword [esp + 0x140]
add edi, 0xfffffff0
push edi
call fcn.00401980
add eax, 0x10
mov dword [ebx], eax
add esp, 4
mov byte [esp + 0x130], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41edb6
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov dword [esp + 0x130], 0xffffffff
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41eea7
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
jmp 0x41eea7
mov eax, dword [edi + 0xc]
mov edx, dword [edi + 4]
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov dword [edi], eax
jne 0x41ed7d
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x140]
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x24]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
mov dword [edi], eax
je 0x41ee35
xor edi, edi
jmp 0x41ee39
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x41ed7d
lea eax, [esp + 0x24]
push eax
mov ecx, ebx
call fcn.0040cf60
mov byte [esp + 0x130], 0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ee79
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, dword [esp + 0x140]
add eax, 0xfffffff0
mov dword [esp + 0x130], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41eea7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.00448c24
add esp, 0x120
ret 0xc
Function at 0x420c5c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0042eb1a
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x420c93
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.0042086e
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x424ffd
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x425036
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00401af0
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004017e0
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x43038b
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0xe0]
sub esp, 0x160
mov eax, dword [0x484ea8]
xor eax, ebp
mov dword [ebp + 0xdc], eax
cmp dword [ebp + 0xec], 0x800
mov eax, dword [ebp + 0xe8]
push esi
mov dword [ebp - 0x3c], eax
mov esi, ecx
lea eax, [ebp - 0x40]
jne 0x430423
push 0x470c2c
push 4
push eax
call fcn.0044ec0c
push eax
call fcn.00401000
add esp, 0x10
push ebx
push edi
call fcn.0044d42e
mov edi, dword [eax]
call fcn.0044d42e
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.0044a4d5
add esp, 0x18
mov dword [ebp - 0x3c], eax
call fcn.0044d42e
cmp dword [eax], ebx
je 0x43043a
call fcn.0044d42e
push dword [eax]
call fcn.004210ce
pop ecx
jmp 0x430441
push 4
push eax
push 3
push dword [ebp + 0xec]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x4303d7
jmp 0x4304b3
call fcn.0044d42e
mov dword [eax], edi
cmp dword [ebp - 0x3c], 0xffffffff
je 0x4304af
cmp dword [ebp - 0x3c], esi
jae 0x4304af
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x7c]
push ebx
push eax
mov dword [ebp - 0x80], 0x40
call fcn.004498a0
add esp, 0xc
push str.KERNEL32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, ebx
je 0x4304a1
push str.FindActCtxSectionStringA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4304a1
lea ecx, [ebp - 0x80]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x4304a1
push ebx
push ebx
push esi
jmp 0x4304a7
push ebx
push ebx
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
jmp 0x4304b1
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp + 0xdc]
xor ecx, ebp
pop esi
call fcn.00448c24
add ebp, 0xe0
leave
ret
Function at 0x4327bb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x432801
call fcn.0042eb1a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x432801
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x432844
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x43282d
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 0x43282d
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x432841
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 0x436d5f
Capabilities:
Create http request

Disassembly:
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]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x436d88
call fcn.0042eb1a
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]
test eax, eax
mov dword [esi + 8], eax
jne 0x436dab
push eax
push dword [esi + 4]
call fcn.00436cea
push esi
push eax
mov ecx, 0x488790
call fcn.004369a0
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x437548
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x4679f5
call fcn.0044d0a4
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.0043750a
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [esi], vtable.CHttpConnection.0
call fcn.004019f0
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]
test eax, eax
mov dword [esi + 4], eax
jne 0x4375ae
push eax
push dword [esi + 8]
call fcn.00436cea
push dword [esi + 0xc]
mov ecx, 0x488790
push eax
call fcn.004369a0
mov eax, esi
call fcn.0044d17c
ret 0x18
Function at 0x438579
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4385a7
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4385c5
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004384e3
jmp 0x4385c5
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4385c5
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.004384e3
test edi, edi
mov eax, edi
jne 0x4385af
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x488828]
test ecx, ecx
je 0x438688
jmp 0x438578
ret 8

Function at 0x446a26
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x446a2f
xor eax, eax
jmp 0x446a98
cmp dword [esp + 8], 0
jne 0x446a3b
call fcn.00420e4b
push edi
push dword [esi + 0x10]
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.00450b8c
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x446a76
push dword [esi + 0x10]
call fcn.00450892
test eax, eax
pop ecx
jne 0x446a76
mov esi, dword [esi + 0xc]
call fcn.0044d441
push esi
push dword [eax]
push 1
call fcn.0042eee7
push dword [esi + 0x10]
call fcn.004508c1
test eax, eax
pop ecx
je 0x446a95
push dword [esi + 0x10]
call fcn.004507e6
push eax
call fcn.00401000
pop ecx
pop ecx
jmp 0x446a64
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x446aa1
Capabilities:
Write file on windows

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
jne 0x446aab
call fcn.00420e4b
push dword [esi + 0x10]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call fcn.0044c723
add esp, 0x10
cmp eax, dword [esp + 0xc]
je 0x446ad8
mov esi, dword [esi + 0xc]
call fcn.0044d441
push esi
push dword [eax]
push 1
call fcn.0042eee7
pop esi
ret 8

Function at 0x448c24
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x484ea8]
jne 0x448c2e
repz ret
jmp fcn.0045340c
Function at 0x4508f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x45092d
cmp dword [ebp + 0x14], edi
je 0x45092d
cmp ecx, edi
jne 0x450934
call fcn.0044d42e
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0044a6fe
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x450948
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x450969
cmp ebx, 0xffffffff
je 0x450958
push ebx
push edi
push ecx
call fcn.004498a0
add esp, 0xc
cmp esi, edi
je 0x450915
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x450915
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x450985
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x45098c
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x450a7d
test word [esi + 0xc], 0x10c
je 0x4509e0
mov eax, dword [esi + 4]
test eax, eax
je 0x4509e0
jl 0x450ade
cmp ebx, eax
mov edi, ebx
jb 0x4509b1
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x450a85
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00448d88
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x450a75
cmp ebx, dword [ebp - 0xc]
jb 0x450a4d
cmp dword [ebp - 0xc], 0
je 0x450a0a
mov ecx, SysReAllocString
xor edx, edx
cmp ebx, ecx
jbe 0x4509ff
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x450a06
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x450a15
mov eax, SysReAllocString
cmp ebx, eax
ja 0x450a15
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x450ab1
push eax
push dword [ebp - 8]
push esi
call fcn.00450633
pop ecx
push eax
call fcn.0044adb1
add esp, 0xc
test eax, eax
je 0x450af0
cmp eax, 0xffffffff
je 0x450ade
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x450a75
push esi
call fcn.00459e05
cmp eax, 0xffffffff
pop ecx
je 0x450ae2
cmp dword [ebp - 4], 0
je 0x450ab1
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x450994
mov eax, dword [ebp + 0x14]
jmp 0x45092f
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x450a9c
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.004498a0
add esp, 0xc
call fcn.0044d42e
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x450925
cmp dword [ebp + 0xc], 0xffffffff
je 0x450ac7
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.004498a0
add esp, 0xc
call fcn.0044d42e
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x450925
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x45092f
or dword [esi + 0xc], 0x10
jmp 0x450ae2