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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x451394]
cmp byte [eax + 0xc], 0
je 0x4389d5
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4389ce
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x452af4], 0
jne 0x4388bc
push 0x4389dc
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4389e4
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452af4], eax
cmp dword [0x450d8c], 0
jne 0x4389b7
push 0x4389f4
call sub.kernel32.dll_LoadLibraryA
mov dword [0x450d8c], eax
cmp dword [0x450d8c], 0
je 0x4389b7
push 0x438a00
mov eax, dword [0x450d8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452af8], eax
push 0x438a10
mov eax, dword [0x450d8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452afc], eax
push 0x438a24
mov eax, dword [0x450d8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b00], eax
push 0x438a3c
mov eax, dword [0x450d8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b04], eax
push 0x438a54
mov eax, dword [0x450d8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b08], eax
push 0x438a68
mov eax, dword [0x450d8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b0c], eax
push 0x438a80
mov eax, dword [0x450d8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b10], eax
push 0x438a98
mov eax, dword [0x450d8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b14], eax
push 0x438ab4
mov eax, dword [0x450d8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b18], eax
push 0x438ac0
mov eax, dword [0x450d8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b1c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4389d5
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x43c898
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.00403ebc
push 0
movzx eax, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43c8e6
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.0040412c
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x440858
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44098b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x16], 0
lea eax, [ebp - 0x16]
push eax
call sub.user32.dll_GetKeyboardLayoutNameA
mov dl, 1
mov eax, dword [0x41a89c]
call fcn.0041a96c
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x440961
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.0041aa0c
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x16]
mov ecx, 0xa
call fcn.0040412c
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x4409a0
call fcn.004041c8
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0041aa70
lea ecx, [ebp - 4]
mov edx, 0x4409dc
mov eax, dword [ebp - 0xc]
call fcn.0041aca0
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0040cac8
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x440944
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x4409e8
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x450e98]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44094b
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret

Function at 0x440a38
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x440a7f
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x440a62
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x440a73
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x440a7f
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x444564
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x4445b8]
test si, 4
je 0x444579
or bl, 1
test si, 8
je 0x444583
or bl, 4
test si, 1
je 0x44458d
or bl, 8
test si, 2
je 0x444597
or bl, 0x10
test si, 0x10
je 0x4445a1
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4445b0
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4445bc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x4445f8]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4445d6
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4445e5
or bl, 4
test esi, 0x20000000
je 0x4445f0
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44b66c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44b67e
add esp, 0xfffffff0
call fcn.0040345c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041944c
mov eax, dword [0x451080]
mov dword [eax + 4], ebx
mov dword [eax], 0x44ba10
mov eax, dword [0x45108c]
mov dword [eax + 4], ebx
mov dword [eax], 0x44ba1c
mov eax, ebx
call fcn.0044ba28
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411318]
call fcn.00403120
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411318]
call fcn.00403120
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411318]
call fcn.00403120
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411318]
call fcn.00403120
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411318]
call fcn.00403120
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, 0x4476f8
push eax
push 0
push 0
mov eax, dword [0x4511c4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41b464]
call fcn.0041c8dc
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41b464]
call fcn.0041c8dc
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41b464]
call fcn.0041c8dc
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044be64
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44bd28
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44bd28
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44bd28
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44b7bb
call fcn.004034b4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44bb0c
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 0x44bcb7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44bc98
mov dl, 1
mov eax, dword [0x41173c]
call fcn.00403120
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403ebc
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44bc87
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.00438bc4
test al, al
je 0x44bc7a
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, 0x44bcc8
lea eax, [ebp - 0x254]
call fcn.004088f4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44bc7a
xor eax, eax
push ebp
push 0x44bc73
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 0x44bd00
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44bc5c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040412c
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 0x44bc5c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040412c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44bc7a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44bb7d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041539c
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 0x44bcbe
lea eax, [ebp - 0x260]
call fcn.00403ebc
ret

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

Disassembly:
push ecx
mov eax, dword [0x452b40]
cmp byte [eax + 0xad], 0
jne 0x44c6ad
cmp dword [0x452b58], 0
jne 0x44c66e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44c5f8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x452b58], eax
cmp dword [0x452b54], 0
jne 0x44c689
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x452b54], eax
cmp dword [0x452b5c], 0
jne 0x44c6ad
push esp
push 0
push 0
push 0x44c59c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x452b5c], eax
pop edx
ret
Function at 0x44c880
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44c897
add esp, 0xfffffff0
call fcn.0040345c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041944c
mov eax, dword [0x4511b0]
cmp word [eax + 2], 0
jne 0x44c8bf
mov eax, dword [0x4511b0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044e2ec
mov eax, dword [0x451250]
cmp word [eax + 2], 0
jne 0x44c8d9
mov eax, dword [0x451250]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044e4f8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411318]
call fcn.00403120
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411318]
call fcn.00403120
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x411318]
call fcn.00403120
mov dword [ebx + 0xb0], 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 + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x41bc38]
call fcn.004219f8
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x44ca88
mov eax, dword [0x4510e0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00421dcc
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44ec1c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4510e0]
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.0040bf58
test eax, eax
je 0x44c9e0
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408328
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040bf8c
test eax, eax
je 0x44c9f4
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.0040412c
push ebx
push 0x44de4c
call fcn.0041a5b4
mov dword [ebx + 0xc8], eax
mov eax, dword [0x450ff0]
cmp byte [eax], 0
jne 0x44ca3e
mov eax, ebx
call fcn.0044cbcc
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0044edf8
mov eax, ebx
call fcn.0044f948
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44ca7e
call fcn.004034b4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44ce4c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x452b40]
cmp dword [eax + 0x30], 0
je 0x44cef6
cmp dword [ebx + 0x94], 0
jne 0x44cef0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44cddc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44cef0
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 0x44ceb6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44cef0
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.00413694
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44cec5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44dc10
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x44dc45
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.00403fac
jmp 0x44dc52
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403f10
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44efdc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44f04a
mov eax, esi
call fcn.00433d74
test al, al
je 0x44f04a
mov eax, dword [ebx + 0x84]
call fcn.00433b18
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44f04a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xec]
test al, al
je 0x44f03e
push 0
mov eax, dword [ebx + 0x84]
call fcn.00433b18
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0042cc6c
jmp 0x44f04a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0044ee18
pop esi
pop ebx
ret
Function at 0x412f60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xe000]
push edi
or ebp, 0xffffffff
jmp 0x412f82
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x412f89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x412f78
mov eax, 1
add ebx, ebx
jne 0x412f9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x412f90
jne 0x412fac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x412f90
xor ecx, ecx
sub eax, 3
jb 0x412fc0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x413032
mov ebp, eax
add ebx, ebx
jne 0x412fcb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x412fd8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x412ffc
inc ecx
add ebx, ebx
jne 0x412fe8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x412fdd
jne 0x412ff9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x412fdd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41301c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41300d
jmp 0x412f7e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41301c
add edi, ecx
jmp 0x412f7e
pop esi
mov edi, esi
mov ecx, 0x2ac
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41303a
cmp byte [edi], 0
jne 0x41303a
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 0x41303f
lea edi, [esi + 0x10000]
mov eax, dword [edi]
or eax, eax
je 0x4130ae
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x130b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1311c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41306c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x13124]
or eax, eax
je 0x4130a8
mov dword [ebx], eax
add ebx, 4
jmp 0x413089
call dword [esi + 0x13120]
mov ebp, dword [esi + 0x13128]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x4130e2
sub esp, 0xffffff80
jmp 0x406f9c
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41d004]
jne 0x40100a
repz ret
jmp fcn.00401493

Function at 0x408d24
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.0040581f
and dword [ebp - 4], 0
cmp dword [0x41f284], 0
mov ebx, eax
jne 0x408dd5
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408e86
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x408e86
push eax
call fcn.004057ad
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x41f284], eax
call esi
push eax
call fcn.004057ad
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x41f288], eax
call esi
push eax
call fcn.004057ad
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x41f28c], eax
call esi
push eax
call fcn.004057ad
pop ecx
mov dword [0x41f294], eax
test eax, eax
je 0x408dd5
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004057ad
pop ecx
mov dword [0x41f290], eax
mov eax, dword [0x41f290]
cmp eax, ebx
je 0x408e2d
cmp dword [0x41f294], ebx
je 0x408e2d
push eax
call fcn.00405828
push dword [0x41f294]
mov esi, eax
call fcn.00405828
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408e2d
test edi, edi
je 0x408e2d
call esi
test eax, eax
je 0x408e24
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408e24
test byte [ebp - 0xc], 1
jne 0x408e2d
or dword [ebp + 0x10], 0x200000
jmp 0x408e66
mov eax, dword [0x41f288]
cmp eax, ebx
je 0x408e66
push eax
call fcn.00405828
pop ecx
test eax, eax
je 0x408e66
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x408e66
mov eax, dword [0x41f28c]
cmp eax, ebx
je 0x408e66
push eax
call fcn.00405828
pop ecx
test eax, eax
je 0x408e66
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41f284]
call fcn.00405828
pop ecx
test eax, eax
je 0x408e86
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408e88
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41963f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp esi, 0x19f
jne 0x41965d
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaProcessorNode]
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
xor edx, edx
test esi, esi
jle 0x41967e
and dword [ebp - 4], 0
lea ecx, [ebp - 4]
call fcn.00419637
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 4]
add eax, edx
xor byte [eax], cl
inc edx
cmp edx, esi
jl 0x419663
cmp esi, 0x2d
jne 0x419694
or dword [0x4a868c], 0xffffffff
mov dword [0x4a8688], 0xa62e7790
leave
ret
Function at 0xac62b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf000]
push edi
jmp 0xac62ca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xac62d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xac62c0
mov eax, 1
add ebx, ebx
jne 0xac62e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xac62d8
jne 0xac62f4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xac62d8
xor ecx, ecx
sub eax, 3
jb 0xac6308
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xac637a
mov ebp, eax
add ebx, ebx
jne 0xac6313
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0xac6320
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0xac6344
inc ecx
add ebx, ebx
jne 0xac6330
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xac6325
jne 0xac6341
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xac6325
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xac6364
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xac6355
jmp 0xac62c6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xac6364
add edi, ecx
jmp 0xac62c6
pop esi
lea edi, [esi + 0x14000]
mov eax, dword [edi]
or eax, eax
je 0xac63c3
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x16000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1606c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xac6381
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x16074]
or eax, eax
je 0xac63bd
mov dword [ebx], eax
add ebx, 4
jmp 0xac639e
call dword [esi + 0x16070]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0xac63f4
cmp al, 0xef
ja 0xac63e7
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0xac63c9
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0xac63d6
mov ebp, dword [esi + 0x16078]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0xac6428
sub esp, 0xffffff80
jmp 0xab5dd2
Function at 0x403220
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x9e17c0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
mov ecx, dword [ebp + 8]
call fcn.00404290
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x40325e
xor al, al
jmp 0x4032a4
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], 0
je 0x40329a
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0x10]
jne 0x40329a
mov dword [ebp - 0x10], 1
jmp 0x4032a1
mov dword [ebp - 0x10], 0
mov al, byte [ebp - 0x10]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00407433
mov esp, ebp
pop ebp
ret