joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4436ac
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x46a324]
cmp byte [eax + 0xc], 0
je 0x443819
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x443812
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x46bb90], 0
jne 0x443700
push 0x443820
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x443828
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bb90], eax
cmp dword [0x469cac], 0
jne 0x4437fb
push 0x443838
call sub.kernel32.dll_LoadLibraryA
mov dword [0x469cac], eax
cmp dword [0x469cac], 0
je 0x4437fb
push 0x443844
mov eax, dword [0x469cac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bb94], eax
push 0x443854
mov eax, dword [0x469cac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bb98], eax
push 0x443868
mov eax, dword [0x469cac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bb9c], eax
push 0x443880
mov eax, dword [0x469cac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bba0], eax
push 0x443898
mov eax, dword [0x469cac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bba4], eax
push 0x4438ac
mov eax, dword [0x469cac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bba8], eax
push 0x4438c4
mov eax, dword [0x469cac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bbac], eax
push 0x4438dc
mov eax, dword [0x469cac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bbb0], eax
push 0x4438f8
mov eax, dword [0x469cac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bbb4], eax
push 0x443904
mov eax, dword [0x469cac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bbb8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x443819
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x4476c0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00403fec
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44770f
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.0040425c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44ee54
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44eea4]
test si, 4
je 0x44ee68
or bl, 1
test si, 8
je 0x44ee72
or bl, 4
test si, 1
je 0x44ee7c
or bl, 8
test si, 2
je 0x44ee86
or bl, 0x10
test si, 0x10
je 0x44ee90
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44ee9f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44eea8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44eee0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44eec1
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44eed0
or bl, 4
test esi, 0x20000000
je 0x44eedb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4556a0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4556b2
add esp, 0xfffffff0
call fcn.004035c0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419ba0
mov eax, dword [0x469fc0]
mov dword [eax + 4], ebx
mov dword [eax], 0x455a44
mov eax, dword [0x469fcc]
mov dword [eax + 4], ebx
mov dword [eax], 0x455a50
mov eax, ebx
call fcn.00455a5c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411e04]
call fcn.0040326c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411e04]
call fcn.0040326c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411e04]
call fcn.0040326c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411e04]
call fcn.0040326c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411e04]
call fcn.0040326c
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x451d60
push eax
push 0
push 0
mov eax, dword [0x46a128]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41b61c]
call fcn.0041cd90
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41b61c]
call fcn.0041cd90
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41b61c]
call fcn.0041cd90
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00455e7c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x455d58
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x455d58
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x455d58
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4557ef
call fcn.00403618
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x455b3c
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 0x455ce7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x455cc8
mov dl, 1
mov eax, dword [0x412220]
call fcn.0040326c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403fec
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x455cb7
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.00443a0c
test al, al
je 0x455caa
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, 0x455cf8
lea eax, [ebp - 0x254]
call fcn.00409060
push eax
push reloc.shell32.dll_SHChangeNotifyRegister
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x455caa
xor eax, eax
push ebp
push 0x455ca3
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 0x455d30
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x455c8c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040425c
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 0x455c8c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040425c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x455caa
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x455bad
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415cfc
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 0x455cee
lea eax, [ebp - 0x260]
call fcn.00403fec
ret

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

Disassembly:
push ecx
mov eax, dword [0x46bbdc]
cmp byte [eax + 0xa5], 0
jne 0x45668d
cmp dword [0x46bbf4], 0
jne 0x45664e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4565d8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x46bbf4], eax
cmp dword [0x46bbf0], 0
jne 0x456669
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x46bbf0], eax
cmp dword [0x46bbf8], 0
jne 0x45668d
push esp
push 0
push 0
push 0x45657c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x46bbf8], eax
pop edx
ret
Function at 0x456784
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45679b
add esp, 0xfffffff0
call fcn.004035c0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419ba0
mov eax, dword [0x46a114]
cmp word [eax + 2], 0
jne 0x4567c3
mov eax, dword [0x46a114]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00457e74
mov eax, dword [0x46a1c4]
cmp word [eax + 2], 0
jne 0x4567dd
mov eax, dword [0x46a1c4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045806c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411e04]
call fcn.0040326c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411e04]
call fcn.0040326c
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 [0x41c0fc]
call fcn.004239c0
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x456964
mov eax, dword [0x46a030]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00423d90
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45861c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x46a030]
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.0040c86c
test eax, eax
je 0x4568d2
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408a40
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c894
test eax, eax
je 0x4568e6
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.0040425c
mov eax, dword [0x469f04]
cmp byte [eax], 0
jne 0x45691a
mov eax, ebx
call fcn.00456a8c
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.004587f8
mov eax, ebx
call fcn.004591bc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45695a
call fcn.00403618
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x456d0c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x46bbdc]
cmp dword [eax + 0x30], 0
je 0x456db6
cmp dword [ebx + 0x94], 0
jne 0x456db0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x456c9c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x456db0
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 0x456d76
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x456db0
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.0041416c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x456d85
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x457918
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 0x45794d
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.004040dc
jmp 0x45795a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404040
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4589d4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x458a15
mov eax, esi
call fcn.0043f038
test al, al
je 0x458a15
mov eax, dword [ebx + 0x84]
call fcn.0043ed34
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x458a15
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043ed34
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x459d64
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x459e85
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push edi
push esi
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x459e6f
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
je 0x459dbd
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 8]
jne 0x459e6f
cmp dword [ebp - 0xc], 0
jne 0x459dd2
mov eax, dword [ebp - 4]
call fcn.00403fec
mov bl, 1
jmp 0x459e6f
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
xor edx, edx
call fcn.004040dc
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
call fcn.00404504
push eax
lea eax, [ebp - 8]
push eax
push 0
push edi
push esi
call sub.advapi32.dll_RegQueryValueExA_1
cmp eax, 0xea
je 0x459d89
test eax, eax
jne 0x459e6f
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
je 0x459e19
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 8]
jne 0x459e6f
jmp 0x459e19
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
je 0x459e2c
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
cmp byte [eax + edx - 1], 0
je 0x459e16
cmp dword [ebp - 8], 7
jne 0x459e3b
cmp dword [ebp - 0xc], 0
je 0x459e3b
inc dword [ebp - 0xc]
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.00404638
cmp dword [ebp - 8], 7
jne 0x459e62
cmp dword [ebp - 0xc], 0
je 0x459e62
lea eax, [ebp - 0x10]
call fcn.00404504
mov edx, dword [ebp - 0xc]
mov byte [eax + edx - 1], 0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
call fcn.00404040
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459e8c
lea eax, [ebp - 0x10]
call fcn.00403fec
ret
Function at 0x45f108
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45f23a
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
push 0x45f254
push edi
lea eax, [ebp - 4]
mov edx, 3
call fcn.0040436c
mov dword [ebp - 0x14], 0xc
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x20], 0xc
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x18], eax
xor ebx, ebx
mov dword [ebp - 0x64], 0x44
xor eax, eax
mov dword [ebp - 0x60], eax
xor eax, eax
mov dword [ebp - 0x5c], eax
xor eax, eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x38], 1
mov word [ebp - 0x32], 0
xor eax, eax
mov dword [ebp - 0x30], eax
mov ax, word [ebp + 0xc]
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x64]
push eax
mov eax, esi
call fcn.004044ac
push eax
push ebx
push 0x20
push 0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call fcn.004044ac
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
mov dword [ebp - 8], 0x103
jmp 0x45f1f3
mov eax, dword [0x46a1a8]
mov eax, dword [eax]
call fcn.00457bc8
push 0x3e8
call sub.kernel32.dll_Sleep_1
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x74]
push eax
call sub.kernel32.dll_GetExitCodeProcess
cmp bl, 1
jne 0x45f207
cmp dword [ebp - 8], 0x103
jne 0x45f207
cmp byte [ebp + 8], 1
je 0x45f1d0
cmp bl, 1
je 0x45f212
cmp byte [ebp + 8], 0
jne 0x45f224
mov eax, dword [ebp - 0x74]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x70]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f241
lea eax, [ebp - 4]
call fcn.00403fec
ret
Function at 0x462ae8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x462c18
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
push 0x462c30
push esi
lea eax, [ebp - 4]
mov edx, 3
call fcn.0040436c
mov dword [ebp - 0x14], 0xc
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x20], 0xc
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x18], eax
xor ebx, ebx
mov dword [ebp - 0x64], 0x44
xor eax, eax
mov dword [ebp - 0x60], eax
xor eax, eax
mov dword [ebp - 0x5c], eax
xor eax, eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x38], 1
mov word [ebp - 0x32], 0
xor eax, eax
mov dword [ebp - 0x30], eax
mov ax, word [ebp + 0xc]
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x64]
push eax
mov eax, dword [ebp + 0x10]
call fcn.004044ac
push eax
push ebx
push 0x20
push 0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call fcn.004044ac
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
mov dword [ebp - 8], 0x103
jmp 0x462bd1
mov eax, dword [0x46a1a8]
mov eax, dword [eax]
call fcn.00457bc8
push 0x3e8
call sub.kernel32.dll_Sleep_1
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x74]
push eax
call sub.kernel32.dll_GetExitCodeProcess
cmp bl, 1
jne 0x462be5
cmp dword [ebp - 8], 0x103
jne 0x462be5
cmp byte [ebp + 8], 1
je 0x462bae
cmp bl, 1
je 0x462bf0
cmp byte [ebp + 8], 0
jne 0x462c02
mov eax, dword [ebp - 0x74]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x70]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462c1f
lea eax, [ebp - 4]
call fcn.00403fec
ret

Function at 0x464838
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, edx
xor eax, eax
push ebp
push 0x4648a6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, dword [ebx]
call fcn.00404084
lea eax, [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, 0x4648bc
call fcn.004042f8
push 1
push 0x4648c4
push 0x4648c4
mov eax, dword [ebp - 8]
call fcn.004044ac
push eax
push 0x4648c8
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4648ad
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404010
ret
Function at 0x4664e8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x466618
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
push 0x466630
push esi
lea eax, [ebp - 4]
mov edx, 3
call fcn.0040436c
mov dword [ebp - 0x14], 0xc
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x20], 0xc
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x18], eax
xor ebx, ebx
mov dword [ebp - 0x64], 0x44
xor eax, eax
mov dword [ebp - 0x60], eax
xor eax, eax
mov dword [ebp - 0x5c], eax
xor eax, eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x38], 1
mov word [ebp - 0x32], 0
xor eax, eax
mov dword [ebp - 0x30], eax
mov ax, word [ebp + 0xc]
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x64]
push eax
mov eax, dword [ebp + 0x10]
call fcn.004044ac
push eax
push ebx
push 0x20
push 0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call fcn.004044ac
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
mov dword [ebp - 8], 0x103
jmp 0x4665d1
mov eax, dword [0x46a1a8]
mov eax, dword [eax]
call fcn.00457bc8
push 0x3e8
call sub.kernel32.dll_Sleep_1
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x74]
push eax
call sub.kernel32.dll_GetExitCodeProcess
cmp bl, 1
jne 0x4665e5
cmp dword [ebp - 8], 0x103
jne 0x4665e5
cmp byte [ebp + 8], 1
je 0x4665ae
cmp bl, 1
je 0x4665f0
cmp byte [ebp + 8], 0
jne 0x466602
mov eax, dword [ebp - 0x74]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x70]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46661f
lea eax, [ebp - 4]
call fcn.00403fec
ret
Function at 0x40bca0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e0b72
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x66a074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 7
mov word [ebp - 0xc0], ax
lea ecx, [ebp - 0xc0]
mov dword [ebp - 4], eax
call fcn.004bdff0
test al, al
je 0x40bf0b
lea ecx, [ebp - 0xc0]
call fcn.004c9300
test al, al
je 0x40bf0b
push 0x80
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.005b9c20
add esp, 0xc
lea eax, [ebp - 0xc0]
cmp dword [ebp - 0xac], 8
cmovae eax, dword [ebp - 0xc0]
push eax
push 0x40
lea eax, [ebp - 0x90]
push eax
push 0x612848
push 0x613f9c
push 0x61406c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x40bf0b
cmp word [ebp - 0x90], 0
je 0x40bf0b
xor eax, eax
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 7
mov word [ebp - 0xf0], ax
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 1
call fcn.004be2c0
test al, al
je 0x40befc
push 0x613fc0
lea ecx, [ebp - 0xa8]
call fcn.00408ef0
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0xf0]
lea ecx, [ebp - 0xd8]
call fcn.004c7af0
add esp, 4
mov ecx, esi
push eax
call fcn.00408eb0
lea ecx, [ebp - 0xd8]
call fcn.00408ff0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 1
call fcn.00408ff0
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0xa8]
call fcn.00408ef0
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 3
push eax
mov edx, esi
lea ecx, [ebp - 0xd8]
call fcn.004c7af0
add esp, 4
mov ecx, esi
push eax
call fcn.00408eb0
lea ecx, [ebp - 0xd8]
call fcn.00408ff0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 1
call fcn.00408ff0
push str.Doctor
lea ecx, [ebp - 0xa8]
call fcn.00408ef0
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 4
push eax
mov edx, esi
lea ecx, [ebp - 0xd8]
call fcn.004c7af0
add esp, 4
mov ecx, esi
push eax
call fcn.00408eb0
lea ecx, [ebp - 0xd8]
call fcn.00408ff0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 1
call fcn.00408ff0
push 0x613fd8
lea ecx, [ebp - 0xa8]
call fcn.00408ef0
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 5
push eax
mov edx, esi
lea ecx, [ebp - 0xd8]
call fcn.004c7af0
add esp, 4
mov ecx, esi
push eax
call fcn.00408eb0
lea ecx, [ebp - 0xd8]
call fcn.00408ff0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 1
call fcn.00408ff0
mov ecx, esi
call fcn.004c9300
test al, al
je 0x40befc
lea ecx, [ebp - 0xf0]
mov bl, 1
call fcn.00408ff0
jmp 0x40bf0d
lea ecx, [ebp - 0xf0]
xor bl, bl
call fcn.00408ff0
jmp 0x40bf0d
xor bl, bl
lea ecx, [ebp - 0xc0]
call fcn.00408ff0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b75ab
mov esp, ebp
pop ebp
ret