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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x737185
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x899944]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x10], 0
push 0x7652d3
lea ecx, [ebp - 0x14]
call fcn.00577f20
mov byte [ebp - 4], 1
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp + 0xc]
call fcn.005785c0
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x10]
push eax
push 0x20219
push 0
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x5bc77c
lea eax, [ebp - 0x18]
push eax
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5bc77c
cmp dword [ebp - 0x1c], 1
jne 0x5bc77c
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
push edx
lea ecx, [ebp - 0x14]
call fcn.00577170
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
lea edx, [ebp - 0x1c]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x20], 0
jne 0x5bc74c
mov dword [ebp - 0x24], 0
jmp 0x5bc75b
mov eax, dword [ebp - 0x20]
push eax
call fcn.00710f40
add esp, 4
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov ecx, dword [ebp + 0x14]
call fcn.005772d0
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.005c2f70
mov dword [ebp - 0x28], 1
cmp dword [ebp - 0x10], 0
je 0x5bc78c
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x44], ecx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
sub edx, 0x10
mov dword [ebp - 0x3c], edx
mov ecx, dword [ebp - 0x3c]
call fcn.00577240
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
sub eax, 0x10
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
call fcn.00577240
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x5bca30
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x899944]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x11c], ecx
or eax, 0xffffffff
mov word [ebp - 0x108], ax
push 0xff
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x5bcb31
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
je 0x5bcb31
mov dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x110]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x10c]
cmp dword [ecx + edx*4], 0
je 0x5bcb31
mov eax, dword [ebp - 0x110]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x10c]
mov eax, dword [ecx + edx*4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jne 0x5bcae6
mov dword [ebp - 0x118], 0
jmp 0x5bcafb
mov edx, dword [ebp - 0x114]
push edx
call fcn.00710f40
add esp, 4
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x118]
push eax
mov ecx, dword [ebp - 0x114]
push ecx
mov ecx, dword [ebp + 8]
call fcn.005772d0
mov edx, dword [ebp - 0x10c]
add edx, 1
mov dword [ebp - 0x10c], edx
mov eax, 1
mov word [ebp - 0x108], ax
jmp 0x5bca97
mov ax, word [ebp - 0x108]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0070bb4c
mov esp, ebp
pop ebp
ret 4
Function at 0x5bcb50
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7371fd
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x899944]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x78], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x68], 0xffffffff
xor eax, eax
mov word [ebp - 0x58], ax
push 0x288
call fcn.00715756
add esp, 4
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x64], 0x288
lea ecx, [ebp - 0x64]
push ecx
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x5bcbdb
mov eax, dword [ebp - 0x54]
push eax
call fcn.00711e5f
add esp, 4
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00715756
add esp, 4
mov dword [ebp - 0x54], eax
push 0x40
push 0
lea edx, [ebp - 0x50]
push edx
call fcn.0070dc20
add esp, 0xc
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jne 0x5bcd0e
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x5c], edx
cmp dword [ebp - 0x5c], 0
je 0x5bcd0e
lea ecx, [ebp + 8]
call fcn.005785c0
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x5c]
add ecx, 0x1b0
push ecx
call fcn.007152d0
add esp, 8
test eax, eax
jne 0x5bcd01
mov edx, 1
imul eax, edx, 5
mov ecx, dword [ebp - 0x54]
movzx edx, byte [ecx + eax + 0x194]
push edx
mov eax, 1
shl eax, 2
mov ecx, dword [ebp - 0x54]
movzx edx, byte [ecx + eax + 0x194]
push edx
mov eax, 1
imul ecx, eax, 3
mov edx, dword [ebp - 0x54]
movzx eax, byte [edx + ecx + 0x194]
push eax
mov ecx, 1
shl ecx, 1
mov edx, dword [ebp - 0x54]
movzx eax, byte [edx + ecx + 0x194]
push eax
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp - 0x54]
movzx eax, byte [edx + ecx + 0x194]
push eax
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp - 0x54]
movzx ecx, byte [eax + edx + 0x194]
push ecx
push str._02X__02X__02X__02X__02X__02X
lea edx, [ebp - 0x50]
push edx
call fcn.005c43d0
add esp, 0x20
lea eax, [ebp - 0x50]
test eax, eax
jne 0x5bccd7
mov dword [ebp - 0x6c], 0
jmp 0x5bcce6
lea ecx, [ebp - 0x50]
push ecx
call fcn.00710f40
add esp, 4
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
push edx
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.005772d0
mov ecx, 1
mov word [ebp - 0x58], cx
jmp 0x5bcd0e
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx]
mov dword [ebp - 0x5c], eax
jmp 0x5bcc0c
mov cx, word [ebp - 0x58]
mov word [ebp - 0x5e], cx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
sub edx, 0x10
mov dword [ebp - 0x74], edx
mov ecx, dword [ebp - 0x74]
call fcn.00577240
mov ax, word [ebp - 0x5e]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0070bb4c
mov esp, ebp
pop ebp
ret 8
Function at 0x5c3c10
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x737afd
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x899944]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x765dd2
lea ecx, [ebp - 0x10]
call fcn.00577f20
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
jne 0x5c3c69
mov dword [ebp - 0x1c], 0
jmp 0x5c3c78
mov eax, dword [ebp + 8]
push eax
call fcn.00710f40
add esp, 4
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x10]
call fcn.005772d0
push 0
push 0x766ca4
lea ecx, [ebp - 0x10]
call fcn.00590810
cmp eax, 0xffffffff
jg 0x5c3cb0
push 0
push 0x766cb8
lea ecx, [ebp - 0x10]
call fcn.00590810
cmp eax, 0xffffffff
jle 0x5c3cdd
mov dword [ebp - 0x14], reloc.OLEAUT32.dll_SysReAllocString
push 0x765dd3
push 0x766cc0
lea ecx, [ebp - 0x10]
call fcn.00598370
push 0x765ddd
push 0x766cd4
lea ecx, [ebp - 0x10]
call fcn.00598370
jmp 0x5c3d39
push 0
push 0x766cdc
lea ecx, [ebp - 0x10]
call fcn.00590810
cmp eax, 0xffffffff
jg 0x5c3d05
push 0
push 0x766cf0
lea ecx, [ebp - 0x10]
call fcn.00590810
cmp eax, 0xffffffff
jle 0x5c3d32
mov dword [ebp - 0x14], reloc.WS2_32.dll_accept
push 0x765dde
push 0x766cf8
lea ecx, [ebp - 0x10]
call fcn.00598370
push 0x765ddf
push 0x766d0c
lea ecx, [ebp - 0x10]
call fcn.00598370
jmp 0x5c3d39
mov dword [ebp - 0x14], reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x10]
call fcn.005785c0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0x2021f
push 0
push 0
push 0
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x5c3dc3
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
mov edx, dword [ebp + 0x10]
push edx
push 1
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x5c3d9c
mov dword [ebp - 0x18], 1
jmp 0x5c3dc1
push 0x765ded
lea ecx, [ebp - 0x24]
call fcn.00577f20
mov dword [ebp - 0x18], 0
mov edx, dword [ebp - 0x24]
sub edx, 0x10
mov dword [ebp - 0x28], edx
mov ecx, dword [ebp - 0x28]
call fcn.00577240
jmp 0x5c3de8
push 0x765dee
lea ecx, [ebp - 0x2c]
call fcn.00577f20
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x2c]
sub eax, 0x10
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
call fcn.00577240
cmp dword [ebp - 0x14], 0
je 0x5c3df8
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x38], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
sub eax, 0x10
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
call fcn.00577240
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x5c3e30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x737afd
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x899944]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x765def
lea ecx, [ebp - 0x10]
call fcn.00577f20
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
jne 0x5c3e89
mov dword [ebp - 0x1c], 0
jmp 0x5c3e98
mov eax, dword [ebp + 8]
push eax
call fcn.00710f40
add esp, 4
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x10]
call fcn.005772d0
push 0
push 0x766d14
lea ecx, [ebp - 0x10]
call fcn.00590810
cmp eax, 0xffffffff
jg 0x5c3ed0
push 0
push 0x766d28
lea ecx, [ebp - 0x10]
call fcn.00590810
cmp eax, 0xffffffff
jle 0x5c3efd
mov dword [ebp - 0x14], reloc.OLEAUT32.dll_SysReAllocString
push 0x765df9
push str.HKEY_LOCAL_MACHINE_
lea ecx, [ebp - 0x10]
call fcn.00598370
push 0x765dfa
push str.HKLM_
lea ecx, [ebp - 0x10]
call fcn.00598370
jmp 0x5c3f59
push 0
push 0x766d4c
lea ecx, [ebp - 0x10]
call fcn.00590810
cmp eax, 0xffffffff
jg 0x5c3f25
push 0
push 0x766d60
lea ecx, [ebp - 0x10]
call fcn.00590810
cmp eax, 0xffffffff
jle 0x5c3f52
mov dword [ebp - 0x14], reloc.WS2_32.dll_accept
push 0x765dfb
push str.HKEY_CURRENT_USER_
lea ecx, [ebp - 0x10]
call fcn.00598370
push 0x765e05
push str.HKCU_
lea ecx, [ebp - 0x10]
call fcn.00598370
jmp 0x5c3f59
mov dword [ebp - 0x14], reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x10]
call fcn.005785c0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0x2021f
push 0
push 0
push 0
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [reloc.OLEAUT32.dll_SysReAllocString]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x5c3fdb
push 4
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
push 4
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x5c3fb4
mov dword [ebp - 0x18], 1
jmp 0x5c3fd9
push 0x765e06
lea ecx, [ebp - 0x24]
call fcn.00577f20
mov dword [ebp - 0x18], 0
mov edx, dword [ebp - 0x24]
sub edx, 0x10
mov dword [ebp - 0x28], edx
mov ecx, dword [ebp - 0x28]
call fcn.00577240
jmp 0x5c4000
push 0x765e07
lea ecx, [ebp - 0x2c]
call fcn.00577f20
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x2c]
sub eax, 0x10
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
call fcn.00577240
cmp dword [ebp - 0x14], 0
je 0x5c4010
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x38], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
sub eax, 0x10
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
call fcn.00577240
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x5c4560
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x5c4624
mov edx, dword [ebp - 8]
push edx
call fcn.00715756
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x38], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x38], 0
je 0x5c4624
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x38]
push ecx
mov edx, dword [ebp - 8]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x5c4624
mov dword [ebp - 0x18], 0
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0xc]
push edx
push 0x767348
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x38]
push ecx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x5c4624
push 0x34
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
add eax, 4
push eax
call fcn.0070d6a0
add esp, 0xc
mov ecx, dword [ebp - 4]
cmp dword [ecx + 4], 0xfeef04bd
jne 0x5c4614
mov dword [ebp - 0x10], 1
jmp 0x5c461b
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x48], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x48]
mov esp, ebp
pop ebp
ret 4

Function at 0x5c7f48
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.005d043e
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x5c7f84
call fcn.005c8165
mov dword [esi + 0xc], 1
jmp 0x5c7f89
call fcn.005c8165
cmp dword [esi], 0
je 0x5c7fd4
push edi
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, dword [ebp + 0x10]
mov edi, eax
mov ecx, esi
test edi, edi
jle 0x5c7faf
push edi
call fcn.005c5bae
lea ecx, [edi + 1]
push ecx
jmp 0x5c7fbe
push 0xff
call fcn.00577170
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.005c2f70
pop edi
jmp 0x5c7ff8
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x5c7ff8
push dword [esi]
push dword [ebp - 4]
call fcn.005e009e
pop esi
leave
ret 0xc
Function at 0x5c80bc
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.005c8165
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x5c8104
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.005c5bae
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.005c2f70
jmp 0x5c810f
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.005e009e
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x5cae69
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
cmp dword [ebp + 8], esi
je 0x5caea8
call fcn.005da715
push 0xf0
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x5caea8
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x5caeb0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push esi
mov ecx, ebx
call fcn.005c83b4
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x5cb8d2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x5cb95e
cmp dword [esi + 0x20], 0
je 0x5cb95e
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x5cb95e
cmp dword [ebp + 8], 0
je 0x5cb95e
xor edi, edi
mov ebx, edi
call fcn.005da715
push str.AFX_DIALOG_LAYOUT
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 8], eax
test eax, eax
je 0x5cb942
mov ebx, dword [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 8]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x5cb95e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push edi
push ebx
push esi
call fcn.005e2cd0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x5cb95a
mov ecx, esi
call fcn.005cb670
mov eax, edi
jmp 0x5cb960
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x5d085d
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x73630d
call fcn.0070c4d4
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x5d0883
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x5d08dd
lea ecx, [ebp - 0x10]
call fcn.005c6152
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call dword [0x75cb80]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.0071cb7a
push eax
call fcn.005c47b9
add esp, 0x14
test esi, esi
je 0x5d08d0
push esi
call fcn.00710f40
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00577240
mov eax, ebx
call fcn.0070c4a2
ret 8

Function at 0x5d1d7f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x84], ebx
test ebx, 0xffff0000
jne 0x5d1daa
cmp dword [edi + 0x80], 0
jne 0x5d1daa
movzx eax, bx
mov dword [edi + 0x80], eax
call fcn.005da715
push 5
push ebx
mov esi, dword [eax + 0xc]
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 ecx, edi
push eax
call fcn.005d201a
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x5d1dd7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, ecx
xor esi, esi
call fcn.005da715
push 5
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x5d1e0a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push edi
push dword [ebp + 0xc]
mov ecx, ebx
push esi
call fcn.005d1e1f
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x5d7dab
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x74d9e6
call fcn.0070c4d4
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x18]
mov edi, dword [ebp + 0xc]
push dword [ebp + 0x1c]
push edi
push dword [ebp + 8]
call fcn.005d7e9f
xor ebx, ebx
mov dword [esi], vtable.CFtpConnection.0
lea ecx, [esi + 0x18]
mov dword [ebp - 4], ebx
call fcn.005c6152
mov byte [ebp - 4], 1
test edi, edi
je 0x5d7df2
push edi
call fcn.00710f40
pop ecx
mov ebx, eax
push ebx
push edi
lea ecx, [esi + 0x18]
call fcn.005772d0
push dword [esi + 8]
mov eax, dword [ebp + 0x20]
neg eax
sbb eax, eax
and eax, 0x8000000
push eax
mov eax, dword [ebp + 8]
push 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0x1c]
push edi
push dword [eax + 8]
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [esi + 4], eax
test eax, eax
je 0x5d7e43
push dword [esi + 0xc]
mov ecx, 0x8a4564
push eax
call fcn.005d8f93
mov eax, esi
call fcn.0070c4a2
ret 0x1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [esi + 8]
call fcn.005d843c
int3
Function at 0x5d7fba
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]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x5d7fe3
call fcn.005da715
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
je 0x5d8010
push esi
push eax
mov ecx, 0x8a4564
call fcn.005d8f93
mov eax, esi
pop esi
pop ebp
ret 0x18
push 0
push dword [esi + 4]
call fcn.005d843c
int3

Function at 0x5dbccc
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x5dbd1f
push esi
push dword [ebp + 8]
call fcn.005dbeb2
mov edi, eax
test edi, edi
je 0x5dbd1a
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x5dbd1a
mov eax, dword [ebp - 8]
jmp 0x5dbd31
mov eax, dword [ebp + 0x10]
jmp 0x5dbd31
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
pop edi
pop esi
leave
ret 0xc

Function at 0x5dd32b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
mov eax, ecx
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], edi
je 0x5dd370
call fcn.005da715
push 0xf0
push dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x5dd36d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x5dd3b7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov eax, dword [ebp - 4]
push ebx
xor ebx, ebx
inc ebx
test edi, edi
je 0x5dd393
mov ecx, dword [eax]
push dword [ebp + 0x10]
push edi
mov esi, dword [ecx + 0x20]
mov ecx, esi
push dword [ebp + 8]
call dword [0x75cb80]
mov ecx, dword [ebp - 4]
call esi
mov ebx, eax
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x70]
test edi, edi
je 0x5dd3b4
mov edx, dword [edi]
push dword [ebp + 0x10]
mov esi, dword [edx + 0xa0]
mov ecx, esi
call dword [0x75cb80]
mov ecx, edi
call esi
mov eax, ebx
pop ebx
pop edi
pop esi
leave
ret 0xc