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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44555e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x22c
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x14], 0x200
lea ecx, [ebp - 0x218]
call fcn.00404460
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00404460
mov byte [ebp - 4], 1
push 0x461804
push str.SOFTWAREDELL_sInstallItems10_USER_GUID_
lea eax, [ebp - 0x10]
push eax
call fcn.00435e90
add esp, 0xc
lea ecx, [ebp - 0x21c]
push ecx
push 0x20019
push 0
lea ecx, [ebp - 0x10]
call fcn.004044d0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40eb31
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push str.Param
mov ecx, dword [ebp - 0x21c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40eb24
mov edx, dword [ebp - 0x21c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x224]
call fcn.0043708e
mov byte [ebp - 4], 2
push 0x456ec4
lea ecx, [ebp - 0x224]
call fcn.00435b0a
mov dword [ebp - 0x228], eax
mov ecx, dword [ebp - 0x228]
add ecx, 3
mov dword [ebp - 0x228], ecx
mov edx, dword [ebp - 0x228]
push edx
push 0x22
lea ecx, [ebp - 0x224]
call fcn.004373ce
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x228]
add eax, 1
push eax
push 0x22
lea ecx, [ebp - 0x224]
call fcn.004373ce
mov dword [ebp - 0x22c], eax
mov ecx, dword [ebp - 0x22c]
sub ecx, dword [ebp - 0x228]
sub ecx, 1
push ecx
mov edx, dword [ebp - 0x228]
add edx, 1
push edx
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x224]
call fcn.004359fc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x220]
call fcn.00435f42
lea ecx, [ebp - 0x220]
call fcn.00435ef6
lea ecx, [ebp - 0x220]
call fcn.004044d0
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004207d0
add esp, 8
mov dword [ebp - 0x230], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x220]
call fcn.00437020
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x224]
call fcn.00437020
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00437020
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x218]
call fcn.00437020
mov eax, dword [ebp - 0x230]
jmp 0x40eb5f
mov edx, dword [ebp - 0x21c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x234], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00437020
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x218]
call fcn.00437020
mov eax, dword [ebp - 0x234]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x40eb6f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445589
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68c
push esi
push edi
mov dword [ebp - 0x694], ecx
lea ecx, [ebp - 0x480]
call fcn.00404460
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x688]
call fcn.00404460
mov byte [ebp - 4], 1
mov dword [ebp - 0x484], 0
mov ecx, 0xc
mov esi, str.c:Program_FilesInternet_ExplorerIExplore.exe
lea edi, [ebp - 0x47c]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x34
xor eax, eax
lea edi, [ebp - 0x44c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x60], 0
mov ecx, 0x10
xor eax, eax
lea edi, [ebp - 0x5c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x60], 0x44
lea ecx, [ebp - 0x64]
call fcn.00404460
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x694]
add ecx, 0xa50
call fcn.0040873b
push eax
lea ecx, [ebp - 0x264]
push ecx
call fcn.004207d0
add esp, 8
lea edx, [ebp - 0x264]
push edx
mov ecx, dword [ebp - 0x694]
call fcn.0040ef05
lea eax, [ebp - 0x37c]
push eax
lea ecx, [ebp - 0x264]
push ecx
call fcn.0042067e
add esp, 8
mov dword [ebp - 0x68c], eax
cmp dword [ebp - 0x68c], 0xffffffff
jne 0x40ecbd
push 0x456ef8
push str.Users_Guide_not_found
push str.Error
mov ecx, dword [ebp - 0x694]
call fcn.0040da19
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.00437020
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x688]
call fcn.00437020
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x480]
call fcn.00437020
jmp 0x40ed87
mov edx, dword [ebp - 0x68c]
push edx
call fcn.0042074b
add esp, 4
lea eax, [ebp - 0x47c]
push eax
mov ecx, dword [ebp - 0x694]
call fcn.0040d28a
mov ecx, dword [ebp - 0x694]
add ecx, 0xa50
call fcn.0040873b
push ecx
mov ecx, esp
mov dword [ebp - 0x690], esp
push eax
call fcn.0043708e
mov dword [ebp - 0x698], eax
mov ecx, dword [ebp - 0x694]
call fcn.0040edc3
mov ecx, dword [0x45ee88]
push ecx
lea edx, [ebp - 0x47c]
push edx
push str._s___s_
lea eax, [ebp - 0x684]
push eax
call fcn.00420bf4
add esp, 0x10
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x60]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x684]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 0x484], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.00437020
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x688]
call fcn.00437020
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x480]
call fcn.00437020
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40f652
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445669
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], 4
lea eax, [ebp - 0x14]
push eax
push 0x20006
push 0
lea ecx, [ebp + 8]
call fcn.004044d0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40f6fd
push 4
lea ecx, [ebp + 0x10]
push ecx
push 4
push 0
lea ecx, [ebp + 0xc]
call fcn.004044d0
push eax
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x40f6f3
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], 1
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00437020
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00437020
mov eax, dword [ebp - 0x18]
jmp 0x40f722
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00437020
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00437020
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40f732
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445685
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], 4
mov dword [ebp - 0x1c], 4
lea ecx, [ebp + 8]
call fcn.004044d0
push eax
push str._INTO_LoadRegistry__RegKey_is__s
call fcn.00401000
add esp, 8
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
lea ecx, [ebp + 8]
call fcn.004044d0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40f84d
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x18]
push eax
push 0
lea ecx, [ebp + 0xc]
call fcn.004044d0
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40f800
mov edx, dword [ebp + 0x10]
cmp dword [edx], 0
je 0x40f7e2
mov dword [ebp - 0x30], 0x4570d0
jmp 0x40f7e9
mov dword [ebp - 0x30], str.FALSE
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push str._Load_Registry_Value___s_is__s
call fcn.00401000
add esp, 0xc
jmp 0x40f841
mov edx, dword [ebp + 0xc]
push edx
push str._ERROR___s_in_Registry_is_NOT_LOADED_in_memory_variable
call fcn.00401000
add esp, 8
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
mov dword [ebp - 0x20], 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00437020
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00437020
mov eax, dword [ebp - 0x20]
jmp 0x40f899
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40f874
mov dword [ebp - 0x24], 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00437020
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00437020
mov eax, dword [ebp - 0x24]
jmp 0x40f899
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00437020
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00437020
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4130a0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c4
mov dword [ebp - 0x3c4], ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 0x3bc]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0x20
push 0
lea ecx, [ebp - 0x22c]
push ecx
call fcn.00420250
add esp, 0xc
lea edx, [ebp - 0x3c0]
push edx
lea eax, [ebp - 0x22c]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.00413800
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 0
je 0x41311d
push 0x4577cc
call fcn.00401000
add esp, 4
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
jmp 0x413228
mov edx, dword [ebp - 0x3c0]
mov dword [ebp - 0x108], edx
jmp 0x41313a
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x108], ecx
cmp dword [ebp - 0x108], 0
je 0x413200
push 2
push 0
push 0
push 0x100
lea edx, [ebp - 0x208]
push edx
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x108]
mov eax, dword [edx + 0x18]
push eax
call fcn.004145b0
lea ecx, [ebp - 0x208]
push ecx
push str._IPV6__host___s
call fcn.00401000
add esp, 8
mov edx, dword [ebp - 0x108]
cmp dword [edx + 4], 2
jne 0x4131bf
lea eax, [ebp - 0x208]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004207d0
add esp, 8
push str._IPV6___IPV4_selected
call fcn.00401000
add esp, 4
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 1
jmp 0x413228
mov edx, dword [ebp - 0x108]
cmp dword [edx + 4], 0x17
jne 0x4131fb
cmp dword [ebp - 4], 0
jne 0x4131fb
mov dword [ebp - 4], 1
lea eax, [ebp - 0x208]
push eax
lea ecx, [ebp - 0x104]
push ecx
call fcn.004207d0
add esp, 8
push str._IPV6___IPV6_selected
call fcn.00401000
add esp, 4
jmp 0x41312b
call dword [sym.imp.WS2_32.dll_WSACleanup]
cmp dword [ebp - 4], 0
je 0x413226
lea edx, [ebp - 0x104]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.004207d0
add esp, 8
mov eax, 1
jmp 0x413228
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x41322e
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c4
mov dword [ebp - 0x1c4], ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1bc]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0x20
push 0
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00420250
add esp, 0xc
lea edx, [ebp - 0x1c0]
push edx
lea eax, [ebp - 0x2c]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.00413800
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x41329c
push str.PrinterInfoManager::SelectIPAddress____getaddrinfo___error
call fcn.00401000
add esp, 4
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
jmp 0x41330a
mov edx, dword [ebp - 0x1c0]
mov dword [ebp - 8], edx
jmp 0x4132b0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x4132f5
mov edx, dword [ebp - 8]
cmp dword [edx + 4], 2
jne 0x4132e3
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x18]
add ecx, 2
push ecx
push str.IPV4_:__s
call fcn.00401000
add esp, 8
mov eax, 2
jmp 0x41330a
mov edx, dword [ebp - 8]
cmp dword [edx + 4], 0x17
jne 0x4132f3
mov dword [ebp - 4], 1
jmp 0x4132a7
call dword [sym.imp.WS2_32.dll_WSACleanup]
cmp dword [ebp - 4], 0
je 0x413308
mov eax, 0x17
jmp 0x41330a
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x413850
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], str.getaddrinfo
mov dword [ebp - 0x18], 0x413ad0
mov dword [ebp - 0x14], str.getnameinfo
mov dword [ebp - 0x10], 0x414310
mov dword [ebp - 0xc], str.freeaddrinfo
mov dword [ebp - 8], fcn.00413a60
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
cmp dword [0x45e93c], 0
je 0x4138b5
mov eax, dword [ebp + 8]
and eax, 0xffff
mov eax, dword [eax*8 + 0x4579ec]
jmp 0x413a4f
push 0x104
lea ecx, [ebp - 0x238]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x4138d0
jmp 0x4139aa
lea edx, [ebp - 0x238]
push edx
lea eax, [ebp - 0x130]
push eax
call fcn.004207d0
add esp, 8
push str.ws2_32
lea ecx, [ebp - 0x130]
push ecx
call fcn.004207e0
add esp, 8
lea edx, [ebp - 0x130]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x413939
push str.getaddrinfo
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x413939
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x413941
jmp 0x4139aa
lea edx, [ebp - 0x238]
push edx
lea eax, [ebp - 0x130]
push eax
call fcn.004207d0
add esp, 8
push str.wship6
lea ecx, [ebp - 0x130]
push ecx
call fcn.004207e0
add esp, 8
lea edx, [ebp - 0x130]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4139aa
push str.getaddrinfo
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4139aa
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x413a35
mov dword [ebp - 0x20], 0
jmp 0x4139c6
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x20], 3
jge 0x413a04
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + eax*8 - 0x1c]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x20]
mov dword [ebp + ecx*8 - 0x18], eax
mov edx, dword [ebp - 0x20]
cmp dword [ebp + edx*8 - 0x18], 0
jne 0x413a02
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 4], 0
jmp 0x413a04
jmp 0x4139bd
cmp dword [ebp - 4], 0
je 0x413a35
mov dword [ebp - 0x20], 0
jmp 0x413a1c
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 3
jge 0x413a35
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + eax*8 - 0x18]
mov dword [edx*8 + 0x4579ec], ecx
jmp 0x413a13
mov dword [0x45e93c], 1
mov edx, dword [ebp + 8]
and edx, 0xffff
mov eax, dword [edx*8 + 0x4579ec]
mov esp, ebp
pop ebp
ret 4
Function at 0x414160
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 4]
mov dword [ecx], 0
mov edx, dword [ebp + 0x18]
mov byte [edx], 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x41422d
mov ecx, dword [ebp - 0xc]
movsx edx, word [ecx + 8]
cmp edx, 2
jne 0x414208
mov eax, dword [ebp - 0xc]
movsx ecx, word [eax + 0xa]
cmp ecx, 4
jne 0x414208
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 8], eax
jmp 0x4141c5
mov ecx, dword [ebp - 8]
add ecx, 4
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp dword [edx], 0
je 0x414208
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx]
push edx
mov ax, word [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00413f40
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 0
jne 0x4141fb
mov eax, 8
jmp 0x414272
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
add ecx, 0x1c
mov dword [ebp - 4], ecx
jmp 0x4141bc
push 0x400
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.004219e0
add esp, 0xc
mov edx, dword [ebp + 0x18]
mov byte [edx + 0x400], 0
xor eax, eax
jmp 0x414272
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
sub eax, 0x2af9
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
ja case.default.0x41424a
mov ecx, dword [ebp - 0x10]
jmp dword [ecx*4 + 0x414278]
mov eax, 0x2af9
jmp 0x414272
mov eax, 0x2afa
jmp 0x414272
mov eax, 0x2afb
jmp 0x414272
mov eax, 0x2af9
jmp 0x414272
mov eax, 0x2af9
mov esp, ebp
pop ebp
ret 0x18
Function at 0x414a5f
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445938
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.00404460
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.00404460
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.00404460
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.00404460
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.00404460
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x3c
call fcn.00404460
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x10], 0
push 0x45e948
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.004371a9
push 0x45e94c
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.004371a9
push 0x45e950
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.004371a9
push 0x45e954
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.004371a9
push 0x45e958
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.004371a9
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x28], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x2c], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x30], 0
push 0x45e95c
mov ecx, dword [ebp - 0x10]
add ecx, 0x3c
call fcn.004371a9
push 8
push 0
mov edx, dword [ebp - 0x10]
add edx, 0x34
push edx
call fcn.00420250
add esp, 0xc
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x418657
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4186af
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
push dword [ebp + 8]
push esi
push esi
push 0x45e940
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4186a2
push 1
pop esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x4186b1
xor eax, eax
pop esi
leave
ret 4
Function at 0x434820
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00420c50
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x4348eb
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x4348eb
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x43489e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x4348a9
or bh, 8
and edi, 0x8000000
je 0x4348c4
mov eax, dword [0x4674fc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x4348eb
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x434cc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x434ceb
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x434d0f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x434d2a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20