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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x44e140]
cmp byte [eax + 0xc], 0
je 0x436e75
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x436e6e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x44fb64], 0
jne 0x436d5c
push 0x436e7c
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x436e84
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fb64], eax
cmp dword [0x44db04], 0
jne 0x436e57
push 0x436e94
call sub.kernel32.dll_LoadLibraryA
mov dword [0x44db04], eax
cmp dword [0x44db04], 0
je 0x436e57
push 0x436ea0
mov eax, dword [0x44db04]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fb68], eax
push 0x436eb0
mov eax, dword [0x44db04]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fb6c], eax
push 0x436ec4
mov eax, dword [0x44db04]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fb70], eax
push 0x436edc
mov eax, dword [0x44db04]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fb74], eax
push 0x436ef4
mov eax, dword [0x44db04]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fb78], eax
push 0x436f08
mov eax, dword [0x44db04]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fb7c], eax
push 0x436f20
mov eax, dword [0x44db04]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fb80], eax
push 0x436f38
mov eax, dword [0x44db04]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fb84], eax
push 0x436f54
mov eax, dword [0x44db04]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fb88], eax
push 0x436f60
mov eax, dword [0x44db04]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fb8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x436e75
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x43ad00
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.00403e64
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43ad4f
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.004040d4
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x442464
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4424b4]
test si, 4
je 0x442478
or bl, 1
test si, 8
je 0x442482
or bl, 4
test si, 1
je 0x44248c
or bl, 8
test si, 2
je 0x442496
or bl, 0x10
test si, 0x10
je 0x4424a0
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4424af
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4424b8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4424f0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4424d1
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4424e0
or bl, 4
test esi, 0x20000000
je 0x4424eb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x448b98
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x448baa
add esp, 0xfffffff0
call fcn.00403438
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00418f30
mov eax, dword [0x44de20]
mov dword [eax + 4], ebx
mov dword [eax], 0x448f3c
mov eax, dword [0x44de2c]
mov dword [eax + 4], ebx
mov dword [eax], 0x448f48
mov eax, ebx
call fcn.00448f54
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411228]
call fcn.004030fc
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411228]
call fcn.004030fc
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411228]
call fcn.004030fc
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411228]
call fcn.004030fc
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411228]
call fcn.004030fc
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, 0x445370
push eax
push 0
push 0
mov eax, dword [0x44df6c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41a954]
call fcn.0041bd98
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41a954]
call fcn.0041bd98
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41a954]
call fcn.0041bd98
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00449374
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x449250
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x449250
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x449250
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x448ce7
call fcn.00403490
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x449034
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 0x4491df
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4491c0
mov dl, 1
mov eax, dword [0x411644]
call fcn.004030fc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403e64
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4491af
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.00437068
test al, al
je 0x4491a2
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, 0x4491f0
lea eax, [ebp - 0x254]
call fcn.004087dc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4491a2
xor eax, eax
push ebp
push 0x44919b
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 0x449228
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x449184
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004040d4
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 0x449184
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004040d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4491a2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4490a5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415120
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 0x4491e6
lea eax, [ebp - 0x260]
call fcn.00403e64
ret

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

Disassembly:
push ecx
mov eax, dword [0x44fbb0]
cmp byte [eax + 0xa5], 0
jne 0x449b85
cmp dword [0x44fbc8], 0
jne 0x449b46
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x449ad0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x44fbc8], eax
cmp dword [0x44fbc4], 0
jne 0x449b61
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x44fbc4], eax
cmp dword [0x44fbcc], 0
jne 0x449b85
push esp
push 0
push 0
push 0x449a74
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x44fbcc], eax
pop edx
ret
Function at 0x449c7c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x449c93
add esp, 0xfffffff0
call fcn.00403438
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00418f30
mov eax, dword [0x44df58]
cmp word [eax + 2], 0
jne 0x449cbb
mov eax, dword [0x44df58]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044b2d4
mov eax, dword [0x44e000]
cmp word [eax + 2], 0
jne 0x449cd5
mov eax, dword [0x44e000]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044b4cc
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411228]
call fcn.004030fc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411228]
call fcn.004030fc
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 [0x41b104]
call fcn.00420d4c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x449e5c
mov eax, dword [0x44de80]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042111c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44ba6c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x44de80]
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.0040be18
test eax, eax
je 0x449dca
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004081d0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040be40
test eax, eax
je 0x449dde
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.004040d4
mov eax, dword [0x44dd84]
cmp byte [eax], 0
jne 0x449e12
mov eax, ebx
call fcn.00449f84
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.0044bc48
mov eax, ebx
call fcn.0044c60c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x449e52
call fcn.00403490
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44a204
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x44fbb0]
cmp dword [eax + 0x30], 0
je 0x44a2ae
cmp dword [ebx + 0x94], 0
jne 0x44a2a8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44a194
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44a2a8
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 0x44a26e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44a2a8
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.00413590
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44a27d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44ae10
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 0x44ae45
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.00403f54
jmp 0x44ae52
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403eb8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44be24
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44be65
mov eax, esi
call fcn.00432870
test al, al
je 0x44be65
mov eax, dword [ebx + 0x84]
call fcn.00432610
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44be65
push 0
mov eax, dword [ebx + 0x84]
call fcn.00432610
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x407d9c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004033fc
xor eax, eax
push ebp
push 0x407e75
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x407dd4
mov eax, dword [ebp - 4]
call fcn.004071d0
jmp 0x407ddc
mov eax, dword [ebp - 4]
call fcn.00407bd4
call fcn.00404ae8
mov esi, eax
test esi, esi
jle 0x407e28
mov ebx, 1
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x407e12
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0xc]
call fcn.004071d0
jmp 0x407e24
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0x10]
call fcn.00407bd4
inc ebx
dec esi
jne 0x407dec
push 1
push dword [ebp - 4]
push 0x407e8c
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00406f34
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004032cc
mov eax, dword [ebp - 0x14]
call fcn.0040340c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407e7c
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004030b8
ret

Function at 0x4baef5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c23a8
cmp edx, dword [eax]
je 0x4baf17
add eax, 8
inc ecx
cmp eax, 0x4c2438
jl 0x4baf08
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c23a8]
jne 0x4bb045
mov eax, dword [0x4c7dd0]
cmp eax, 1
je 0x4bb01f
test eax, eax
jne 0x4baf48
cmp dword [0x4c22d4], 1
je 0x4bb01f
cmp edx, 0xfc
je 0x4bb045
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4baf7f
lea eax, [ebp - 0x1a4]
push 0x4c06c8
push eax
call fcn.004bb8e0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bbd70
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bafc2
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bbd70
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c06c4
push edi
call fcn.004bdc40
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4c06a8
push eax
call fcn.004bb8e0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bb8f0
lea eax, [ebp - 0xa0]
push 0x4c06a4
push eax
call fcn.004bb8f0
push dword [esi + 0x4c23ac]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bb8f0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4c067c
push eax
call fcn.004bdbb4
add esp, 0x2c
pop edi
jmp 0x4bb045
lea eax, [ebp + 8]
lea esi, [esi + 0x4c23ac]
push 0
push eax
push dword [esi]
call fcn.004bbd70
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4029a0
Capabilities:
Connect pipe
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
cmp dword [0x872174], 0x60b
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
push ebx
mov dword [ebp - 0x18], ecx
mov ecx, dword [eax + 4]
push esi
mov esi, dword [edx + 4]
mov dword [ebp - 0x14], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
push edi
mov edi, dword [edx]
mov ebx, 0xc6ef3720
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], eax
jne 0x402a04
xor eax, eax
push eax
lea ecx, [ebp - 4]
push ecx
push eax
lea ecx, [ebp - 0x41c]
push ecx
push eax
push eax
push 0x4012a0
call dword [sym.imp.KERNEL32.dll_CallNamedPipeW]
mov edx, dword [ebp + 8]
mov dword [ebp - 4], 0x20
jmp 0x402a13
mov edi, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
mov eax, edi
shl eax, 4
add eax, dword [ebp - 0x10]
mov dword [ebp + 8], eax
mov eax, edi
shr eax, 5
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x1c]
add dword [ebp + 0xc], eax
lea eax, [ebx + edi]
push eax
lea eax, [ebp + 8]
push eax
mov dword [0x871d24], 0xffcf03fc
call fcn.0040297b
mov eax, dword [ebp + 0xc]
xor eax, dword [ebp + 8]
and dword [0x871d24], 0
or dword [0x871d2c], 0xffffffff
sub esi, eax
mov eax, esi
shr eax, 5
mov dword [0x871d28], 0xff6b3619
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x14]
add dword [ebp + 0xc], eax
mov eax, esi
shl eax, 4
add eax, dword [ebp - 0x18]
add ebx, esi
xor eax, ebx
xor eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00402951
push 0x9e3779b9
lea eax, [ebp - 0xc]
push eax
call fcn.00402933
dec dword [ebp - 4]
jne 0x402a0d
mov eax, dword [ebp - 8]
pop edi
mov dword [edx + 4], esi
pop esi
mov dword [edx], eax
pop ebx
leave
ret 8
Function at 0x4091cf
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x858048]
jne 0x4091d9
repz ret
jmp fcn.0040de86

Function at 0x40b14d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404ce7
and dword [ebp - 4], 0
cmp dword [0x872cf4], 0
mov ebx, eax
jne 0x40b1fe
push 0x401e00
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b2af
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401df4
push edi
call esi
test eax, eax
je 0x40b2af
push eax
call fcn.00404c75
mov dword [esp], 0x401de4
push edi
mov dword [0x872cf4], eax
call esi
push eax
call fcn.00404c75
mov dword [esp], 0x401dd0
push edi
mov dword [0x872cf8], eax
call esi
push eax
call fcn.00404c75
mov dword [esp], 0x401db4
push edi
mov dword [0x872cfc], eax
call esi
push eax
call fcn.00404c75
pop ecx
mov dword [0x872d04], eax
test eax, eax
je 0x40b1fe
push 0x401d9c
push edi
call esi
push eax
call fcn.00404c75
pop ecx
mov dword [0x872d00], eax
mov eax, dword [0x872d00]
cmp eax, ebx
je 0x40b256
cmp dword [0x872d04], ebx
je 0x40b256
push eax
call fcn.00404cf0
push dword [0x872d04]
mov esi, eax
call fcn.00404cf0
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b256
test edi, edi
je 0x40b256
call esi
test eax, eax
je 0x40b24d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b24d
test byte [ebp - 0xc], 1
jne 0x40b256
or dword [ebp + 0x10], 0x200000
jmp 0x40b28f
mov eax, dword [0x872cf8]
cmp eax, ebx
je 0x40b28f
push eax
call fcn.00404cf0
pop ecx
test eax, eax
je 0x40b28f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b28f
mov eax, dword [0x872cfc]
cmp eax, ebx
je 0x40b28f
push eax
call fcn.00404cf0
pop ecx
test eax, eax
je 0x40b28f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x872cf4]
call fcn.00404cf0
pop ecx
test eax, eax
je 0x40b2af
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b2b1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..idata
nop
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
mov esi, 0x614c7495
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x77a07554
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x403170
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x429d60
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x43a008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
lea eax, [ebp + 0x20]
cmp dword [ebp + 0x34], 0x10
mov ecx, 0x43b02c
push dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
push eax
call fcn.004182c0
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
mov ecx, str.GetProcAddress
push eax
call fcn.004182c0
mov esi, dword [0x43b03c]
xor ebx, ebx
mov edi, dword [0x43b040]
nop word [eax + eax]
cmp edi, 0x10
mov byte [ebx + 0x43c230], bl
mov eax, ebx
mov ecx, 0x43b02c
cmovae ecx, dword [0x43b02c]
cdq
idiv esi
mov al, byte [edx + ecx]
mov byte [ebx + 0x43c338], al
inc ebx
cmp ebx, 0x100
jl 0x4031f0
xor edi, edi
xor esi, esi
mov dl, byte [esi + 0x43c230]
movzx eax, byte [esi + 0x43c338]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0x403244
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [edi + 0x43c230]
mov byte [esi + 0x43c230], al
inc esi
mov byte [edi + 0x43c230], dl
cmp esi, 0x100
jl 0x403220
mov esi, dword [ebp - 0x10]
mov ecx, esi
call fcn.00402ed0
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x403299
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40328f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4032ef
push edx
push ecx
call fcn.004199bf
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x4032db
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4032d1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4032ef
push edx
push ecx
call fcn.004199bf
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0041e01c
int3