joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428d3c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1e8], 0
je 0x428d58
cmp dword [esi + 4], 0
je 0x428d85
test byte [ebx + 0x45], 1
jne 0x428d77
mov eax, ebx
call fcn.00427c74
test eax, eax
jne 0x428d77
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x428e95
mov edx, esi
mov eax, ebx
call fcn.004289b4
jmp 0x428e95
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x428e8e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0042ad44
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00425bd8
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00428d3c
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0042ad44
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428e95
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x432940
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.00403bb8
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43298f
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.00403de8
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43a414
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x46c7e0
cmp dword [edi], 0
jne 0x43a490
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x46c7dc]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4698d0
mov ecx, 2
call fcn.00402948
mov edx, 0x43a3ec
lea eax, [esi + 5]
call fcn.0043a40c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0043a40c
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x43a465
mov dword [0x46c7dc], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x43a5ac
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x43a5fc]
test si, 4
je 0x43a5c0
or bl, 1
test si, 8
je 0x43a5ca
or bl, 4
test si, 1
je 0x43a5d4
or bl, 8
test si, 2
je 0x43a5de
or bl, 0x10
test si, 0x10
je 0x43a5e8
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43a5f7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x43a600
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x43a638]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43a619
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43a628
or bl, 4
test esi, 0x20000000
je 0x43a633
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x440868
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44087a
add esp, 0xfffffff0
call fcn.004031ac
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041319c
mov eax, ebx
call fcn.00440bb4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x30], eax
mov dl, 1
mov eax, dword [0x40cb04]
call fcn.00402e7c
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x40cb04]
call fcn.00402e7c
mov dword [ebx + 0x44], eax
mov dl, 1
mov eax, dword [0x40cb04]
call fcn.00402e7c
mov dword [ebx + 0x48], eax
mov dl, 1
mov eax, dword [0x40cb04]
call fcn.00402e7c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x40cb04]
call fcn.00402e7c
mov dword [ebx + 0x70], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x34], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x4c]
push eax
mov eax, 0x43d358
push eax
push 0
push 0
mov eax, dword [0x46b474]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x414664]
call fcn.00415c60
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x414664]
call fcn.00415c60
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x414664]
call fcn.00415c60
mov dword [ebx + 0x74], eax
mov eax, ebx
call fcn.00440f94
mov eax, dword [ebx + 0x78]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x440eb0
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x440eb0
mov eax, dword [ebx + 0x74]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x440eb0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x440989
call fcn.00403204
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x440c94
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 0x440e3f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0
jne 0x440e20
mov dl, 1
mov eax, dword [0x40ce04]
call fcn.00402e7c
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.00403bb8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x440e0f
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.0042f2dc
test al, al
je 0x440e02
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, 0x440e50
lea eax, [ebp - 0x254]
call fcn.00408eec
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x440e02
xor eax, eax
push ebp
push 0x440dfb
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 0x440e88
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x440de4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403de8
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x440de4
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403de8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440e02
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x440d05
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.0040fc9c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x28]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440e46
lea eax, [ebp - 0x260]
call fcn.00403bb8
ret

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

Disassembly:
push ecx
mov eax, dword [0x46c7d0]
cmp byte [eax + 0x95], 0
jne 0x4416fd
cmp dword [0x46c7ec], 0
jne 0x4416be
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x441648
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x46c7ec], eax
cmp dword [0x46c7e8], 0
jne 0x4416d9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x46c7e8], eax
cmp dword [0x46c7f0], 0
jne 0x4416fd
push esp
push 0
push 0
push 0x4415ec
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x46c7f0], eax
pop edx
ret
Function at 0x4417f4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44180b
add esp, 0xfffffff0
call fcn.004031ac
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041319c
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x40cb04]
call fcn.00402e7c
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x40cb04]
call fcn.00402e7c
mov dword [ebx + 0x98], eax
xor eax, eax
mov dword [ebx + 0x50], eax
xor eax, eax
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x4c], 0x80000018
mov dword [ebx + 0x68], 0x1f4
mov byte [ebx + 0x6c], 1
xor eax, eax
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x64], 0x9c4
mov byte [ebx + 0x78], 0
mov byte [ebx + 0x8d], 1
mov dl, 1
mov eax, dword [0x415094]
call fcn.0041cc54
mov esi, eax
mov dword [ebx + 0x88], esi
push 0x441980
mov eax, dword [0x46b390]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0041d024
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x443394
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x46b390]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_2
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.0040a3c4
test eax, eax
je 0x4418fe
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004088a0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040a3ec
test eax, eax
je 0x441912
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x7c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00403de8
mov eax, dword [0x46b270]
cmp byte [eax], 0
jne 0x441943
mov eax, ebx
call fcn.00441a6c
mov byte [ebx + 0x49], 1
mov byte [ebx + 0x4a], 1
mov byte [ebx + 0x4b], 1
mov byte [ebx + 0x8e], 1
xor eax, eax
mov dword [ebx + 0x90], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x441975
call fcn.00403204
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x441cdc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x46c7d0]
cmp dword [eax + 0x24], 0
je 0x441d7f
cmp dword [ebx + 0x84], 0
jne 0x441d79
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x441c6c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x80]
cmp dword [eax + 8], 0
je 0x441d79
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 0x441d42
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x80]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x441d79
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x80]
call fcn.0040e28c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x441d51
inc dword [ebx + 0x84]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x44278c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x94], 0
je 0x4427c1
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403ca0
jmp 0x4427cb
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.00403c0c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x443708
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x443740
mov eax, esi
call fcn.0042b040
test al, al
je 0x443740
mov eax, dword [ebx + 0x74]
call fcn.0042ad44
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x443740
push 0
mov eax, dword [ebx + 0x74]
call fcn.0042ad44
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x44f244
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00403ffc
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x44f25d
test al, 0x10
jne 0x44f261
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x44f808
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x44f810
mov eax, dword [esp + 0x2000]
add esp, 0xfffff7f0
mov esi, ecx
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [esp + 4]
call fcn.0040fd24
mov dword [esp + 0x10], eax
xor ecx, ecx
xor edx, edx
mov eax, dword [esp + 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
or ebx, 0xffffffff
mov eax, dword [esp + 4]
call fcn.0040fd40
sub eax, esi
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], 0
jle 0x44f8c9
cmp dword [esp + 0xc], 0x2800
jl 0x44f877
mov dword [esp + 8], 0x2800
jmp 0x44f87f
mov eax, dword [esp + 0xc]
mov dword [esp + 8], eax
lea edx, [esp + 0x14]
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
mov esi, dword [eax]
call dword [esi + 4]
mov edx, eax
xor eax, eax
cmp edx, eax
jle 0x44f8bf
xor ecx, ecx
mov cl, byte [esp + eax + 0x14]
xor ecx, ebx
and ecx, 0xff
mov esi, dword [esp]
mov ecx, dword [esi + ecx*4 + 0x5c]
shr ebx, 8
and ebx, 0xffffff
xor ecx, ebx
mov ebx, ecx
inc eax
cmp edx, eax
jg 0x44f898
mov eax, dword [esp + 8]
sub dword [esp + 0xc], eax
jmp 0x44f85c
xor ebx, 0xffffffff
xor ecx, ecx
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 4]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, ebx
add esp, 0x2814
pop esi
pop ebx
ret
Function at 0x451018
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.00450c4c
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00403ffc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x451076
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x46b47c]
mov dl, 1
mov eax, dword [0x450b44]
call fcn.00409974
call fcn.00403604
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x451080
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00403ffc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4510d8
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x46b644]
mov dl, 1
mov eax, dword [0x450b44]
call fcn.00409974
call fcn.00403604
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00450c7c
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x45791c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10c], ecx
mov ebx, edx
mov esi, eax
lea edi, [ebp - 0x105]
xor eax, eax
push ebp
push 0x4579a6
push dword fs:[eax]
mov dword fs:[eax], esp
push edi
push 0x104
call sub.kernel32.dll_GetTempPathA
push edi
push 0
push 0x4579b4
push edi
call sub.kernel32.dll_GetTempFileNameA
lea eax, [ebp - 0x10c]
mov edx, edi
mov ecx, 0x105
call fcn.00403de8
mov eax, dword [ebp - 0x10c]
mov ecx, ebx
mov edx, esi
call fcn.00408660
mov eax, dword [ebx]
call fcn.004084c4
test al, al
jne 0x457948
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4579ad
lea eax, [ebp - 0x10c]
call fcn.00403bb8
ret

Function at 0x45a4d8
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x45a529
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x45a510
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x45a500
jmp 0x45a529
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x45a511
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4679a8
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x30]
call fcn.0040e5f4
mov esi, eax
xor eax, eax
push ebp
push 0x467a22
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, dword [esi + 8]
dec ebx
cmp ebx, 0
jl 0x467a06
mov edx, ebx
mov eax, esi
call fcn.0040e28c
test byte [eax + 0x48], 1
je 0x467a00
push 0
mov edx, ebx
mov eax, esi
call fcn.0040e28c
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov edx, ebx
mov eax, esi
call fcn.0040e17c
dec ebx
cmp ebx, 0xffffffff
jne 0x4679d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467a29
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x30]
call fcn.0040e658
ret
Function at 0x419d30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x410015
lea edi, [esi - 0xf015]
push edi
or ebp, 0xffffffff
jmp 0x419d52
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419d59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419d48
mov eax, 1
add ebx, ebx
jne 0x419d6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419d60
jne 0x419d7c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419d60
xor ecx, ecx
sub eax, 3
jb 0x419d90
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419e02
mov ebp, eax
add ebx, ebx
jne 0x419d9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x419da8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x419dcc
inc ecx
add ebx, ebx
jne 0x419db8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x419dad
jne 0x419dc9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419dad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x419dec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x419ddd
jmp 0x419d4e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x419dec
add edi, ecx
jmp 0x419d4e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x419e0a
cmp byte [edi], 5
jne 0x419e0a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x419e0f
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x419e87
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1908c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x419e3c
mov ecx, edi
jns 0x419e6b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x19090]
or eax, eax
je 0x419e81
mov dword [ebx], eax
add ebx, 4
jmp 0x419e59
call dword [esi + 0x190a0]
mov ebp, dword [esi + 0x19094]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x419ebb
sub esp, 0xffffff80
jmp 0x404c20

Function at 0x4015a0
Capabilities:
Terminate process

Disassembly:
call fcn.00401940
jmp fcn.004012d0

Function at 0x4015b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x403008]
jne 0x4015ba
repz ret
jmp fcn.004019f0
Function at 0x401000
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
neg ebx
imul edi
ror eax, 0x51
mov eax, 0x66
or ebx, 0xe2
add eax, 0x42
inc ebx
inc edx
rol esi, 0x28
rcl edx, 0xf5
neg eax
ror edx, 0x4c
sub ebx, 0xce
dec ebx
not edi
rcr edx, 0xd5
rol ebx, 0xe7
rcl ebx, 0x23
neg edi
imul edx
neg eax
or eax, 0x59
dec eax
or edx, 0xbb
bswap ebx
neg esi
bswap eax
rol ebx, 0x8e
and esi, 0x2f
sbb edx, 0x61
inc edx
imul esi
imul esi
sub edx, 0x6d
or edx, 0xbc
rcl esi, 0xd1
dec ebx
or esi, 0x7f
bswap ebx
dec esi
rol edx, 0x49
mov edx, 0xf4
neg ebx
mov eax, 0x29
rcl esi, 0x30
and edi, 0x1d
imul esi
neg edi
add eax, 0x7e
ror ebx, 0x32
xor ecx, ecx
xor edi, edi
not ebx
mov edi, 0xcd
sub eax, 0x63
bswap edx
ror eax, 0x6b
rcr edx, 0xcd
ror ebx, 0xcd
inc edx
mov eax, 0xd5
not eax
bswap eax
bswap edi
rcl ebx, 0xb
and ebx, 0x4c
bswap ebx
rol ebx, 0xe0
bswap esi
ror eax, 0xba
dec edi
neg eax
sbb edx, 0x34
rcr eax, 0x47
or ebx, 0xe
sub ebx, 0xdf
ror esi, 1
bswap edx
inc eax
sbb edx, 0x92
and edi, 0x60
add edx, 0x13
dec esi
ror eax, 0xf7
add edi, 0xbb
neg eax
rcr ebx, 0xdf
or edi, 0x2f
imul edx
and esi, 0xbf
rol eax, 0x22
rol esi, 0xb8
rol edx, 0xf1
neg edx
neg edx
bswap eax
sub eax, 0x5e
sbb ebx, 0xb5
neg eax
imul esi
bswap edx
and ebx, 0x58
mov ecx, dword [ebp + 0xc]
or ebx, 0x19
not edi
imul edx
mov ebx, 0xa8
sbb eax, 0xc1
mov ebx, 0x9c
rol esi, 0x92
and edx, 0xc5
sbb edi, 0xf8
bswap ebx
rcr eax, 0xda
dec edx
mov eax, 0x24
sbb eax, 0xea
not eax
neg ebx
not edx
and edx, 0x7e
rol ebx, 0xa8
neg esi
rol esi, 0x69
not edx
and edx, 0xb
rol ebx, 0xfb
bswap eax
dec esi
not edx
imul edi
not eax
bswap ebx
inc esi
not eax
rcr ebx, 0xfd
neg esi
inc edi
dec edi
ror esi, 0xd4
inc eax
imul eax
rcl edx, 0x21
rol edi, 0xe8
ror eax, 0x30
and edi, 0xe2
not esi
dec eax
rol esi, 0xd1
and edi, 0xe8
rcl eax, 0x8a
mov esi, 0xa2
dec esi
mov edi, dword [ebp + 8]
mov esi, ebx
mov esi, eax
xor esi, eax
mov ebx, esi
mov ebx, esi
xor eax, esi
xor ebx, ebx
mov eax, eax
xor eax, eax
mov esi, eax
mov ebx, esi
xor eax, ebx
not byte [edi]
xor esi, eax
xor ebx, ebx
mov ebx, esi
mov esi, esi
xor ebx, esi
mov eax, esi
mov ebx, ebx
mov eax, eax
xor esi, eax
add byte [edi], 0x67
mov esi, esi
xor eax, ebx
xor ebx, esi
mov ebx, ebx
mov ebx, esi
mov esi, eax
mov ebx, esi
xor ebx, ebx
mov ebx, ebx
sub byte [edi], 0x88
mov ebx, ebx
xor ebx, esi
mov esi, eax
mov esi, ebx
mov ebx, ebx
xor ebx, eax
xor eax, ebx
mov esi, esi
mov esi, esi
imul byte [edi]
inc edi
loop 0x4011bc
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x404c34
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4988f0]
jne 0x404c3e
repz ret
jmp fcn.00409135