joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5cac10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x876ab2
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x8ce6f4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
mov ecx, esi
call fcn.005da750
xor ebp, ebp
mov dword [esi], 0x42f1c4
mov dword [esi + 0xc], 0x42f174
mov dword [esi + 0x10], 0x42f158
mov dword [esi + 0x98], 0x42f130
mov dword [esi + 0xe0], 0x42f11c
mov dword [esi + 0xe4], 0x42f104
mov dword [esi + 0xe8], 0x42f0b4
mov dword [esi + 0xec], ebp
mov dword [esp + 0x20], ebp
mov dword [esi + 0xf8], ebp
mov dword [esi + 0xfc], ebp
lea edi, [esi + 0x100]
mov dword [edi], ebp
lea ebx, [esi + 0x108]
mov ecx, esi
mov byte [esp + 0x20], 3
mov dword [ebx], 0xffffffff
call fcn.005cab00
push 0x42f09c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0xec], eax
cmp eax, ebp
je 0x5cad14
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x42f078
push eax
call ebp
mov dword [esi + 0xf0], eax
mov eax, dword [esi + 0xec]
push 0x42f060
push eax
call ebp
mov edx, dword [esi + 0xf0]
push edi
lea ecx, [esi + 0x104]
push ecx
mov dword [esi + 0xf4], eax
call edx
xor ebp, ebp
mov ecx, dword [esi + 0xfc]
cmp ecx, ebp
je 0x5cad3b
mov ebp, dword [esi + 0x104]
mov eax, dword [edi]
mov edx, dword [eax]
push ebp
push ecx
push eax
mov eax, dword [edx + 0xc]
call eax
mov edi, dword [edi]
mov ecx, dword [edi]
mov edx, dword [ecx + 0x10]
push ebx
push edi
call edx
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc

Function at 0x5cb390
Capabilities:
Get file version info

Disassembly:
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
push 0
push edi
xor bl, bl
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x5cb40c
push ebp
push esi
call fcn.007c8558
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x5cb402
push ebp
push esi
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x5cb3f9
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0x401fc4
push ebp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x5cb3f9
cmp dword [esp + 0x10], 0x34
jne 0x5cb3f9
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
mov bl, 1
push ebp
call fcn.007c8563
add esp, 4
pop ebp
pop edi
pop esi
mov al, bl
pop ebx
add esp, 8
ret
pop edi
pop esi
mov al, bl
pop ebx
add esp, 8
ret
Function at 0x5cb5c0
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x876c31
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebp
push esi
push edi
mov eax, dword [0x8ce6f4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov dword [esp + 0x14], 0
mov edi, 1
mov dword [esp + 0x20], edi
call fcn.007cff5d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x5cb611
push 0x80004005
call fcn.004a8210
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov esi, dword [esp + 0x28]
add eax, 0x10
mov dword [esi], eax
mov ecx, dword [esp + 0x2c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
push 0
push 0
push 0
push ecx
push 0
push 0x400
mov dword [esp + 0x2c], edi
call ebp
mov edi, eax
test edi, edi
jns 0x5cb651
push 0x80070057
call fcn.004a8210
mov eax, dword [esi]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edi
or eax, ecx
jge 0x5cb66c
push edi
mov ecx, esi
call fcn.004a8a90
mov eax, dword [esi]
mov edx, dword [esp + 0x2c]
push edi
push eax
push 0
push edx
push 0
push 0x400
call ebp
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x5cb697
push ecx
push eax
call fcn.005bc290
add esp, 8
test eax, eax
js 0x5cb647
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x5cb647
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
cmp byte [esp + 0x30], dl
je 0x5cb6ee
push 2
lea edx, [esp + 0x14]
push edx
push 0x11
xor eax, eax
push 0x400
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0xa
lea eax, [esp + 0x14]
push 0
push eax
call fcn.00803f42
add esp, 0xc
test eax, eax
je 0x5cb6ee
mov ecx, dword [esi]
mov ecx, dword [ecx - 0xc]
sub ecx, eax
dec ecx
push ecx
mov ecx, esi
call fcn.004aa4f0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x20], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x5cb713
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
Function at 0x5cb840
Capabilities:
Parse credit card information

Disassembly:
push 0xffffffffffffffff
push 0x876c71
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x8ce6f4]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov dword [esp + 0x18], 0
mov esi, 1
mov dword [esp + 0x24], esi
call fcn.007cff5d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x5cb892
push 0x80004005
call fcn.004a8210
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov edi, dword [esp + 0x2c]
add eax, 0x10
mov dword [edi], eax
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx - 0xc]
xor edx, edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edx
test eax, eax
jle 0x5cb96b
test edx, edx
js 0x5cb9a2
cmp edx, eax
jg 0x5cb9a2
cmp byte [esp + 0x34], 0
mov bl, byte [edx + ecx]
je 0x5cb8f6
cmp bl, 0x23
je 0x5cb8f0
cmp bl, 0x3f
je 0x5cb8f0
cmp bl, 0x25
je 0x5cb8f0
cmp bl, 0x26
je 0x5cb8f0
cmp bl, 0x3d
jne 0x5cb8f6
movzx ecx, bl
push ecx
jmp 0x5cb945
lea eax, [ebx - 0x21]
cmp al, 0x5d
ja 0x5cb941
mov eax, dword [edi]
mov ebp, dword [eax - 0xc]
lea esi, [ebp + 1]
test esi, esi
js 0x5cb9a2
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, esi
or eax, ecx
jge 0x5cb92a
push esi
mov ecx, edi
call fcn.004b05e0
mov edx, dword [esp + 0x14]
mov eax, dword [edi]
mov byte [eax + ebp], bl
mov eax, dword [edi]
cmp esi, dword [eax - 8]
jg 0x5cb9a2
mov dword [eax - 0xc], esi
mov ecx, dword [edi]
mov byte [esi + ecx], 0
jmp 0x5cb957
movzx edx, bl
push edx
push 0x42f3f4
push edi
call fcn.005cb730
mov edx, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx - 0xc]
inc edx
mov dword [esp + 0x14], edx
cmp edx, eax
jl 0x5cb8bd
lea eax, [ecx - 0x10]
mov byte [esp + 0x24], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5cb98c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
push 0x80070057
call fcn.004a8210
int3
Function at 0x5d28b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x50
mov edx, dword [esp + 0x6c]
push esi
mov esi, dword [esp + 0x5c]
lea ecx, [esi - 1]
mov eax, ecx
imul eax, edx
add eax, dword [esp + 0x6c]
push edi
mov edi, dword [esp + 0x5c]
mov dword [esp + 8], eax
xor eax, eax
neg edx
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x78]
movzx edx, byte [edx + 0x5d29c4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
jmp dword [edx*4 + 0x5d29b8]

Function at 0x5d2e60
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [esp + 0x18]
push eax
mov esi, ecx
mov edx, dword [esi + 8]
push 1
lea ecx, [esp + 0x1a]
push ecx
push edx
call edi
mov edx, dword [esi + 8]
mov bl, byte [esp + 0xe]
push 0
lea eax, [esp + 0x1c]
push eax
push 1
lea ecx, [esp + 0x1b]
push ecx
push edx
call edi
mov al, byte [esp + 0xf]
push 0
lea ecx, [esp + 0x20]
push ecx
push 1
lea edx, [esp + 0x1c]
mov byte [esp + 0x1d], al
mov eax, dword [esi + 8]
push edx
push eax
call edi
mov cl, byte [esp + 0x10]
push 0
lea edx, [esp + 0x24]
push edx
push 1
lea eax, [esp + 0x1f]
mov byte [esp + 0x1e], cl
mov ecx, dword [esi + 8]
push eax
push ecx
call edi
movzx edx, byte [esp + 0x11]
movzx ecx, byte [esp + 0x12]
movzx eax, bl
shl eax, 8
or eax, edx
movzx edx, byte [esp + 0x13]
shl eax, 8
or eax, ecx
pop edi
shl eax, 8
pop esi
or eax, edx
pop ebx
add esp, 0x18
ret

Function at 0x5d2f00
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [esp + 0x14]
push eax
mov esi, ecx
mov edx, dword [esi + 8]
push 1
lea ecx, [esp + 0x1a]
push ecx
push edx
call edi
mov edx, dword [esi + 8]
mov bl, byte [esp + 0xe]
push 0
lea eax, [esp + 0x18]
push eax
push 1
lea ecx, [esp + 0x1b]
push ecx
push edx
call edi
movzx ecx, byte [esp + 0xf]
movzx eax, bl
pop edi
shl eax, 8
pop esi
or eax, ecx
pop ebx
add esp, 0xc
ret
Function at 0x5d7f50
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x8776db
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x8ce6f4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
lea eax, [esi + 0xc]
mov dword [esi], 0x430ed8
mov dword [eax], 0x430ea8
push eax
mov dword [esp + 0x18], 0
call fcn.005d7ce0
mov ecx, esi
call fcn.005d7f00
mov eax, dword [esi + 0x30]
mov dword [esp + 0x14], 2
test eax, eax
je 0x5d7fb2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x58]
test eax, eax
je 0x5d7fc1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea ecx, [esi + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.005d4480
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x5da310
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
mov esi, ecx
lea edi, [esi + 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0x14], 0
je 0x5da332
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
xor eax, eax
pop esi
pop ecx
ret
lea eax, [esp + 8]
push eax
push 0
push esi
push 0x5da2c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x14], eax
push edi
test eax, eax
je 0x5da326
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, 1
pop esi
pop ecx
ret

Function at 0x5da420
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x8ce6f4]
xor eax, esp
mov dword [esp + 0x114], eax
cmp byte [0x8d4661], 0
push esi
mov esi, dword [esp + 0x128]
jne 0x5da483
lea eax, [esp + 4]
push eax
mov dword [esp + 8], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov ecx, 1
test eax, eax
je 0x5da476
mov eax, dword [esp + 8]
cmp eax, 5
ja 0x5da472
jne 0x5da476
cmp dword [esp + 0xc], ecx
jb 0x5da476
mov al, cl
jmp 0x5da478
xor al, al
mov byte [0x8d4660], al
mov byte [0x8d4661], cl
cmp byte [0x8d4660], 0
je 0x5da497
or dword [esp + 0x130], 0x100
mov ecx, dword [esp + 0x130]
mov edx, dword [esp + 0x12c]
mov eax, dword [esp + 0x124]
push ecx
mov ecx, dword [esp + 0x124]
push edx
push esi
push eax
push ecx
call dword [sym.imp.WINMM.dll_timeSetEvent]
mov ecx, dword [esp + 0x118]
pop esi
xor ecx, esp
call fcn.0080262b
add esp, 0x118
ret
Function at 0x5da8c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x8778ce
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x8ce6f4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push eax
lea ebx, [esi + 0x7c]
push ebx
push ecx
push edx
mov ecx, esi
call fcn.005d9610
mov ebp, dword [esp + 0x34]
xor edi, edi
push ebp
push edi
lea ecx, [esi + 0x54]
mov dword [esp + 0x28], edi
mov dword [esi], fcn.005daaf0
mov dword [esi + 0xc], 0x433bd4
mov dword [esi + 0x10], 0x433bbc
mov dword [esi + 0x50], edi
call fcn.005d9e00
push ebp
push 1
lea ecx, [esi + 0x58]
mov byte [esp + 0x28], 1
call fcn.005d9e00
push ebp
lea ecx, [esi + 0x5c]
push 1
mov byte [esp + 0x28], 2
call fcn.005d9e00
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
call ebx
lea eax, [esi + 0x94]
push eax
call ebx
lea ecx, [esi + 0xc4]
mov dword [esi + 0xac], edi
mov dword [esi + 0xb0], 1
push ecx
mov dword [esi + 0xb4], edi
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], edi
mov dword [esi + 0xc0], edi
call ebx
cmp dword [ebp], edi
jl 0x5da9b7
mov edx, dword [esi + 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x10
Function at 0x5e2d10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, ecx
mov ecx, dword [esp + 4]
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 0xc]
mov dword [eax + 0xc], edx
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x10], edx
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x14], edx
movzx edx, byte [ecx + 0x18]
mov byte [eax + 0x18], dl
mov edx, dword [ecx + 0x24]
mov dword [eax + 0x24], edx
mov edx, dword [ecx + 0x28]
mov dword [eax + 0x28], edx
mov edx, dword [ecx + 0x2c]
mov dword [eax + 0x2c], edx
movzx edx, byte [ecx + 0x30]
mov byte [eax + 0x30], dl
mov edx, dword [ecx + 0x3c]
mov dword [eax + 0x3c], edx
mov edx, dword [ecx + 0x40]
mov dword [eax + 0x40], edx
mov edx, dword [ecx + 0x44]
mov dword [eax + 0x44], edx
movzx edx, byte [ecx + 0x48]
mov byte [eax + 0x48], dl
mov edx, dword [ecx + 0x54]
mov dword [eax + 0x54], edx
mov edx, dword [ecx + 0x58]
mov dword [eax + 0x58], edx
mov edx, dword [ecx + 0x5c]
mov dword [eax + 0x5c], edx
movzx edx, byte [ecx + 0x60]
mov byte [eax + 0x60], dl
mov edx, dword [ecx + 0x6c]
mov dword [eax + 0x6c], edx
mov edx, dword [ecx + 0x70]
mov dword [eax + 0x70], edx
mov edx, dword [ecx + 0x74]
mov dword [eax + 0x74], edx
movzx edx, byte [ecx + 0x78]
mov byte [eax + 0x78], dl
mov edx, dword [ecx + 0x84]
mov dword [eax + 0x84], edx
mov edx, dword [ecx + 0x88]
mov dword [eax + 0x88], edx
mov edx, dword [ecx + 0x8c]
mov dword [eax + 0x8c], edx
movzx edx, byte [ecx + 0x90]
mov byte [eax + 0x90], dl
mov edx, dword [ecx + 0x9c]
mov dword [eax + 0x9c], edx
mov edx, dword [ecx + 0xa0]
mov dword [eax + 0xa0], edx
mov edx, dword [ecx + 0xa4]
mov dword [eax + 0xa4], edx
movzx edx, byte [ecx + 0xa8]
mov byte [eax + 0xa8], dl
mov edx, dword [ecx + 0xb4]
mov dword [eax + 0xb4], edx
mov edx, dword [ecx + 0xb8]
mov dword [eax + 0xb8], edx
mov edx, dword [ecx + 0xbc]
mov dword [eax + 0xbc], edx
movzx edx, byte [ecx + 0xc0]
mov byte [eax + 0xc0], dl
mov edx, dword [ecx + 0xcc]
mov dword [eax + 0xcc], edx
mov edx, dword [ecx + 0xd0]
mov dword [eax + 0xd0], edx
mov edx, dword [ecx + 0xd4]
mov dword [eax + 0xd4], edx
movzx edx, byte [ecx + 0xd8]
mov byte [eax + 0xd8], dl
mov edx, dword [ecx + 0xe4]
mov dword [eax + 0xe4], edx
fld dword [ecx + 0xe8]
fstp dword [eax + 0xe8]
movzx edx, byte [ecx + 0xec]
mov byte [eax + 0xec], dl
mov edx, dword [ecx + 0xf4]
mov dword [eax + 0xf4], edx
fld dword [ecx + 0xf8]
fstp dword [eax + 0xf8]
mov cl, byte [ecx + 0xfc]
mov byte [eax + 0xfc], cl
ret 4
Function at 0x5e7390
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax]
push edi
push 0
call edx
mov ecx, dword [esi + 0xc]
mov edi, eax
mov eax, dword [esi + 8]
mov dword [esp + 0xc], ecx
lea ecx, [esp + 8]
mov dword [esp + 0x14], edx
mov dword [esp + 8], eax
lea edx, [esp + edi + 7]
mov eax, ecx
cmp eax, edx
jae 0x5e73d5
push ebx
mov al, byte [edx]
xor byte [ecx], al
mov bl, byte [ecx]
xor byte [edx], bl
mov bl, byte [edx]
xor byte [ecx], bl
inc ecx
dec edx
cmp ecx, edx
jb 0x5e73c2
pop ebx
mov eax, dword [esp + 0x1c]
mov ecx, 8
sub ecx, edi
mov dl, 1
shl dl, cl
push 0
push edi
lea ecx, [edx - 1]
and cl, byte [esp + 0x10]
or cl, dl
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
mov byte [esp + 0x10], cl
lea ecx, [esp + 0x10]
push ecx
push eax
call edx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x5e74c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
xor ecx, ecx
mov dword [esp + 0x18], eax
or eax, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], ecx
mov byte [esp + 0x20], 1
jne 0x5e74e5
mov byte [esp + 0x20], cl
push 0
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], fcn.00434ba4
call dword [fcn.00434ba4]
mov esi, eax
mov eax, dword [edi + 4]
lea ecx, [esp + 8]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
lea edx, [esp + esi + 7]
mov eax, ecx
cmp eax, edx
jae 0x5e7527
movzx eax, byte [edx]
xor byte [ecx], al
mov al, byte [ecx]
xor byte [edx], al
mov al, byte [edx]
xor byte [ecx], al
inc ecx
dec edx
cmp ecx, edx
jb 0x5e7514
mov eax, dword [esp + 0x2c]
mov ecx, 8
sub ecx, esi
mov dl, 1
shl dl, cl
push 0
push esi
lea ecx, [edx - 1]
and cl, byte [esp + 0x10]
or cl, dl
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
mov byte [esp + 0x10], cl
lea ecx, [esp + 0x10]
push ecx
push eax
call edx
pop edi
pop esi
add esp, 0x20
ret 4
Function at 0x5fa786
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x40
mov eax, dword [0x8ce6f4]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
mov esi, ecx
mov eax, dword [esi + 0x1c]
or ebx, 0xffffffff
push edi
mov edi, dword [esp + 0x54]
cmp eax, ebx
je 0x5fa79e
push eax
call ebp
mov dword [esi + 0x1c], ebx
push edi
lea ecx, [esp + 0x1c]
call fcn.004a8f10
mov eax, dword [eax]
xor edi, edi
push edi
push 0x8000001
push 3
push edi
push 1
push DirectSoundEnumerateW
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5fa7e5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0x1c]
cmp eax, ebx
je 0x5fa8b3
push edi
lea ecx, [esp + 0x20]
push ecx
push 0x2c
lea edx, [esp + 0x2c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x5fa8aa
cmp dword [esp + 0x20], 0x46464952
jne 0x5fa8aa
cmp dword [esp + 0x28], 0x41584443
jne 0x5fa8aa
mov eax, dword [esp + 0x48]
add eax, 0x24
cmp dword [esp + 0x24], eax
jne 0x5fa8aa
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x10]
push ecx
push edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push edi
sub eax, 0x2c
push 0x930
sbb ecx, edi
push ecx
push eax
call fcn.00803a40
imul eax, eax, 0x914
cdq
mov ecx, esi
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], edx
call fcn.005f9bb0
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
test al, al
jne 0x5fa890
mov edx, dword [esi + 0x1c]
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
push edx
jmp 0x5fa8ae
pop edi
mov dword [esi + 0x34], ebx
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.0080262b
add esp, 0x40
ret 4
mov eax, dword [esi + 0x1c]
push eax
call ebp
mov dword [esi + 0x1c], ebx
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor al, al
call fcn.0080262b
add esp, 0x40
ret 4
Function at 0x5fc0c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x70
mov eax, dword [0x8ce6f4]
xor eax, esp
mov dword [esp + 0x6c], eax
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0xf8]
xor ebp, ebp
cmp eax, ebp
jne 0x5fc0f4
pop esi
mov eax, 0x80004003
pop ebp
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.0080262b
add esp, 0x70
ret
push ebx
push edi
mov dword [esp + 0x14], ebp
mov edi, dword [eax + 8]
xor eax, eax
push ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], eax
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0xec]
lea edx, [esp + 0x28]
mov dword [esp + 0x28], 0x24
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], ebp
mov dword [esp + 0x38], ebp
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xc]
add edi, edi
add edi, edi
call eax
test eax, eax
js 0x5fc19a
mov eax, dword [esp + 0x14]
mov edx, dword [esi + 0xf8]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x38]
call eax
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x5fc19a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x14], ebp
mov eax, dword [esi + 0xf0]
lea ebx, [esi + 0xf0]
cmp eax, ebp
je 0x5fc1b4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebx], ebp
mov eax, dword [esi + 0xf8]
mov ecx, dword [0x48b790]
mov edx, dword [0x48b794]
mov dword [esp + 0x54], eax
mov eax, dword [0x48b798]
mov dword [esp + 0x58], ecx
mov ecx, dword [0x48b79c]
push ebp
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0xec]
mov dword [esp + 0x68], ecx
push ebx
mov dword [esp + 0x64], edx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], 0x24
mov dword [esp + 0x50], 0x180e0
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], ebp
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push ecx
push eax
call edx
mov edi, eax
mov dword [esi + 0xfc], ebp
cmp edi, ebp
jl 0x5fc297
mov eax, dword [ebx]
lea edx, [esp + 0x68]
mov dword [esp + 0x68], 0x14
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov edi, eax
cmp edi, ebp
jl 0x5fc297
mov ecx, dword [esp + 0x70]
mov dword [esi + 0xfc], ecx
mov ecx, esi
call fcn.005fb6a0
mov ebx, dword [ebx]
mov edx, dword [ebx]
mov edi, eax
mov eax, dword [esi + 0xf8]
mov ecx, dword [eax + 4]
fild dword [eax + 4]
test ecx, ecx
jns 0x5fc268
fadd qword [0x409f88]
fmul qword [esi + 0x108]
mov ecx, dword [edx + 0x44]
fnstcw word [esp + 0x12]
movzx eax, word [esp + 0x12]
or eax, 0xc00
mov dword [esp + 0x18], eax
fldcw word [esp + 0x18]
fistp qword [esp + 0x18]
mov eax, dword [esp + 0x18]
push eax
push ebx
fldcw word [esp + 0x1a]
call ecx
mov ecx, dword [esp + 0x7c]
mov eax, edi
pop edi
pop ebx
pop esi
pop ebp
xor ecx, esp
call fcn.0080262b
add esp, 0x70
ret