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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4551bc]
cmp byte [eax + 0xc], 0
je 0x43dd0d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43dd06
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x456b90], 0
jne 0x43dbf4
push 0x43dd14
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43dd1c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x456b90], eax
cmp dword [0x454b8c], 0
jne 0x43dcef
push 0x43dd2c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x454b8c], eax
cmp dword [0x454b8c], 0
je 0x43dcef
push 0x43dd38
mov eax, dword [0x454b8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x456b94], eax
push 0x43dd48
mov eax, dword [0x454b8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x456b98], eax
push 0x43dd5c
mov eax, dword [0x454b8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x456b9c], eax
push 0x43dd74
mov eax, dword [0x454b8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x456ba0], eax
push 0x43dd8c
mov eax, dword [0x454b8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x456ba4], eax
push 0x43dda0
mov eax, dword [0x454b8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x456ba8], eax
push 0x43ddb8
mov eax, dword [0x454b8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x456bac], eax
push 0x43ddd0
mov eax, dword [0x454b8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x456bb0], eax
push 0x43ddec
mov eax, dword [0x454b8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x456bb4], eax
push 0x43ddf8
mov eax, dword [0x454b8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x456bb8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43dd0d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

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

Function at 0x449324
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x449374]
test si, 4
je 0x449338
or bl, 1
test si, 8
je 0x449342
or bl, 4
test si, 1
je 0x44934c
or bl, 8
test si, 2
je 0x449356
or bl, 0x10
test si, 0x10
je 0x449360
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44936f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x449378
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4493b0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x449391
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4493a0
or bl, 4
test esi, 0x20000000
je 0x4493ab
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44fa58
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44fa6a
add esp, 0xfffffff0
call fcn.00403420
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004192c0
mov eax, dword [0x454e90]
mov dword [eax + 4], ebx
mov dword [eax], 0x44fdfc
mov eax, dword [0x454e9c]
mov dword [eax + 4], ebx
mov dword [eax], 0x44fe08
mov eax, ebx
call fcn.0044fe14
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4115b8]
call fcn.004030cc
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4115b8]
call fcn.004030cc
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4115b8]
call fcn.004030cc
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4115b8]
call fcn.004030cc
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4115b8]
call fcn.004030cc
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, 0x44c230
push eax
push 0
push 0
mov eax, dword [0x454fdc]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41ad14]
call fcn.0041c488
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41ad14]
call fcn.0041c488
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41ad14]
call fcn.0041c488
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00450234
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x450110
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x450110
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x450110
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44fba7
call fcn.00403478
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44fef4
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 0x45009f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x450080
mov dl, 1
mov eax, dword [0x4119d4]
call fcn.004030cc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403e4c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45006f
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.0043df00
test al, al
je 0x450062
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, 0x4500b0
lea eax, [ebp - 0x254]
call fcn.00408958
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x450062
xor eax, eax
push ebp
push 0x45005b
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 0x4500e8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x450044
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004040bc
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 0x450044
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004040bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450062
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44ff65
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004154b0
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 0x4500a6
lea eax, [ebp - 0x260]
call fcn.00403e4c
ret

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

Disassembly:
push ecx
mov eax, dword [0x456bdc]
cmp byte [eax + 0xa5], 0
jne 0x450a45
cmp dword [0x456bf4], 0
jne 0x450a06
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x450990
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x456bf4], eax
cmp dword [0x456bf0], 0
jne 0x450a21
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x456bf0], eax
cmp dword [0x456bf8], 0
jne 0x450a45
push esp
push 0
push 0
push 0x450934
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x456bf8], eax
pop edx
ret
Function at 0x450b3c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x450b53
add esp, 0xfffffff0
call fcn.00403420
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004192c0
mov eax, dword [0x454fc8]
cmp word [eax + 2], 0
jne 0x450b7b
mov eax, dword [0x454fc8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00452214
mov eax, dword [0x455074]
cmp word [eax + 2], 0
jne 0x450b95
mov eax, dword [0x455074]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045240c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4115b8]
call fcn.004030cc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4115b8]
call fcn.004030cc
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 [0x41b7f4]
call fcn.00422b6c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x450d1c
mov eax, dword [0x454ef0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00422f3c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4529ac
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x454ef0]
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.0040c028
test eax, eax
je 0x450c8a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040834c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c050
test eax, eax
je 0x450c9e
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004040bc
mov eax, dword [0x454de4]
cmp byte [eax], 0
jne 0x450cd2
mov eax, ebx
call fcn.00450e44
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.00452b88
mov eax, ebx
call fcn.0045354c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x450d12
call fcn.00403478
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4510c4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x456bdc]
cmp dword [eax + 0x30], 0
je 0x45116e
cmp dword [ebx + 0x94], 0
jne 0x451168
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x451054
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x451168
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 0x45112e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x451168
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.00413920
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45113d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x451cd0
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 0x451d05
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.00403f3c
jmp 0x451d12
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403ea0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x452d64
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x452da5
mov eax, esi
call fcn.0043952c
test al, al
je 0x452da5
mov eax, dword [ebx + 0x84]
call fcn.00439228
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x452da5
push 0
mov eax, dword [ebx + 0x84]
call fcn.00439228
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x401225
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40b01c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [0x40b020], 0x401219
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
mov dword [0x40b038], eax
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
lea eax, [0x40903c]
fnstenv [eax]
push 0
push 0x40b030
push 0x40b02c
push 0x40b028
call sub.CRTDLL.DLL___GetMainArgs
mov ecx, 0x409058
mov edx, dword [ecx]
or edx, edx
je 0x40129f
call ecx
push dword [0x40b030]
push dword [0x40b02c]
push dword [0x40b028]
mov dword [0x40b014], esp
call fcn.004012d4
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret

Function at 0x4012d4
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
push ecx
push eax
mov ecx, 2
dec ecx
mov dword [esp + ecx*4], 0xfffa5a5a
jne 0x4012de
push edi
push str._nDigite_a_sua_idade_em_anos:
call fcn.004089dc
add esp, 4
push 0x40b0cb
call fcn.004089dc
add esp, 4
lea edi, [ebp - 4]
push edi
push 0x40b0c8
call fcn.004056ee
add esp, 8
fld dword [0x40b0c4]
fmul dword [ebp - 4]
fstp dword [ebp - 8]
fld dword [ebp - 8]
sub esp, 8
fstp qword [esp]
push str.A_sua_idade_em_dias_e__.0f._n
call fcn.004089dc
add esp, 0xc
push str.PAUSE
call sub.CRTDLL.DLL_system
add esp, 4
mov eax, 0
pop edi
leave
ret

Function at 0x401b04
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp edi, 1
je 0x401b92
cmp edi, 4
jne 0x401b87
mov eax, dword [sym.imp.CRTDLL.DLL__iob]
add eax, 0x40
push eax
push 1
push 7
push str.signal
call sub.CRTDLL.DLL_fwrite
push 0xa
lea eax, [ebp - 0x80]
push eax
push dword [ebp + 0xc]
call sub.CRTDLL.DLL__itoa
add esp, 0x1c
lea ecx, [ebp - 0x80]
or eax, 0xffffffff
inc eax
cmp byte [ecx + eax], 0
jne 0x401b4b
mov ebx, dword [sym.imp.CRTDLL.DLL__iob]
add ebx, 0x40
push ebx
push 1
push eax
lea esi, [ebp - 0x80]
push esi
call sub.CRTDLL.DLL_fwrite
add esp, 0x10
mov eax, dword [sym.imp.CRTDLL.DLL__iob]
add eax, 0x40
push eax
push 1
push 1
push 0x40b24c
call sub.CRTDLL.DLL_fwrite
add esp, 0x10
jmp 0x401b92
cmp edi, 3
je 0x401b92
push dword [ebp + 0xc]
call edi
pop ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x405aa2
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
push ebx
push esi
push edi
or dword [ebp - 0x20], 0xffffffff
and dword [ebp - 0x18], 0
or dword [ebp - 0x134], 0xffffffff
push pe_nt_image_headers32
push 0
lea eax, [ebp - 0x1c0]
push eax
call sub.CRTDLL.DLL_memset
add esp, 0xc
and dword [ebp - 4], 0
and dword [ebp - 0x138], 0
jmp 0x40646c
Function at 0x1003a98
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x1003af0
call fcn.01003b0c
xor eax, eax
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x1003ae7
cmp ecx, 0xffffffff
je 0x1003ae7
and dword [ebp - 4], eax
mov edx, 0x5a4d
cmp word [ecx], dx
jne 0x1003ae0
mov edx, dword [ecx + 0x3c]
test edx, edx
jl 0x1003ae0
cmp edx, 0x10000000
jae 0x1003ae0
lea eax, [edx + ecx]
mov dword [ebp - 0x1c], eax
cmp dword [eax], 0x4550
jne 0x1006d0b
mov dword [ebp - 4], 0xfffffffe
call fcn.010023d0
ret 4

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

Disassembly:
pushal
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00431219
Function at 0x40c6e3
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x29280d41
mov eax, 0x672e5856
xor byte [ebp + eax - 0x62], ah
pop eax
xor byte cs:[si + 5], ah
sahf
stc
rcr dword [edx + 0xa], 1
xor al, dl
lcall 0xa315, 0x2a2b3f6a
push ebp
out dx, eax
outsb dx, byte [esi]
leave
mov al, byte [0xa01bdd1f]
dec esp
salc
cmp al, 0x82
mov dh, 0xe1
les esp, [eax]
sbb edx, dword [ecx - 0x340d5566]
pop ds
push eax
mov bl, 1
jbe 0x40c6ea
jg 0x40c78b
ror dword [eax - 0x2a6132f8], cl
inc edx
cwde
cmp bl, ah
xor dword [edi + edi*4 - 5], ecx
inc edi
popal
int 8
dec edi
ret 0x2859
cmp al, 0xd1
in al, 0xbd
add cl, byte [ebx - 0x5e]
mov ecx, 0xc324c5a7
jae 0x40c746
add dword [edx - 0x76], edx
push esp
jecxz 0x40c742
and byte [edi + 0x7e], bl
mov dh, 0xb4
add dh, ch
fucompi st(2)
push cs
and al, 0xf0
cmpsd dword [esi], dword es:[edi]
fisubr dword [ebx - 0x5329902d]
inc edx
sbb byte fs:[eax - 0x60afb712], cl
mov cl, 0x50
imul ebx, ecx, 0x918b28ec
sub dword [ecx + 0x6e593b97], eax
dec ebp
mov eax, dword [0x9f232f7a]
out dx, eax
pop ss
dec edi
add edx, esp
ljmp 0xf3e1

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
mov ecx, dword [0x630034]
and ecx, 4
and eax, 0xc
add edx, ecx
mov esi, dword [0x630038]
mov dword [0x630030], edx
mov edx, dword [0x630048]
and edx, 0xff
push ebp
imul eax, edx
xor esi, eax
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 [0x62e2b0]
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
Function at 0x473a5b
Capabilities:
Encode data using xor

Disassembly:
arpl dx, si
push edi
push esp
push esp
dec ebx
clc
fcom qword [ecx + ecx*2 + 0x29bf0174]
cmp edi, 0x67
adc esi, dword [eax - 0x55fc1aa4]
in eax, 3
stosb byte es:[edi], al
test al, 0xf8
adc ebp, dword [edi + ebp - 0x4e49472e]
push ebp
add cl, byte [ecx + 0x57f932d7]
wait
push 0xef5449f1
int1
dec ecx
push esp
out dx, eax
mov eax, 0x4fdc1c10
dec ebx
xor eax, esi
or al, 0x5b
dec ecx
or edx, dword [edi - 0x6d]
mov ah, byte [eax - 0x1f]
sub byte [eax - 0x38], 0x9d
jo 0x473a01
retf
inc esp
push edi
dec ebx
sbb eax, 0x3ccb90b3
dec ebx
xor byte [edi], ah
in eax, dx
jo 0x473a15
xchg ebx, eax
mov edx, 0xa172d071
jle 0x473a86
movsx edi, word [ebp - 0x3543aed7]
add al, 0x87
mov ecx, 0xb4e746ec
jecxz 0x473a2b
aad 5
and byte [ebp + esi*4 - 0x18], ah
mov ch, 0xe8
leave
push edi
test eax, 0x949c5394
sbb dh, byte [edx - 0x7a131cfc]
arpl word [esi - 0x6a4ae2da], ax
in al, 0xcf
aad 0xec
clc
xchg ecx, eax
mov bl, 0x62
invalid

Function at 0x47c475
Capabilities:
Encode data using xor

Disassembly:
mov eax, edi
sub eax, dword [ebp - 8]
jmp 0x47c6fa
xor ebx, ebx
cmp al, 0x2a
je 0x47c49d
cmp al, 0x30
jb 0x47c4bc
cmp al, 0x39
ja 0x47c4bc
imul ebx, ebx, 0xa
sub al, 0x30
movzx eax, al
add ebx, eax
cmp esi, ecx
je 0x47c497
lodsb al, byte [esi]
jmp 0x47c47b
pop eax
jmp 0x47c3cd
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 8]
jg 0x47c4b7
inc dword [ebp - 0xc]
mov ebx, dword [ebp + 0xc]
cmp byte [ebx + eax*8 + 4], 0
mov ebx, dword [ebx + eax*8]
je 0x47c4b7
xor ebx, ebx
cmp esi, ecx
je 0x47c497
lodsb al, byte [esi]
ret
daa
mov cl, 0x81
or al, 0xc0
and al, 0x35
in al, 0xe7
in al, 0x9e
adc ebx, edx
loopne 0x47c72b
mov al, byte [0x7b5ea63b]
invalid
mov esp, 0xf3c226aa
xchg ebp, eax
push 0xf3d904a2
wait
and eax, 0xede530bb
fcmovu st(0), st(6)
rcl byte [eax], 0xdc
push edi
inc ebp
cli
pop es
pop edi
or eax, 0x77f3dfdb
sbb eax, 0xcdd1033
mov ebx, 0x7c60a77d
invalid