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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4cce48]
cmp byte [eax + 0xc], 0
je 0x448e71
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x448e6a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4d0548], 0
jne 0x448d58
push 0x448e78
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x448e80
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d0548], eax
cmp dword [0x4635dc], 0
jne 0x448e53
push 0x448e90
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4635dc], eax
cmp dword [0x4635dc], 0
je 0x448e53
push 0x448e9c
mov eax, dword [0x4635dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d054c], eax
push 0x448eac
mov eax, dword [0x4635dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d0550], eax
push 0x448ec0
mov eax, dword [0x4635dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d0554], eax
push 0x448ed8
mov eax, dword [0x4635dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d0558], eax
push 0x448ef0
mov eax, dword [0x4635dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d055c], eax
push 0x448f04
mov eax, dword [0x4635dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d0560], eax
push 0x448f1c
mov eax, dword [0x4635dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d0564], eax
push 0x448f34
mov eax, dword [0x4635dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d0568], eax
push 0x448f50
mov eax, dword [0x4635dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d056c], eax
push 0x448f5c
mov eax, dword [0x4635dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d0570], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x448e71
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44e4e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x44e534]
test si, 4
je 0x44e4f5
or bl, 1
test si, 8
je 0x44e4ff
or bl, 4
test si, 1
je 0x44e509
or bl, 8
test si, 2
je 0x44e513
or bl, 0x10
test si, 0x10
je 0x44e51d
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44e52c
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44e538
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x44e574]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44e552
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44e561
or bl, 4
test esi, 0x20000000
je 0x44e56c
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x455c28
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x455c3a
add esp, 0xfffffff0
call fcn.00403b90
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041d5d4
mov eax, dword [0x4ccac4]
mov dword [eax + 4], ebx
mov dword [eax], 0x455fcc
mov eax, dword [0x4ccad0]
mov dword [eax + 4], ebx
mov dword [eax], 0x455fd8
mov eax, ebx
call fcn.00455fe4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x415210]
call fcn.00403854
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x415210]
call fcn.00403854
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x415210]
call fcn.00403854
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x415210]
call fcn.00403854
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x415210]
call fcn.00403854
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, 0x451a7c
push eax
push 0
push 0
mov eax, dword [0x4ccc3c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x421150]
call fcn.00422670
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x421150]
call fcn.00422670
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x421150]
call fcn.00422670
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00456414
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4562e4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4562e4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4562e4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x455d77
call fcn.00403be8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4560c8
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 0x456273
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x456254
mov dl, 1
mov eax, dword [0x415634]
call fcn.00403854
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404698
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x456243
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.00449060
test al, al
je 0x456236
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, 0x456284
lea eax, [ebp - 0x254]
call fcn.00409494
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x456236
xor eax, eax
push ebp
push 0x45622f
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 0x4562bc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x456218
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404908
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 0x456218
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404908
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456236
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x456139
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041939c
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 0x45627a
lea eax, [ebp - 0x260]
call fcn.00404698
ret

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

Disassembly:
push ecx
mov eax, dword [0x4d0580]
cmp byte [eax + 0xad], 0
jne 0x456c5d
cmp dword [0x4d0598], 0
jne 0x456c1e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x456ba8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4d0598], eax
cmp dword [0x4d0594], 0
jne 0x456c39
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4d0594], eax
cmp dword [0x4d059c], 0
jne 0x456c5d
push esp
push 0
push 0
push 0x456b4c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4d059c], eax
pop edx
ret
Function at 0x456e30
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x456e47
add esp, 0xfffffff0
call fcn.00403b90
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041d5d4
mov eax, dword [0x4ccc24]
cmp word [eax + 2], 0
jne 0x456e6f
mov eax, dword [0x4ccc24]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00458970
mov eax, dword [0x4cccd4]
cmp word [eax + 2], 0
jne 0x456e89
mov eax, dword [0x4cccd4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00458b7c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x415210]
call fcn.00403854
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x415210]
call fcn.00403854
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x415210]
call fcn.00403854
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 [0x42192c]
call fcn.00427818
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x457040
mov eax, dword [0x4ccb30]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00427bec
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45923c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4ccb30]
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.0040cc24
test eax, eax
je 0x456f90
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408e4c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cc58
test eax, eax
je 0x456fa4
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.00404908
mov byte [ebx + 0xd4], 0
push ebx
push 0x4584d0
call fcn.0041e750
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4cca14]
cmp byte [eax], 0
jne 0x456ff5
mov eax, ebx
call fcn.00457184
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.00459418
mov eax, ebx
call fcn.00459f78
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x457035
call fcn.00403be8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x457404
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4d0580]
cmp dword [eax + 0x30], 0
je 0x4574ae
cmp dword [ebx + 0x94], 0
jne 0x4574a8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x457394
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4574a8
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 0x45746e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4574a8
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.00417644
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45747d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4581c8
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 0x4581fd
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.00404788
jmp 0x45820a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004046ec
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4595fc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45966a
mov eax, esi
call fcn.00443d84
test al, al
je 0x45966a
mov eax, dword [ebx + 0x84]
call fcn.004439e4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45966a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45965e
push 0
mov eax, dword [ebx + 0x84]
call fcn.004439e4
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0043be10
jmp 0x45966a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00459438
pop esi
pop ebx
ret
Function at 0x45a628
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x407334]
call fcn.00405108
xor eax, eax
push ebp
push 0x45a7c9
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x46375c], 0
jne 0x45a683
mov ecx, dword [0x4cca24]
mov dl, 1
mov eax, dword [0x4076b4]
call fcn.0040bf34
call fcn.004040e0
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.004031c0
mov eax, ebx
call fcn.00404fd8
mov dword [ebp - 0x24], eax
mov esi, 0x45a7d8
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.0040607c
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00404fe8
test eax, eax
jle 0x45a76c
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x45a758
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404908
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x45a6fe
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.00404920
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x45a714
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.00404920
mov eax, dword [ebp - 0x54]
call fcn.00404b5c
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404908
mov eax, dword [ebp - 0x58]
call fcn.00404b5c
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x45a75a
xor eax, eax
test al, al
je 0x45a765
mov ebx, 0x15
jmp 0x45a771
mov ebx, 0x10
jmp 0x45a771
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x46375c]
call fcn.0045a4ac
mov eax, dword [ebp - 4]
call fcn.0045a4ac
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00406094
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a7d0
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.004046bc
lea eax, [ebp - 0xc]
mov edx, dword [0x407334]
call fcn.004051cc
ret
Function at 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x7b204e71
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
loop 0x433060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x2eff37a9
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x429004]
jne 0x40100a
repz ret
jmp fcn.004019eb

Function at 0x406948
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.0040256b
and dword [ebp - 4], 0
cmp dword [0x42b264], 0
mov ebx, eax
jne 0x4069f9
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406aaa
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406aaa
push eax
call fcn.004024f9
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42b264], eax
call esi
push eax
call fcn.004024f9
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42b268], eax
call esi
push eax
call fcn.004024f9
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42b26c], eax
call esi
push eax
call fcn.004024f9
pop ecx
mov dword [0x42b274], eax
test eax, eax
je 0x4069f9
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004024f9
pop ecx
mov dword [0x42b270], eax
mov eax, dword [0x42b270]
cmp eax, ebx
je 0x406a51
cmp dword [0x42b274], ebx
je 0x406a51
push eax
call fcn.00402574
push dword [0x42b274]
mov esi, eax
call fcn.00402574
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x406a51
test edi, edi
je 0x406a51
call esi
test eax, eax
je 0x406a48
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x406a48
test byte [ebp - 0xc], 1
jne 0x406a51
or dword [ebp + 0x10], 0x200000
jmp 0x406a8a
mov eax, dword [0x42b268]
cmp eax, ebx
je 0x406a8a
push eax
call fcn.00402574
pop ecx
test eax, eax
je 0x406a8a
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406a8a
mov eax, dword [0x42b26c]
cmp eax, ebx
je 0x406a8a
push eax
call fcn.00402574
pop ecx
test eax, eax
je 0x406a8a
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42b264]
call fcn.00402574
pop ecx
test eax, eax
je 0x406aaa
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406aac
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4253bf
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x429004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
test ebx, ebx
jle 0x42541c
and dword [ebp - 0x808], 0
lea ecx, [ebp - 0x808]
call fcn.004253b7
mov al, byte [ebp - 0x808]
xor byte [edi + esi], al
cmp ebx, 0xf
jne 0x425417
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SleepEx]
inc esi
cmp esi, ebx
jl 0x4253d9
pop esi
cmp ebx, 0x2d
jne 0x425433
or dword [0x271339c], 0xffffffff
mov dword [0x2713398], 0xa62e7790
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
leave
ret
Function at 0x406371
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x238
mov eax, 0x40e86a
call fcn.0040d30f
mov dword [ebp - 0x21c], ecx
movzx eax, word [ebp + 8]
xor edi, edi
mov esi, dword [0x4166e8]
inc edi
push 0xf0
push eax
push esi
call dword [sym.imp.kernel32.dll_FindResourceW]
test eax, eax
je 0x4064e2
push eax
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
test eax, eax
je 0x4064e2
push eax
call dword [sym.imp.kernel32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4064e2
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x4064e2
mov ecx, dword [esi + 4]
mov ebx, eax
movzx eax, word [esi + 2]
add esi, 8
mov dword [ebp - 0x220], ecx
mov ecx, 0x403
cmp cx, ax
jne 0x40645b
push 3
lea eax, [ebp - 0x110]
push esi
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x114], eax
call main
push dword [ebp - 0x114]
mov eax, dword [ebp - 0x21c]
and dword [ebp - 4], 0
push 0
push 0x143
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor ecx, ecx
cmp eax, 0xffffffff
lea eax, [ebp - 0x110]
cmove edi, ecx
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x114], eax
je 0x4064d4
push dword [ebp - 0x114]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
jmp 0x4064d4
mov ecx, 0x1234
cmp cx, ax
jne 0x4064d4
or dword [ebp - 0x240], 0xffffffff
lea eax, [ebp - 0x214]
push 3
push esi
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x244], 1
mov dword [ebp - 0x218], eax
call main
mov eax, dword [ebp - 0x218]
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x23c], eax
cmp eax, ecx
je 0x4064ae
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
lea eax, [ebp - 0x244]
push eax
mov eax, dword [ebp - 0x21c]
push 0
push 0x40b
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor ecx, ecx
cmp eax, 0xffffffff
cmove edi, ecx
add esi, dword [ebp - 0x220]
test edi, edi
jne 0x4063c9
mov eax, edi
call fcn.0040d2ca
ret 4

Function at 0x432002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x6bac7cc4
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, str.I_U
mov ebx, 0x42f314
nop
mov ecx, 0x3cdf0b49
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x401971
Capabilities:
Clear file content
Get common file path
Get keyboard layout

Disassembly:
sub esp, 0x400
push esi
push edi
xor esi, esi
xor edi, edi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp edi, 0x58ced85
jg 0x401997
inc edi
cmp edi, 0x1f6502b1
jl 0x40197d
cmp dword [0x2813ee4], 0x400
jne 0x4019f8
push str.sadahoziyofejonoh_niforapo_pihekezavokigubodatojup_rafepigojamulexiwodugaxexude_jam
push str.nelugidoneyari
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push esi
push esi
call dword [sym.imp.USER32.dll_DdeKeepStringHandle]
push esi
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameW]
push 0x422c60
push esi
call dword [sym.imp.ADVAPI32.dll_BackupEventLogW]
push esi
call dword [sym.imp.KERNEL32.dll_CancelIo]
push esi
call fcn.00401fdd
push esi
call fcn.00401fa3
push esi
push esi
call fcn.00402307
push esi
call fcn.004023b4
push esi
call fcn.004023c3
add esp, 0x18
xor edi, edi
cmp edi, 0xd09a
jge 0x401a09
push esi
call dword [sym.imp.USER32.dll_GetCaretPos]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
cmp edi, 0xd2ced2
jg 0x401a31
inc edi
cmp edi, 0x263ff
jl 0x4019fa
mov eax, dword [0x426044]
mov dword [0x2813ee4], eax
call fcn.004016c8
mov edi, 0x3078f
cmp dword [0x2813ee4], 0x51f
jne 0x401a5d
push esi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
dec edi
jne 0x401a45
pop edi
xor eax, eax
pop esi
add esp, 0x400
ret 0x10

Function at 0x40522d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x425a74]
jne 0x405237
repz ret
jmp fcn.00407862