joyce8/EMBER2024-capa huggingface dataset:
Function at 0x451b50
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x451cfb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x451cdc
mov dl, 1
mov eax, dword [0x412e44]
call fcn.004037f0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004045f4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x451ccb
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0043fb84
test al, al
je 0x451cbe
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x451d0c
lea eax, [ebp - 0x254]
call fcn.004097a0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x451cbe
xor eax, eax
push ebp
push 0x451cb7
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x451d44
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x451ca0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404864
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x451ca0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404864
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451cbe
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x451bc1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004172f0
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451d02
lea eax, [ebp - 0x260]
call fcn.004045f4
ret

Function at 0x452630
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x475be4]
cmp byte [eax + 0xa5], 0
jne 0x4526a1
cmp dword [0x475bfc], 0
jne 0x452662
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4525ec
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x475bfc], eax
cmp dword [0x475bf8], 0
jne 0x45267d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x475bf8], eax
cmp dword [0x475c00], 0
jne 0x4526a1
push esp
push 0
push 0
push 0x452590
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x475c00], eax
pop edx
ret
Function at 0x452798
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4527af
add esp, 0xfffffff0
call fcn.00403b44
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041b6b8
mov eax, dword [0x473d10]
cmp word [eax + 2], 0
jne 0x4527d7
mov eax, dword [0x473d10]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00453d9c
mov eax, dword [0x473e38]
cmp word [eax + 2], 0
jne 0x4527f1
mov eax, dword [0x473e38]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00453f94
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4127e0]
call fcn.004037f0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4127e0]
call fcn.004037f0
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41e30c]
call fcn.00425684
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x452978
mov eax, dword [0x473bc8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00425a54
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x454534
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x473bc8]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d0ac
test eax, eax
je 0x4528e6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409154
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d0d4
test eax, eax
je 0x4528fa
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404864
mov eax, dword [0x4739fc]
cmp byte [eax], 0
jne 0x45292e
mov eax, ebx
call fcn.00452aa0
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00454710
mov eax, ebx
call fcn.004550d4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45296e
call fcn.00403b9c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x452d20
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x475be4]
cmp dword [eax + 0x30], 0
je 0x452dca
cmp dword [ebx + 0x94], 0
jne 0x452dc4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x452cb0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x452dc4
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x452d8a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x452dc4
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00414f70
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x452d99
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45392c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x453961
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004046e4
jmp 0x45396e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404648
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4548ec
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45492d
mov eax, esi
call fcn.0043b244
test al, al
je 0x45492d
mov eax, dword [ebx + 0x84]
call fcn.0043af6c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45492d
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043af6c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x455c18
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404aa4
xor eax, eax
push ebp
push 0x455c96
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404ab4
mov dword [ebp - 8], eax
cmp dword [ebx + 8], 0
jne 0x455c61
mov eax, dword [ebx + 4]
call fcn.00404ab4
push eax
push 0
call sub.advapi32.dll_RegisterEventSourceA
mov dword [ebx + 8], eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push 1
push 0
mov eax, dword [ebp + 8]
push eax
mov ax, word [ebp + 0xc]
push eax
push esi
mov eax, dword [ebx + 8]
push eax
call sub.advapi32.dll_ReportEventA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x455c9d
lea eax, [ebp - 4]
call fcn.004045f4
ret
Function at 0x456c98
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x456e35
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.00402aa4
cmp word [ebx + 0xa2], 0
je 0x456ce1
mov edx, ebx
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
mov eax, dword [ebx + 0x90]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x456cf5
lea esi, [ebp - 8]
jmp 0x456cf7
xor esi, esi
cmp dword [ebx + 0x80], 0
jne 0x456d04
xor edi, edi
jmp 0x456d11
mov eax, dword [ebx + 0x80]
call fcn.00404ab4
mov edi, eax
mov eax, dword [ebx + 0x7c]
call fcn.00404ab4
push eax
push edi
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.004563d0
mov eax, dword [ebp - 0x14]
call fcn.00404ab4
push eax
push esi
mov eax, dword [ebx + 0x74]
call fcn.00404ab4
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404ab4
push eax
mov eax, ebx
call fcn.00456504
push eax
mov eax, ebx
call fcn.004564d8
push eax
mov eax, ebx
call fcn.0045648c
push eax
push 0xf01ff
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.0045629c
mov eax, dword [ebp - 0x18]
call fcn.00404ab4
push eax
mov eax, dword [ebx + 8]
call fcn.00404ab4
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_CreateServiceA
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0x90], eax
cmp dword [ebp - 0xc], 0
jne 0x456d9a
call fcn.0040d938
xor edx, edx
push ebp
push 0x456e13
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x456dd8
push dword fs:[edx]
mov dword fs:[edx], esp
cmp word [ebx + 0xaa], 0
je 0x456dce
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x456dfc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456e1a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret

Function at 0x456e44
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0xb2], 0
je 0x456e70
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0xb4]
call dword [esi + 0xb0]
push 0xf01ff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.00404ab4
push eax
push ebx
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x456e95
call fcn.0040d938
xor eax, eax
push ebp
push 0x456ecc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_DeleteService
test eax, eax
jne 0x456eb5
call fcn.0040d938
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456ed3
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
Function at 0x4648ec
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404aa4
xor eax, eax
push ebp
push 0x464a43
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, byte [0x464a58]
push eax
lea eax, [ebp - 0x20]
push eax
xor ecx, ecx
mov edx, 0x464a64
mov eax, dword [ebp - 4]
call fcn.0040d6ec
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 4]
call fcn.0040468c
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call fcn.00404ab4
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x18], eax
mov byte [ebp - 5], 1
cmp dword [ebp - 0x18], 0
je 0x464a21
mov eax, dword [ebp - 0x18]
call fcn.0040271c
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x464a1a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4649fd
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x464a68
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4649f7
test ebx, ebx
je 0x4649b8
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
call fcn.004070bc
mov word [ebx], ax
cmp dword [ebp + 0x10], 0
je 0x4649cb
mov eax, dword [ebp - 0xc]
mov ax, word [eax + 8]
mov edx, dword [ebp + 0x10]
mov word [edx], ax
cmp dword [ebp + 0xc], 0
je 0x4649e2
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
call fcn.004070bc
mov edx, dword [ebp + 0xc]
mov word [edx], ax
cmp dword [ebp + 8], 0
je 0x464a01
mov eax, dword [ebp - 0xc]
mov ax, word [eax + 0xc]
mov edx, dword [ebp + 8]
mov word [edx], ax
jmp 0x464a01
mov byte [ebp - 5], 0
jmp 0x464a01
mov byte [ebp - 5], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464a25
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.0040273c
ret
mov byte [ebp - 5], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464a4a
lea eax, [ebp - 0x20]
call fcn.004045f4
lea eax, [ebp - 4]
call fcn.004045f4
ret
Function at 0x465318
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x200], edx
mov dword [ebp - 0x204], edx
mov dword [ebp - 0x208], edx
mov dword [ebp - 0x20c], edx
mov dword [ebp - 0x1f8], edx
mov dword [ebp - 0x1fc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x465506
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1d4]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
mov eax, ebx
call fcn.004045f4
lea eax, [ebp - 0x1f4]
xor ecx, ecx
mov edx, 0x20
call fcn.004030c4
mov dword [ebp - 0x1f0], 2
mov dword [ebp - 0x1e8], 6
push 0x40
lea eax, [ebp - 0x44]
push eax
call sub.wsock32.dll_gethostname
xor edx, edx
push ebp
push 0x4654d1
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x1fc]
lea edx, [ebp - 0x44]
mov ecx, 0x40
call fcn.00404864
mov edx, dword [ebp - 0x1fc]
lea eax, [ebp - 0x1f8]
call fcn.00404e74
mov eax, dword [ebp - 0x1f8]
call fcn.00404e84
lea edx, [ebp - 4]
push edx
lea edx, [ebp - 0x1f4]
push edx
push 0
push eax
call sub.ws2_32.dll_GetAddrInfoW
test eax, eax
je 0x465433
lea eax, [ebp - 0x44]
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
jne 0x46540e
call fcn.00404058
jmp 0x4654dd
mov esi, dword [eax + 0xc]
xor edi, edi
cmp dword [esi + edi*4], 0
je 0x4654ba
mov eax, dword [esi + edi*4]
push dword [eax]
call sub.wsock32.dll_inet_ntoa
mov edx, ebx
call fcn.00409330
jmp 0x4654ba
lea edx, [ebp - 0x200]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
movzx eax, byte [eax + 4]
call fcn.004086b0
push dword [ebp - 0x200]
push 0x46551c
lea edx, [ebp - 0x204]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
movzx eax, byte [eax + 5]
call fcn.004086b0
push dword [ebp - 0x204]
push 0x46551c
lea edx, [ebp - 0x208]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
movzx eax, byte [eax + 6]
call fcn.004086b0
push dword [ebp - 0x208]
push 0x46551c
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
movzx eax, byte [eax + 7]
call fcn.004086b0
push dword [ebp - 0x20c]
mov eax, ebx
mov edx, 7
call fcn.00404974
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4654d8
mov eax, dword [ebp - 4]
push eax
call sub.ws2_32.dll_FreeAddrInfoW
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46550d
lea eax, [ebp - 0x20c]
mov edx, 5
call fcn.00404618
lea eax, [ebp - 0x1f8]
call fcn.00404d28
ret
Function at 0x465550
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404aa4
xor eax, eax
push ebp
push 0x4655e9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004045f4
call sub.kernel32.dll_GetEnvironmentStringsA
mov ebx, eax
lea eax, [ebp - 4]
mov edx, 0x465600
call fcn.004048bc
jmp 0x4655ce
mov eax, dword [ebp - 4]
call fcn.004048b4
push eax
lea eax, [ebp - 4]
call fcn.00404b0c
mov edx, eax
mov eax, ebx
pop ecx
call fcn.00409284
test eax, eax
je 0x4655b9
mov eax, ebx
call fcn.00409118
inc eax
add ebx, eax
jmp 0x4655ce
mov eax, dword [ebp - 4]
call fcn.004048b4
add ebx, eax
mov edx, esi
mov eax, ebx
call fcn.00409330
jmp 0x4655d3
cmp byte [ebx], 0
jne 0x46558e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4655f0
lea eax, [ebp - 4]
call fcn.004045f4
ret

Function at 0x4657e4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404aa4
mov eax, dword [ebp - 8]
call fcn.00404aa4
xor eax, eax
push ebp
push 0x4658f4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.004048b4
mov edi, eax
lea eax, [ebp - 0x14]
mov edx, edi
call fcn.00404c40
mov eax, dword [ebp - 4]
call fcn.004048b4
mov edx, eax
lea eax, [ebp - 0x10]
call fcn.00404c40
mov esi, edi
test esi, esi
jle 0x465867
mov ebx, 1
lea eax, [ebp - 0x14]
call fcn.00404b0c
mov edx, dword [ebp - 8]
mov dl, byte [edx + ebx - 1]
and dl, 0xf
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x46584d
mov eax, dword [ebp - 4]
call fcn.004048b4
cmp edi, eax
jl 0x4658cc
mov eax, dword [ebp - 4]
call fcn.004048b4
test eax, eax
jle 0x4658c4
mov eax, dword [ebp - 4]
call fcn.004048b4
mov esi, eax
test esi, esi
jle 0x4658b7
mov ebx, 1
lea eax, [ebp - 0x10]
call fcn.00404b0c
mov edx, ebx
and edx, 0xf
mov ecx, dword [ebp - 0x14]
mov dl, byte [ecx + edx - 1]
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + ebx - 1]
xor dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x465892
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
call fcn.00404648
jmp 0x4658cc
mov eax, dword [ebp - 0xc]
call fcn.004045f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4658fb
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404618
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404618
ret
Function at 0x4673c4
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404aa4
xor eax, eax
push ebp
push 0x46745d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004045f4
call sub.kernel32.dll_GetEnvironmentStringsA
mov ebx, eax
lea eax, [ebp - 4]
mov edx, 0x467474
call fcn.004048bc
jmp 0x467442
mov eax, dword [ebp - 4]
call fcn.004048b4
push eax
lea eax, [ebp - 4]
call fcn.00404b0c
mov edx, eax
mov eax, ebx
pop ecx
call fcn.00409284
test eax, eax
je 0x46742d
mov eax, ebx
call fcn.00409118
inc eax
add ebx, eax
jmp 0x467442
mov eax, dword [ebp - 4]
call fcn.004048b4
add ebx, eax
mov edx, esi
mov eax, ebx
call fcn.00409330
jmp 0x467447
cmp byte [ebx], 0
jne 0x467402
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467464
lea eax, [ebp - 4]
call fcn.004045f4
ret

Function at 0x467620
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
test dl, dl
je 0x46763d
add esp, 0xfffffff0
call fcn.00403b44
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x467793
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
add eax, 4
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x30], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x34], edx
xor eax, eax
push ebp
push 0x467697
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x42b5a4]
call fcn.0042b6a4
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4676a1
mov byte [0x4739c8], 0
mov eax, dword [ebp - 4]
call fcn.00468020
mov byte [0x4739c8], al
xor eax, eax
push ebp
push 0x46770e
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x3e8
mov dl, 1
mov eax, dword [0x467200]
call fcn.00467478
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov cl, 1
mov dl, 1
mov eax, dword [0x464aa4]
call fcn.004652ac
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x2c], ebx
mov dword [ebx + 0x48], 0x64
mov eax, dword [ebp - 4]
mov dword [ebx + 0x44], eax
mov dword [ebx + 0x40], 0x4681e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x467725
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00467828
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
add eax, 0x1c
call fcn.00404648
mov eax, dword [ebp - 4]
add eax, 0x20
mov edx, 0x4677ec
call fcn.00404648
lea eax, [ebp - 0x10]
call fcn.004656e0
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
add eax, 0x24
mov edx, 0x467808
call fcn.00404900
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x467778
call fcn.0041b5e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46779a
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404618
ret
Function at 0x468d9c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
test dl, dl
je 0x468db1
add esp, 0xfffffff0
call fcn.00403b44
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov byte [eax + 8], 0
mov eax, dword [ebp - 4]
mov byte [eax + 9], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0xa], 0
mov eax, dword [ebp - 4]
add eax, 0x28
call fcn.004045f4
mov eax, 0x468ed4
call fcn.00467314
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov dl, 1
mov eax, dword [0x466cb8]
call fcn.004037f0
mov edx, dword [ebp - 4]
mov dword [edx + 0x24], eax
xor eax, eax
push ebp
push 0x468e22
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
add eax, 0x30
call fcn.00465dbc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x468e36
mov eax, dword [ebp - 4]
call fcn.004691f4
mov eax, 0x468f14
call fcn.00467314
xor eax, eax
push ebp
push 0x468e8a
push dword fs:[eax]
mov dword fs:[eax], esp
mov cl, 1
mov dl, 1
mov eax, dword [0x468cc0]
call fcn.00469bfc
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
mov eax, dword [ebp - 4]
mov dword [ebx + 0x44], eax
mov dword [ebx + 0x40], 0x4691b8
mov eax, ebx
call fcn.0041b5e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x468e9e
mov eax, 0x468f54
call fcn.00467314
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x468ec0
call fcn.00403b9c
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret