joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5ed410
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 0x5ed457
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5ed43a
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5ed44b
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x5ed457
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x5f9218
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
mov edi, eax
test bl, bl
je 0x5f9239
test edi, 0x40000
je 0x5f9253
test bl, bl
jne 0x5f92d4
mov eax, 0x40000
and eax, edi
cmp eax, 0x40000
jne 0x5f92d4
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push esi
call sub.user32.dll_IsWindowVisible
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x5f9286
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x5f929b
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
jmp 0x5f92aa
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x5f92bb
cmp byte [esp + 2], 0
je 0x5f92d4
cmp byte [esp + 2], 0
je 0x5f92cc
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x5f92d4
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x5f9578
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x5f959e
mov eax, esp
push eax
push 0x5f9540
call sub.user32.dll_EnumWindows
jmp 0x5f95b1
mov eax, esp
push eax
push 0x5f9520
call sub.kernel32.dll_GetCurrentThreadId
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x5f9674
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
xor eax, eax
mov si, ax
test bl, 4
je 0x5f9686
or si, 1
test bl, 8
je 0x5f968f
or si, 4
test bl, 1
je 0x5f9698
or si, 8
test bl, 2
je 0x5f96a1
or si, 0x10
test bl, 0x10
je 0x5f96aa
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5f96ba
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x5f96c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
xor eax, eax
mov bx, ax
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5f96d9
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5f96e9
or bx, 4
test esi, 0x20000000
je 0x5f96f5
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x603128
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x60313a
add esp, 0xfffffff0
call fcn.00408758
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0047ef00
mov eax, dword [0x622cc4]
mov dword [eax + 4], ebx
mov dword [eax], 0x6035fc
mov eax, dword [0x622cd4]
mov dword [eax + 4], ebx
mov dword [eax], 0x603608
mov eax, ebx
call fcn.00603614
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x440e40]
call fcn.00408100
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x440e40]
call fcn.00408100
mov dword [ebx + 0x60], eax
mov dl, 1
mov eax, dword [0x440e40]
call fcn.00408100
mov dword [ebx + 0x64], eax
mov dl, 1
mov eax, dword [0x440e40]
call fcn.00408100
mov dword [ebx + 0x68], eax
mov dl, 1
mov eax, dword [0x440e40]
call fcn.00408100
mov dword [ebx + 0x84], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x50], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x68]
push eax
mov eax, 0x5fd634
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x5208bc]
call fcn.005273ac
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x5208bc]
call fcn.005273ac
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x5208bc]
call fcn.005273ac
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x5208bc]
call fcn.005273ac
mov dword [ebx + 0x94], eax
mov dl, 1
mov eax, dword [0x5208bc]
call fcn.005273ac
mov dword [ebx + 0x98], eax
mov eax, ebx
call fcn.00603bf4
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x603a24
mov eax, dword [ebx + 0x90]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x603a24
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x603a24
mov eax, dword [ebx + 0x94]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x603a24
mov eax, dword [ebx + 0x98]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x603a24
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x6032ba
call fcn.004087b0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x6037c0
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x603970
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0
jne 0x60394f
mov dl, 1
mov eax, dword [0x4448b8]
call fcn.0046ecf4
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.00409f18
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x60393e
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.0055d43c
test al, al
je 0x603931
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
movzx eax, word [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x603980
lea eax, [ebp - 0x394]
call fcn.00425b2c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x603931
xor eax, eax
push ebp
push 0x60392a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x6039f0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x603911
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040a9b4
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov ebx, dword [eax]
call dword [ebx + 0x40]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x4c]
jne 0x603911
mov eax, dword [ebp - 4]
add eax, 0x48
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040a9b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x603931
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x603831
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov byte [eax + 0x2d], 0
mov dl, 1
call fcn.0046ec1c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x44]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x603977
lea eax, [ebp - 0x3a0]
call fcn.00409f18
pop eax
jmp eax

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

Disassembly:
push ecx
mov eax, dword [0x62abf8]
cmp byte [eax + 0xc5], 0
jne 0x6045fa
cmp dword [0x62ac1c], 0
jne 0x6045ba
call sub.kernel32.dll_GetCurrentThreadId
push eax
push 0
mov eax, dword [0x622afc]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x62ac1c], eax
cmp dword [0x62ac18], 0
jne 0x6045d5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x62ac18], eax
cmp dword [0x62ac20], 0
jne 0x6045fa
push esp
push 0
push 0
mov eax, dword [0x622af8]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x62ac20], eax
pop edx
ret
Function at 0x604a1c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x604a33
add esp, 0xfffffff0
call fcn.00408758
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0047ef00
mov eax, dword [0x622b78]
cmp byte [eax], 0
jne 0x604a60
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x194], al
mov eax, dword [0x622ec4]
cmp word [eax + 2], 0
jne 0x604a7a
mov eax, dword [0x622ec4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00606e08
mov eax, dword [0x623004]
cmp word [eax + 2], 0
jne 0x604a94
mov eax, dword [0x623004]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0060700c
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x5208bc]
call fcn.005273ac
mov esi, eax
mov dword [ebx + 0x54], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x607594
mov dl, 1
mov eax, dword [0x440e40]
call fcn.00408100
mov dword [ebx + 0xa8], eax
mov dl, 1
mov eax, dword [0x440e40]
call fcn.00408100
mov dword [ebx + 0xc8], eax
xor eax, eax
mov dword [ebx + 0x74], eax
xor eax, eax
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x70], 0xff000018
mov dword [ebx + 0x8c], 0x1f4
mov byte [ebx + 0x90], 1
xor eax, eax
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x88], 0x9c4
mov byte [ebx + 0x9c], 0
mov byte [ebx + 0xbd], 1
mov byte [ebx + 0xd4], 1
mov dl, 1
mov eax, dword [0x525a28]
call fcn.00531928
mov esi, eax
mov dword [ebx + 0xb8], esi
push 0x604c84
mov eax, dword [0x622d70]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00531e44
mov eax, dword [ebx + 0xb8]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x607880
mov dl, 1
mov eax, dword [0x440e40]
call fcn.00408100
mov dword [ebx + 0xb0], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x622d70]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0042592c
test eax, eax
je 0x604bae
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00425784
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00425910
test eax, eax
je 0x604bc6
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0xa4]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.0040a9b4
push ebx
push 0x6067e4
call fcn.005f9658
mov dword [ebx + 0x190], eax
mov byte [ebx + 0xe8], 0
mov eax, dword [0x622b78]
cmp byte [eax], 0
jne 0x604c17
mov eax, ebx
call fcn.00604e4c
mov byte [ebx + 0x6d], 1
mov byte [ebx + 0x6e], 1
mov byte [ebx + 0x6f], 1
mov byte [ebx + 0xbe], 1
mov byte [ebx + 0xe9], 0
mov byte [ebx + 0xf4], 0
xor eax, eax
mov dword [ebx + 0xec], eax
mov byte [ebx + 0xeb], 0
xor eax, eax
mov dword [ebx + 0xc0], eax
mov eax, ebx
call fcn.00607abc
mov eax, ebx
call fcn.00608770
mov byte [ebx + 0x196], 0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x604c7b
call fcn.004087b0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x60517c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x188]
test eax, eax
je 0x60521e
cmp dword [ebx + 0xac], 0
jne 0x605218
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x6050bc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x605218
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_GetWindowLongW
test al, 8
je 0x6051de
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x605218
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [ebx + 0xa8]
mov edx, esi
call fcn.00469ae0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x6051ed
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x6054c4
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x62abf8]
cmp dword [eax + 0x188], 0
je 0x60562d
test bl, bl
jne 0x605580
cmp dword [esi + 0xb4], 0
jne 0x605575
mov eax, esi
call fcn.006085c0
push eax
push 0x6053c4
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x605546
mov eax, dword [0x62abf8]
cmp byte [eax + 0xeb], 0
je 0x605546
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x605527
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x605546
push 0
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x60552f
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x605575
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.00469ae0
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x605555
inc dword [esi + 0xb4]
jmp 0x60562d
cmp dword [esi + 0xb4], 0
jle 0x60562d
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x60562d
cmp dword [esi + 0x58], 0
je 0x6055e2
mov eax, dword [0x62abf8]
cmp byte [eax + 0xeb], 0
je 0x6055e2
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x6055c3
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x6055e2
push 5
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x6055cb
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x605611
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.00469ae0
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x6055f1
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x5f5c20]
call fcn.0040caa8
pop edi
pop esi
pop ebx
ret
Function at 0x6063f0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x60644d
cmp byte [ebx + 0xeb], 0
jne 0x60644d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x188]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040a0a0
mov eax, dword [esi]
test eax, eax
je 0x60643a
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x60645a
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a2f8
jmp 0x60645a
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a2f8
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x607cd0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x607d41
mov eax, esi
call fcn.00556ac4
test al, al
je 0x607d41
mov eax, dword [ebx + 0x98]
call fcn.005566ec
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x607d41
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x150]
test al, al
je 0x607d32
push 0
mov eax, dword [ebx + 0x98]
call fcn.005566ec
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.0054ca60
jmp 0x607d41
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.00607adc
pop esi
pop ebx
ret
Function at 0x61094c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x90], 0
jne 0x6109d2
mov eax, dword [ebx + 8]
call fcn.005566ec
mov ecx, eax
mov dl, 1
mov eax, dword [0x56476c]
call fcn.005503a8
mov dword [ebx + 0x90], eax
mov esi, dword [ebx + 0x90]
xor edx, edx
mov eax, esi
call fcn.0056a934
mov dword [esi + 0x2d4], ebx
mov dword [esi + 0x2d0], 0x61021c
push 8
mov edx, 3
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xdc]
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x90]
call fcn.005566ec
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x90]
call fcn.005566ec
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0xa0], 0
jne 0x610a54
mov eax, dword [ebx + 8]
call fcn.005566ec
mov ecx, eax
mov dl, 1
mov eax, dword [0x56476c]
call fcn.005503a8
mov dword [ebx + 0xa0], eax
mov esi, dword [ebx + 0xa0]
mov dl, 1
mov eax, esi
call fcn.0056a934
mov dword [esi + 0x2d4], ebx
mov dword [esi + 0x2d0], 0x610268
push 8
push 0
mov edx, 2
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xdc]
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0xa0]
call fcn.005566ec
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0xa0]
call fcn.005566ec
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x98], 0
jne 0x610ad2
mov eax, dword [ebx + 8]
call fcn.005566ec
mov ecx, eax
mov dl, 1
mov eax, dword [0x565250]
call fcn.005503a8
mov dword [ebx + 0x98], eax
mov esi, dword [ebx + 0x98]
mov byte [esi + 0x2a8], 1
push 8
mov edx, 3
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xdc]
push eax
mov edx, 2
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xdc]
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x98]
call fcn.005566ec
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x98]
call fcn.005566ec
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4659a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x457015
lea edi, [esi - 0x56015]
push edi
or ebp, 0xffffffff
jmp 0x4659c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4659c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4659b8
mov eax, 1
add ebx, ebx
jne 0x4659db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4659d0
jne 0x4659ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4659d0
xor ecx, ecx
sub eax, 3
jb 0x465a00
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x465a72
mov ebp, eax
add ebx, ebx
jne 0x465a0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x465a18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x465a3c
inc ecx
add ebx, ebx
jne 0x465a28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x465a1d
jne 0x465a39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x465a1d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x465a5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x465a4d
jmp 0x4659be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x465a5c
add edi, ecx
jmp 0x4659be
pop esi
mov edi, esi
mov ecx, 0x33e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x465a7a
cmp byte [edi], 0
jne 0x465a7a
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 eax, ebx
loop 0x465a7f
lea edi, [esi + 0x63000]
mov eax, dword [edi]
or eax, eax
je 0x465aee
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x651f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x65254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x465aac
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x65258]
or eax, eax
je 0x465ae8
mov dword [ebx], eax
add ebx, 4
jmp 0x465ac9
call dword [esi + 0x6525c]
popal
jmp 0x40da18

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

Disassembly:
call 0x43000c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x41275c
Capabilities:
Encode data using xor

Disassembly:
mov bl, 0x20
mov ebp, 0xd3fef3c3
jns 0x4127dc
sub al, 0x42
in eax, 0x49
xchg ecx, eax
add dl, byte [ebp - 0x462863bc]
sbb edx, ebx
popal
xor byte [esp + eax + 0x16fdf4f3], bh
cmpsb byte [esi], byte es:[edi]
mov word [esi], ds
sub al, 0xeb
iretd
push cs
loop 0x4127e0
xchg edx, eax
invalid

Function at 0x417e10
Capabilities:
Get common file path

Disassembly:
sub esp, 0x58
mov eax, dword [0x630038]
mov dword [esp + 4], 0
push esi
lea ecx, [eax + eax]
mov eax, dword [0x63003c]
or ecx, eax
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x60]
fild qword [esp + 4]
test ecx, ecx
fadd qword [0x630050]
fstp qword [0x630050]
je 0x417e63
mov eax, dword [0x6337e0]
test eax, eax
je 0x417e57
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
pop esi
add esp, 0x58
ret 4
mov dl, byte [0x630042]
mov cl, byte [0x630049]
xor cl, dl
mov edx, dword [0x630030]
mov byte [0x630049], cl
add byte [ebx + 0x6300340d], cl
add byte [ebx - 0x1f7cfb1f], al
or al, 3
ror dword [ebx + 0x63003835], 1
add byte [ecx + 0x63003015], cl
add byte [ebx + 0x63004815], cl
add byte [ecx + 0xffe2], al
add byte [ebp + 0xf], dl
scasd eax, dword es:[edi]
ret 0xf033
push edi
lea eax, [esp + 0x14]
push 0x50
push eax
mov dword [0x630038], esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, str.dsound.dll
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x15]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov al, byte [0x63004e]
mov ecx, ebp
and ecx, 3
lea edx, [esp + 0x14]
rep movsb byte es:[edi], byte [esi]
mov cl, byte [0x630040]
push edx
and cl, al
mov byte [0x630040], cl
mov cl, byte [0x630047]
or cl, 2
shr cl, 1
and ecx, 0xff
mov dword [esp + 0x6c], ecx
fild dword [esp + 0x6c]
fdivr qword [0x630050]
fadd qword [0x62e2c0]
fstp qword [0x6339b0]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop edi
mov dword [0x6337e0], eax
test eax, eax
pop ebp
je 0x417f88
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.DirectSoundCreate
push eax
call esi
mov dword [0x6337dc], eax
mov eax, dword [0x6337e0]
push str.DirectSoundEnumerateA
push eax
call esi
mov ecx, dword [0x6337dc]
mov dword [0x6337e4], eax
test ecx, ecx
je 0x417f7e
test eax, eax
je 0x417f7e
mov eax, 1
pop esi
add esp, 0x58
ret 4
mov dword [0x6337e0], 0
xor eax, eax
pop esi
add esp, 0x58
ret 4