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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x45113c]
cmp byte [eax + 0xc], 0
je 0x439401
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4393fa
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x452b64], 0
jne 0x4392e8
push 0x439408
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x439410
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b64], eax
cmp dword [0x450b24], 0
jne 0x4393e3
push 0x439420
call sub.kernel32.dll_LoadLibraryA
mov dword [0x450b24], eax
cmp dword [0x450b24], 0
je 0x4393e3
push 0x43942c
mov eax, dword [0x450b24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b68], eax
push 0x43943c
mov eax, dword [0x450b24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b6c], eax
push 0x439450
mov eax, dword [0x450b24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b70], eax
push 0x439468
mov eax, dword [0x450b24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b74], eax
push 0x439480
mov eax, dword [0x450b24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b78], eax
push 0x439494
mov eax, dword [0x450b24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b7c], eax
push 0x4394ac
mov eax, dword [0x450b24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b80], eax
push 0x4394c4
mov eax, dword [0x450b24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b84], eax
push 0x4394e0
mov eax, dword [0x450b24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b88], eax
push 0x4394ec
mov eax, dword [0x450b24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x439401
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

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

Function at 0x444a18
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x444a68]
test si, 4
je 0x444a2c
or bl, 1
test si, 8
je 0x444a36
or bl, 4
test si, 1
je 0x444a40
or bl, 8
test si, 2
je 0x444a4a
or bl, 0x10
test si, 0x10
je 0x444a54
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x444a63
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x444a6c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x444aa4]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x444a85
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x444a94
or bl, 4
test esi, 0x20000000
je 0x444a9f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44b14c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44b15e
add esp, 0xfffffff0
call fcn.004033e4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00418f20
mov eax, dword [0x450e18]
mov dword [eax + 4], ebx
mov dword [eax], 0x44b4f0
mov eax, dword [0x450e24]
mov dword [eax + 4], ebx
mov dword [eax], 0x44b4fc
mov eax, ebx
call fcn.0044b508
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411218]
call fcn.004030a8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411218]
call fcn.004030a8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411218]
call fcn.004030a8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411218]
call fcn.004030a8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411218]
call fcn.004030a8
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, 0x447924
push eax
push 0
push 0
mov eax, dword [0x450f68]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41a944]
call fcn.0041bd88
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41a944]
call fcn.0041bd88
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41a944]
call fcn.0041bd88
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044b928
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44b804
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44b804
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44b804
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44b29b
call fcn.0040343c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44b5e8
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 0x44b793
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44b774
mov dl, 1
mov eax, dword [0x411634]
call fcn.004030a8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403e10
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44b763
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.004395f4
test al, al
je 0x44b756
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, 0x44b7a4
lea eax, [ebp - 0x254]
call fcn.00408780
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44b756
xor eax, eax
push ebp
push 0x44b74f
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 0x44b7dc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44b738
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404080
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 0x44b738
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404080
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44b756
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44b659
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415110
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 0x44b79a
lea eax, [ebp - 0x260]
call fcn.00403e10
ret

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

Disassembly:
push ecx
mov eax, dword [0x452bb0]
cmp byte [eax + 0xa5], 0
jne 0x44c139
cmp dword [0x452bc8], 0
jne 0x44c0fa
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44c084
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x452bc8], eax
cmp dword [0x452bc4], 0
jne 0x44c115
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x452bc4], eax
cmp dword [0x452bcc], 0
jne 0x44c139
push esp
push 0
push 0
push 0x44c028
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x452bcc], eax
pop edx
ret
Function at 0x44c230
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44c247
add esp, 0xfffffff0
call fcn.004033e4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00418f20
mov eax, dword [0x450f54]
cmp word [eax + 2], 0
jne 0x44c26f
mov eax, dword [0x450f54]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044d908
mov eax, dword [0x450ffc]
cmp word [eax + 2], 0
jne 0x44c289
mov eax, dword [0x450ffc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044db00
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411218]
call fcn.004030a8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411218]
call fcn.004030a8
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 [0x41b0f4]
call fcn.00420d74
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44c410
mov eax, dword [0x450e78]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00421144
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44e0a0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x450e78]
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.0040bdbc
test eax, eax
je 0x44c37e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408174
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040bde4
test eax, eax
je 0x44c392
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.00404080
mov eax, dword [0x450d7c]
cmp byte [eax], 0
jne 0x44c3c6
mov eax, ebx
call fcn.0044c538
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.0044e27c
mov eax, ebx
call fcn.0044ec40
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44c406
call fcn.0040343c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44c7b8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x452bb0]
cmp dword [eax + 0x30], 0
je 0x44c862
cmp dword [ebx + 0x94], 0
jne 0x44c85c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44c748
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44c85c
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 0x44c822
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44c85c
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.00413580
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44c831
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44d3c4
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 0x44d3f9
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.00403f00
jmp 0x44d406
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403e64
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44e458
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44e499
mov eax, esi
call fcn.00434cb4
test al, al
je 0x44e499
mov eax, dword [ebx + 0x84]
call fcn.004349b0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44e499
push 0
mov eax, dword [ebx + 0x84]
call fcn.004349b0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x44eec0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004042c0
xor eax, eax
push ebp
push 0x44ef56
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00402af4
lea eax, [ebp - 0x58]
xor ecx, ecx
mov edx, 0x10
call fcn.00402af4
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0x220
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004042d0
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x44ef40
push 0xffffffffffffffff
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_WaitForSingleObject
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44ef5d
lea eax, [ebp - 4]
call fcn.00403e10
ret
Function at 0x40895b
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x4085d8
sub esi, 0x5e081418
dec ecx
call fcn.0040898a
mov esi, esi
add ecx, ecx
xor dword [edi], edx
add edi, 1
sub ecx, esi
dec esi
cmp edi, ebx
jne fcn.0040895b
add ecx, esi
add esi, 0xfe6bc25a
ret
Function at 0x402150
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x422d7b
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x42b7e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov dword [edi + 4], 0x426af0
mov dword [edi], vtable.HTMLWindow.0
mov dword [edi + 0x50], vtable.HTMLWindow.1.0
mov eax, dword [edi + 4]
mov eax, dword [eax + 4]
lea ecx, [eax - 0x4c]
mov dword [eax + edi], ecx
xor ebx, ebx
lea ecx, [edi + 0x30]
mov dword [edi + 0xc], edx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], 0x6b
xor eax, eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], ebx
push ebx
mov word [ecx], ax
push esi
or eax, 0xffffffff
call fcn.00401400
mov ecx, dword [ebp + 0xc]
push ecx
mov eax, edi
mov dword [ebp - 4], ebx
call fcn.00402200
mov eax, edi
call fcn.00403280
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x403e50
Capabilities:
Create process on windows

Disassembly:
mov ecx, dword [esp + 4]
sub ecx, dword [ecx - 4]
mov dword [esp + 4], ecx
jmp fcn.00402880

Function at 0x408af0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42242b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x42b7e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0040e9e2
push 4
mov dword [ebp - 4], 0
call fcn.0040fbbd
mov edi, eax
add esp, 4
test edi, edi
je 0x408b6c
call fcn.0040d786
mov dword [edi], eax
call fcn.0040d545
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0040e9a3
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x408b62
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0040e9cb
jmp 0x408b6e
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
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 4

Function at 0x40f600
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42b7e8]
jne 0x40f60a
repz ret
jmp fcn.0041455f
Function at 0x41d32c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42b7e8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0041565a
and dword [ebp - 0x14], 0
cmp dword [0x42dcc0], 0
mov dword [ebp - 0x18], eax
jne 0x41d3df
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41d487
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x42625c
push ebx
call edi
test eax, eax
je 0x41d487
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x42dcc0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x42dcc4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x42dcc8], eax
call edi
push eax
call esi
mov dword [0x42dcd0], eax
test eax, eax
je 0x41d3df
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x42dccc], eax
mov eax, dword [0x42dccc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41d438
cmp dword [0x42dcd0], ecx
je 0x41d438
push eax
call esi
push dword [0x42dcd0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41d438
test ebx, ebx
je 0x41d438
call edi
test eax, eax
je 0x41d42f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41d42f
test byte [ebp - 8], 1
jne 0x41d438
or dword [ebp + 0x10], 0x200000
jmp 0x41d46b
mov eax, dword [0x42dcc4]
cmp eax, dword [ebp - 0x18]
je 0x41d46b
push eax
call esi
test eax, eax
je 0x41d46b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41d46b
mov eax, dword [0x42dcc8]
cmp eax, dword [ebp - 0x18]
je 0x41d46b
push eax
call esi
test eax, eax
je 0x41d46b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42dcc0]
call esi
test eax, eax
je 0x41d487
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41d489
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040f600
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x406e61
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x431414], 0
jne 0x406e9f
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406e75
mov dword [ecx*4 + 0x431410], eax
inc ecx
cmp ecx, 0x100
jl 0x406e70
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x406ecc
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x431410]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x406ead
not eax
pop ebp
ret 0xc

Function at 0xdf4ce0
Capabilities:
Encode data using xor

Disassembly:
jmp 0xdf4cea
pushal
call 0xdf4cf0
pop ebp
sub ebp, 0x10
sub ebp, 0x9f4ce0
jmp 0xdf4d06
dec esp
lahf
add cl, ch
add al, 0
add byte [eax], al
out dx, al
inc edx
cmp al, 0x81
mov eax, 0x9f4ce0
add eax, ebp
add eax, 0x4c
mov ecx, 0x5f2
dec esp
lahf
add byte [ebx], al
lds eax, [ecx + 0x4cc0]
add byte [ecx + 0x5f2], bh
mov edx, 0x65ab655c
xor byte [eax], dl
inc eax
dec ecx
jne 0xdf4d1d
invalid
jmp 0xdf4d30
je 0xdf4d08
xlatb
xchg ecx, eax
xlatb
aad 0x60
pop esp
pop esp
pop esp
fstp qword [ebp + 0x5c5c5ca4]
pop edi
xchg ecx, eax
in al, 0x54
pop esp
pop esp
pop esp
out 0x74, al
pop esp
pop esp
pop esp
stosd dword es:[edi], eax
mov esi, 0xddd7945f
push eax
pop esp
pop esp
pop esp
pop edi
cdq
sar dword [eax], 1
js 0xdf4cfa
aad 0x58
js 0xdf4d2f
cmp byte [eax - 0x60], bh
aad 0x58
js 0xdf4d99
js 0xdf4d42
jge 0xdf4dc5
xor al, 0xe0
cdq
and dword [ebp + ebx*2 + 0x70], ebx
js 0xdf4da6
xchg dword [ebx + 0x59b4cfbb], esi
pop esp
pop esp
pop esp
mov ch, 0x72
pop esp
pop esp
pop esp
sar dword [eax], 1
js 0xdf4d24
aad 0x70
js 0xdf4d90
add edi, edx
fst dword [esp + ebx*2 + 0x5c]
pop esp
xlatb
leave
push eax
pop esp
pop esp
pop esp
xlatb
ror dword [esp + ebx*2 + 0x5c], 1
pop esp
pop esp
popfd
mov ch, 0x5e
insd dword es:[edi], dx
pop esi
fistp word [esi - 0x26aceaa8]
test al, 0xa3
mov dword [0x509e01a3], eax
pop esp
xlatb
sar byte [eax + 0x58], 1
pop esp
pop esp
pop esp
xor al, 0x78
fstp xword [ebp + 0x5c]
xor al, 0xe0
cdq
and dword [ebp + ebx*2 + 0x70], ebx
js 0xdf4dd0
mov ah, 0x59
pop esp
pop esp
pop esp
mov ch, 0xd
pop esi
pop esp
pop esp
or edi, edx
mov al, 0xa3
sub dword [eax - 0x5d], edx
sub dword [esp + esi*4 - 0x28], edx
mov dword [0x29a35029], eax
push esp
mov ah, 0xd8
pop esp
pop esp
pop esp
xlatb
loope 0xdf4e32
pop esp
pop esp
pop esp
invalid
mov dword [0x651075a3], eax
pop ebp
fistp word [ebp + 0x58b4df59]
mov ch, 0xe1
mov dword [0x875a3a3], eax
pop esi
fistp word [ebp + 0x58b6df5a]
fbstp tbyte [ecx + ebx*2 - 0x5c5c084b]
mov dword [0xd17870d7], eax
cmp byte [eax + 0x58], bh
sahf
push eax
pop esp
or edi, edx
mov al, 0xa
or ecx, dword [ecx]
xlatb
sub dword [eax - 0x29], edx
and dword [eax - 0x12], edx
invalid
Function at 0x404578
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
xor edx, edx
call fcn.00406eec
test esi, esi
jne 0x4045b0
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00407028
jmp 0x4045ce
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004044bc
mov edi, eax
test esi, esi
je 0x4045ce
cmp dword [ebx], 0
je 0x4045ce
dec esi
jmp 0x4045b7
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x40647c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4ac050], 0
je 0x4064dd
cmp word [0x4ac32c], 0xd7b2
jne 0x4064a5
cmp dword [0x4ac334], 0
jbe 0x4064a5
mov eax, 0x4ac328
call dword [0x4ac344]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x406508
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4a9030], 0
jne 0x4064f9
push 0
push 0x4a97a0
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x406668
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x4a9038], 0
je 0x40668e
mov edx, esi
mov eax, ebx
call dword [0x4a9038]
jmp 0x40669d
mov eax, 8
call fcn.00404204
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x4ac051], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x406630
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc