joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4520e4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45211c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4520fd
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45210c
or bl, 4
test esi, 0x20000000
je 0x452117
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4587c4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4587d6
add esp, 0xfffffff0
call fcn.00403a88
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041d2f4
mov eax, dword [0x4683f8]
mov dword [eax + 4], ebx
mov dword [eax], 0x458b68
mov eax, dword [0x468404]
mov dword [eax + 4], ebx
mov dword [eax], 0x458b74
mov eax, ebx
call fcn.00458b80
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x415564]
call fcn.00403734
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x415564]
call fcn.00403734
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x415564]
call fcn.00403734
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x415564]
call fcn.00403734
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x415564]
call fcn.00403734
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, 0x454f9c
push eax
push 0
push 0
mov eax, dword [0x468568]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41ed58]
call fcn.004204cc
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41ed58]
call fcn.004204cc
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41ed58]
call fcn.004204cc
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00458fa0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x458e7c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x458e7c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x458e7c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x458913
call fcn.00403ae0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x458c60
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 0x458e0b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x458dec
mov dl, 1
mov eax, dword [0x415980]
call fcn.00403734
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004044b4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x458ddb
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.004467b4
test al, al
je 0x458dce
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, 0x458e1c
lea eax, [ebp - 0x254]
call fcn.00409730
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x458dce
xor eax, eax
push ebp
push 0x458dc7
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 0x458e54
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x458db0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404724
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 0x458db0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404724
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458dce
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x458cd1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00419474
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 0x458e12
lea eax, [ebp - 0x260]
call fcn.004044b4
ret

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

Disassembly:
push ecx
mov eax, dword [0x469bb4]
cmp byte [eax + 0xa5], 0
jne 0x4597b1
cmp dword [0x469bcc], 0
jne 0x459772
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4596fc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x469bcc], eax
cmp dword [0x469bc8], 0
jne 0x45978d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x469bc8], eax
cmp dword [0x469bd0], 0
jne 0x4597b1
push esp
push 0
push 0
push 0x4596a0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x469bd0], eax
pop edx
ret
Function at 0x4598a8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4598bf
add esp, 0xfffffff0
call fcn.00403a88
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041d2f4
mov eax, dword [0x468554]
cmp word [eax + 2], 0
jne 0x4598e7
mov eax, dword [0x468554]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045b028
mov eax, dword [0x468608]
cmp word [eax + 2], 0
jne 0x459901
mov eax, dword [0x468608]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045b220
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x415564]
call fcn.00403734
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x415564]
call fcn.00403734
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 [0x41f838]
call fcn.00426dec
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x459a88
mov eax, dword [0x468464]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004271bc
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45b7d0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x468464]
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.0040cfb8
test eax, eax
je 0x4599f6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409110
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cfe0
test eax, eax
je 0x459a0a
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.00404724
mov eax, dword [0x468334]
cmp byte [eax], 0
jne 0x459a3e
mov eax, ebx
call fcn.00459bb0
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.0045b9ac
mov eax, ebx
call fcn.0045c370
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x459a7e
call fcn.00403ae0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x459e30
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x469bb4]
cmp dword [eax + 0x30], 0
je 0x459eda
cmp dword [ebx + 0x94], 0
jne 0x459ed4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x459dc0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x459ed4
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 0x459e9a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x459ed4
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.004178cc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x459ea9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45aa3c
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 0x45aa71
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.004045a4
jmp 0x45aa7e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404508
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45bb88
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45bbc9
mov eax, esi
call fcn.00441d9c
test al, al
je 0x45bbc9
mov eax, dword [ebx + 0x84]
call fcn.00441a98
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45bbc9
push 0
mov eax, dword [ebx + 0x84]
call fcn.00441a98
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x462a58
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x144], ecx
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0x140], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404964
xor eax, eax
push ebp
push 0x462c76
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x462c01
push dword fs:[edx]
mov dword fs:[edx], esp
mov byte [ebp - 6], 0
call sub.kernel32.dll_GetCurrentProcessId
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x140]
mov eax, dword [ebp - 4]
call fcn.00408f88
mov eax, dword [ebp - 0x140]
lea edx, [ebp - 0x14]
call fcn.00408408
xor edx, edx
mov eax, 2
call fcn.00462404
mov esi, eax
mov dword [ebp - 0x13c], 0x128
lea edx, [ebp - 0x13c]
mov eax, esi
call fcn.00462424
jmp 0x462bef
lea eax, [ebp - 0x148]
lea edx, [ebp - 0x118]
mov ecx, 0x104
call fcn.00404724
mov eax, dword [ebp - 0x148]
lea edx, [ebp - 0x144]
call fcn.00408f88
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x10]
call fcn.00408408
xor ebx, ebx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
call fcn.004048c0
jne 0x462b4e
mov bl, 1
jmp 0x462ba1
mov eax, dword [ebp - 0x10]
call fcn.00404774
mov edi, eax
mov eax, dword [ebp - 0x14]
call fcn.00404774
cmp edi, eax
jge 0x462ba1
mov eax, dword [ebp - 0x10]
call fcn.00404774
cmp eax, 7
jl 0x462ba1
lea eax, [ebp - 0x14c]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404774
mov ecx, eax
mov edx, 1
mov eax, dword [ebp - 0x14]
call fcn.004049d4
mov edx, dword [ebp - 0x14c]
mov eax, dword [ebp - 0x10]
call fcn.004048c0
jne 0x462ba1
mov bl, 1
test bl, bl
je 0x462be2
xor eax, eax
cmp byte [ebp - 5], 0
je 0x462bbd
mov edx, dword [ebp - 0x134]
cmp edx, dword [ebp - 0xc]
jne 0x462bbd
mov eax, 1
test eax, eax
jne 0x462be2
push 0
mov eax, dword [ebp - 0x134]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 6], al
lea edx, [ebp - 0x13c]
mov eax, esi
call fcn.00462444
test eax, eax
jne 0x462b06
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x462c43
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462c7d
lea eax, [ebp - 0x150]
mov edx, 5
call fcn.004044d8
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004044d8
lea eax, [ebp - 4]
call fcn.004044b4
ret
Function at 0x462cf8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404964
mov eax, dword [ebp - 8]
call fcn.00404964
xor eax, eax
push ebp
push 0x462e54
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x462df0
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x50]
mov edx, 0x44
call fcn.00407194
lea eax, [ebp - 0x60]
mov edx, 0x10
call fcn.00407194
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 8]
call fcn.00408624
cmp dword [ebp - 0x64], 0
je 0x462d8c
push dword [ebp - 4]
push 0x462e6c
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 8]
call fcn.00408624
push dword [ebp - 0x68]
lea eax, [ebp - 4]
mov edx, 3
call fcn.00404834
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404974
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x462de4
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_CloseHandle_1
push 0xffffffffffffffff
mov eax, dword [ebp - 0x60]
push eax
call sub.kernel32.dll_WaitForSingleObject
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x60]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x60]
push eax
call sub.kernel32.dll_CloseHandle_1
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x462e2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462e5b
lea eax, [ebp - 0x6c]
mov edx, 3
call fcn.004044d8
lea eax, [ebp - 8]
mov edx, 2
call fcn.004044d8
ret
Function at 0x463dbc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x463fb1
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
mov eax, 0x104
call fcn.0040270c
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x463f8c
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.ole32.dll_CoInitialize
call fcn.00414e08
test al, al
jne 0x463e1b
call fcn.00403f9c
jmp 0x463f93
lea eax, [ebp - 8]
call fcn.00405e5c
push eax
mov eax, dword [0x468720]
push eax
push 1
push 0
mov eax, dword [0x468390]
push eax
call sub.ole32.dll_CoCreateInstance
call fcn.00414e08
test al, al
jne 0x463e4c
call fcn.00403f9c
jmp 0x463f93
lea eax, [ebp - 0xc]
call fcn.00405e5c
push eax
push 0x463fc4
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax]
mov esi, eax
mov eax, esi
call fcn.00414e08
test al, al
jne 0x463e79
call fcn.00403f9c
jmp 0x463f93
mov ecx, 0x104
mov edx, dword [ebp - 0x10]
mov eax, edi
call fcn.00405314
push 0
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
mov esi, eax
mov eax, esi
call fcn.00414e08
test al, al
jne 0x463eab
call fcn.00403f9c
jmp 0x463f93
push 1
push 0
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x4c]
mov esi, eax
mov eax, esi
call fcn.00414e08
test al, al
jne 0x463ecf
call fcn.00403f9c
jmp 0x463f93
push 1
lea eax, [ebp - 0x150]
push eax
push 0x104
push ebx
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
lea eax, [ebx + 0x310]
push eax
push 0x104
lea eax, [ebx + 0x20a]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x40]
push 0x104
lea eax, [ebx + 0x105]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
push 0xff
lea eax, [ebx + 0x419]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
push 0x104
lea eax, [ebx + 0x314]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x28]
lea eax, [ebx + 0x624]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
lea eax, [ebx + 0x51c]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x10]
lea eax, [ebx + 0x620]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x38]
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463f93
mov eax, dword [ebp - 0x10]
call fcn.0040272c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463fb8
lea eax, [ebp - 0xc]
call fcn.00405e5c
lea eax, [ebp - 8]
call fcn.00405e5c
ret
Function at 0x401990
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x5c
fldz
push esi
fst dword [esp + 8]
xor esi, esi
mov dword [esp + 4], esi
fstp dword [esp + 4]
fld dword [esp + 4]
xor eax, eax
fsub qword [0x41f3c8]
mov dword [esp + 0x1c], 0x44
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
fsub dword [esp + 8]
mov dword [esp + 0x48], 1
mov word [esp + 0x4e], ax
call fcn.0040b0f0
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0x68]
mov dword [esp + 8], eax
lea eax, [esp + 0x20]
push eax
push esi
push esi
push 8
push esi
push esi
mov ecx, 1
mov word [esp + 0x68], cx
mov ecx, dword [esp + 0x84]
push esi
push ecx
push edx
mov dword [esp + 0x78], esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
pop esi
add esp, 0x5c
ret
Function at 0x4034b0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xc
fldz
push ebx
push esi
push edi
xor eax, eax
mov word [esp + 0xc], ax
push 3
mov dword [esp + 0x10], eax
fstp qword [esp + 0x14]
push 0x42521c
call fcn.00402390
mov ebx, dword [esp + 0x24]
mov esi, eax
push esi
push ebx
call fcn.0040bd76
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x40351d
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
dec dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xc]
add ecx, 0x280494be
imul ecx, edx
push esi
push ebx
mov dword [esp + 0x14], ecx
call fcn.0040bd76
mov edi, eax
add esp, 8
test edi, edi
je 0x40354b
push edi
push 1
lea eax, [esp + 0x28]
push 4
push eax
call fcn.0040bc30
mov ecx, dword [0x4234ac]
add ecx, dword [esp + 0x1c]
push edi
mov dword [esp + 0x20], ecx
fild dword [esp + 0x20]
fstp qword [esp + 0x24]
call fcn.0040ba52
add esp, 0x14
fldz
xor eax, eax
mov word [esi], ax
fst dword [esp + 0xc]
fstp dword [esp + 0xc]
push esi
mov byte [esi + 2], al
call fcn.0040b05e
fld qword [0x425960]
fsub qword [0x41f350]
add esp, 4
fadd qword [0x41f348]
call fcn.0040b0f0
pop edi
pop esi
mov dword [0x423550], eax
pop ebx
add esp, 0xc
ret
Function at 0x4043e0
Capabilities:
Set registry value

Disassembly:
sub esp, 8
fldz
push ebp
fstp dword [esp + 8]
push 0x2e
mov dword [esp + 0xc], 0
push 0x424e18
mov dword [esp + 0x10], 0
call fcn.00402390
add esp, 8
mov ebp, eax
lea eax, [esp + 4]
push eax
push ebp
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x404496
push esi
push edi
push 0x34
push 0x42306c
call fcn.00402390
mov edx, dword [esp + 0x20]
mov esi, eax
mov eax, edx
add esp, 8
lea edi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404440
mov ecx, dword [esp + 0xc]
sub eax, edi
push eax
push edx
push 1
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
fldz
push 0x34
fst dword [esp + 0x14]
push 0
fstp dword [esp + 0x18]
push esi
call fcn.0040b1a0
push esi
call fcn.0040b05e
fld qword [0x425960]
fsub qword [0x41f350]
add esp, 0x10
fadd qword [0x41f348]
call fcn.0040b0f0
pop edi
mov dword [0x423550], eax
pop esi
fldz
push 0x2e
push 0
fst dword [esp + 0x10]
fstp dword [esp + 0x10]
push ebp
call fcn.0040b1a0
push ebp
call fcn.0040b05e
fld qword [0x425960]
fsub qword [0x41f350]
add esp, 0x10
fadd qword [0x41f348]
call fcn.0040b0f0
mov edx, dword [esp + 4]
push edx
mov dword [0x423550], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
add esp, 8
ret
Function at 0x40a6e0
Capabilities:
Create thread
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x1c
fldz
push ebx
xor ebx, ebx
mov dword [esp + 0xc], ebx
fst qword [esp + 0x18]
xor eax, eax
mov word [esp + 4], ax
xor ecx, ecx
mov word [esp + 8], cx
xor edx, edx
mov word [esp + 8], dx
fstp qword [esp + 0x10]
mov dword [0x4277cc], ebx
dec word [0x4252c8]
mov ax, word [0x4252c8]
mov edx, dword [0x423504]
movsx ecx, ax
mov eax, 0xec5786c8
sub eax, ecx
add edx, eax
mov dword [esp + 0xc], edx
push ebp
push esi
fild dword [esp + 0x14]
xor esi, esi
push edi
fadd qword [esp + 0x24]
fstp qword [esp + 0x24]
cmp dword [0x4258c8], ebx
je 0x40a76d
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
push ebx
push ebx
push esi
push 0x401600
push ebx
push ebx
mov dword [esi*4 + 0x427308], ebx
call edi
inc esi
cmp esi, dword [0x4258c8]
jne 0x40a751
fld dword [0x424268]
fld qword [0x424e78]
fsubr qword [0x41f9c8]
fsubp st(1)
fstp dword [0x424268]
movzx eax, word [esp + 0x14]
mov dx, word [esp + 0x14]
movsx ecx, ax
movsx eax, dx
sub ecx, eax
add ecx, 0x51441be5
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
fstp qword [0x423490]
mov cx, word [0x424df0]
movzx eax, word [esp + 0x10]
movsx edx, cx
movsx ecx, ax
add ecx, dword [0x425270]
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
fadd qword [esp + 0x1c]
fsubp st(1)
call fcn.0040b0f0
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0xa
mov word [0x424df0], ax
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_SetEvent]
mov esi, 0x4258cc
jmp 0x40a800
movzx edx, word [esi]
mov eax, dword [edx*4 + 0x427308]
push eax
call ebp
mov cx, word [0x4234a8]
movzx edx, word [esp + 0x10]
movsx eax, cx
sub edx, eax
movzx eax, word [esi]
sub edx, 0x7fb52335
mov word [esp + 0x10], dx
cmp dword [eax*4 + 0x427308], ebx
je 0x40a845
push 0xa
call edi
movzx ecx, word [esi]
cmp dword [ecx*4 + 0x427308], ebx
jne 0x40a835
mov edx, dword [0x425e98]
mov eax, 0x1f9a1ef
sub eax, edx
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
and al, 0x18
add esi, 2
fadd dword [0x424d9c]
fstp dword [0x424d9c]
cmp esi, 0x4258d4
jne 0x40a800
fld qword [0x425288]
fsubr qword [0x41f9c0]
fmul qword [esp + 0x1c]
fstp qword [esp + 0x1c]
call dword [0x4277cc]
adc dword [esi], ecx
or eax, 0xe9453969
pop ebp
jne 0x40a858
push ds
or ecx, ebp
mov ecx, 0x4ebd8d7
xor edx, dword [0x64c15a71]
mov byte [0x831d3875], al
loop 0x40a86f
add eax, 0xeb3aa95f
and dword [ebp + eax*2 + 0x7a1e8542], ecx
dec esp
arpl di, dx
in eax, 0x45
ja 0x40a8f1
stosb byte es:[edi], al
push edi
dec ebp
ror dword [0x5e384124], 0x8c
rol ah, cl
imul dword [ebp - 0x3c5cc541]
and eax, 0x13bc0945
jp 0x40a933
std
inc edi
in eax, 0xf6
invalid
or dword [ebp - 0x79a3f309], edi
and al, 0x11
neg byte [ebx]
mov ah, byte fs:[ebx]
aad 0x11
xchg edi, eax
dec ecx
mov dl, 0x93
sar esp, cl
add dword [ebx - 0x1ca7d9ce], esi
bnd retf
add byte [eax], al
add byte [edi + 0x5e], bl
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret 0x10

Function at 0x40b6e4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x425fd0]
jne 0x40b6ee
repz ret
jmp fcn.0040f8d6