joyce8/EMBER2024-capa huggingface dataset:
Function at 0x565300
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61d370
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x6b64f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x48], edx
mov eax, dword [ebp + 8]
mov ebx, 4
mov dword [ebp - 0x4c], eax
mov ecx, dword [eax]
mov dword [ebp - 0x44], ecx
test ecx, ecx
jle 0x5654c0
jmp 0x565350
mov eax, dword [eax + ebx]
add ebx, 4
cmp dword [edx + 0x1420], 0
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], ebx
je 0x565395
mov ecx, dword [edx + 0x141c]
mov eax, dword [edx + 0x142c]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x565386
mov ecx, dword [ebp - 0x44]
lea esi, [ebp - 0x50]
add eax, 0xffffffe4
mov dword [ebp - 0x50], eax
jmp 0x56539f
mov ecx, dword [ebp - 0x44]
lea esi, [ebp - 0x50]
mov dword [ebp - 0x50], 0
jmp 0x56539f
mov dword [ebp - 0x60], 0
lea esi, [ebp - 0x60]
mov esi, dword [esi]
test esi, esi
je 0x5654b3
lea esp, [esp]
push 0xffffffffffffffff
push 0
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.0045b170
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004b36b0
add esp, 8
cmp dword [ebp - 0x14], 0x10
mov byte [ebp - 4], 2
jb 0x5653fb
push dword [ebp - 0x28]
call fcn.004e41e0
add esp, 4
cmp dword [ebp - 0x2c], 0x10
lea edx, [ebp - 0x40]
mov ecx, dword [ebp - 0x30]
cmovae edx, dword [ebp - 0x40]
xor eax, eax
add ecx, edx
mov dword [ebp - 0x14], 0xf
mov ebx, ecx
mov dword [ebp - 0x18], 0
sub ebx, edx
mov byte [ebp - 0x28], 0
xor edi, edi
cmp edx, ecx
cmova ebx, eax
test ebx, ebx
je 0x565443
mov edi, edi
movzx ecx, byte [edx]
lea edx, [edx + 1]
imul eax, eax, 0x1000193
inc edi
xor eax, ecx
cmp edi, ebx
jb 0x565430
cmp dword [ebp - 0x58], eax
je 0x56547b
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 4], 0xffffffff
jb 0x565460
push dword [ebp - 0x40]
call fcn.004e41e0
add esp, 4
mov esi, dword [esi + 0x1c]
test esi, esi
je 0x56546c
add esi, 0xffffffe4
jmp 0x56546e
xor esi, esi
test esi, esi
jne 0x5653b0
mov ebx, dword [ebp - 0x54]
jmp 0x5654ad
mov ecx, dword [esi + 0x18]
call fcn.00567f20
mov ecx, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x54]
add ecx, ebx
push ecx
mov ecx, eax
call fcn.0056c670
add ebx, eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2c], 0x10
jb 0x5654ad
push dword [ebp - 0x40]
call fcn.004e41e0
add esp, 4
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x4c]
dec ecx
mov dword [ebp - 0x44], ecx
jne 0x565350
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005d67d1
mov esp, ebp
pop ebp
ret 4
Function at 0x567520
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
mov edi, ecx
push 0x65f4e4
lea esi, [edi + 0x255]
push esi
call fcn.005d70e8
add esp, 8
test eax, eax
je 0x56754a
push eax
call fcn.005d73da
add esp, 4
mov al, 1
pop edi
pop esi
ret
cmp byte [edi + 0x364], 0
je 0x567558
pop edi
xor al, al
pop esi
ret
push 0x65f57c
push esi
call fcn.005d70e8
mov esi, eax
add esp, 8
test esi, esi
je 0x567553
push esi
push 1
push 4
push 0x62b248
call fcn.005d7824
push esi
push 1
push 4
push 0x62b24c
call fcn.005d7824
push esi
push 1
lea eax, [edi + 0x150]
push 4
push eax
call fcn.005d7824
push esi
call fcn.005d73da
add esp, 0x34
mov al, 1
pop edi
pop esi
ret

Function at 0x5675b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, ecx
cmp dword [edx + 0x13e4], 0x20
je 0x5675c4
xor al, al
pop ebp
ret 4
cmp byte [edx + 0x365], 0
jne 0x567605
cmp dword [edx + 0x13e8], 0x10
push esi
push edi
lea edi, [edx + 0x13d4]
jb 0x5675e0
mov edi, dword [edi]
mov esi, dword [ebp + 8]
xor ecx, ecx
xor dword [edi + ecx*4], esi
inc ecx
mov eax, dword [edx + 0x13e4]
add esi, 0x1000193
shr eax, 2
cmp ecx, eax
jne 0x5675e5
pop edi
mov byte [edx + 0x365], 1
pop esi
mov al, 1
pop ebp
ret 4
Function at 0x568350
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x621cd8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x6b64f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x568481
cmp byte [ebx + 0x46], 0
je 0x568481
mov eax, dword [ebx]
push 0xffff
call dword [eax + 0xc]
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
jne 0x5683af
xor al, al
jmp 0x568483
mov ecx, 0xf
mov byte [ebp - 0x28], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], ecx
cmp ecx, 0x10
movq qword [ebp - 0x28], xmm0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x28]
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
nop
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x40]
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x56841a
dec eax
je 0x56841e
sub eax, 2
je 0x56846a
xor bl, bl
jmp 0x56846c
mov byte [ebx + 0x46], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x568450
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.005d7824
add esp, 0x10
cmp esi, eax
jne 0x568416
cmp byte [ebx + 0x46], 0
je 0x56846a
test esi, esi
jne 0x5683e0
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.004639d0
jmp 0x5683e0
mov bl, 1
cmp dword [ebp - 0x14], 0x10
jb 0x56847d
push dword [ebp - 0x28]
call fcn.004e41e0
add esp, 4
mov al, bl
jmp 0x568483
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005d67d1
mov esp, ebp
pop ebp
ret
Function at 0x56c300
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61dcb0
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x6b64f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x54], ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58], ecx
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp + 0x14]
push 0
mov dword [ebp - 0x50], ecx
lea ecx, [ebp - 0x28]
push eax
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.0045b170
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.00535b50
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0056c2d0
add esp, 0xc
cmp dword [ebp - 0x2c], 0x10
lea edx, [ebp - 0x40]
mov ecx, dword [ebp - 0x30]
cmovae edx, dword [ebp - 0x40]
xor eax, eax
add ecx, edx
mov byte [ebp - 4], 1
mov edi, ecx
xor esi, esi
sub edi, edx
cmp edx, ecx
cmova edi, eax
test edi, edi
je 0x56c3c3
jmp 0x56c3b0
movzx ecx, byte [edx]
lea edx, [edx + 1]
imul eax, eax, 0x1000193
inc esi
xor eax, ecx
cmp esi, edi
jb 0x56c3b0
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0056cd10
mov esi, dword [eax]
test esi, esi
jne 0x56c3e2
mov byte [ebp - 0x41], 0
jmp 0x56c44b
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00533620
mov edi, eax
mov byte [ebp - 0x41], 1
mov eax, 0xaaaaaaab
add esp, 8
mul edi
movd xmm0, edi
pshufd xmm1, xmm0, 0
mov eax, dword [ebp - 0x58]
shr edx, 1
lea ecx, [edx + edx*2]
sub edi, ecx
mov ecx, dword [ebp - 0x50]
mov dword [eax], edi
movdqu xmm0, xmmword [esi + 4]
mov eax, dword [ebp - 0x4c]
movdqu xmmword [eax], xmm0
movdqu xmm0, xmmword [esi + 0x14]
movdqu xmmword [ecx], xmm0
movdqu xmm0, xmmword [eax]
pxor xmm0, xmm1
movdqu xmmword [eax], xmm0
movdqu xmm0, xmmword [ecx]
pxor xmm0, xmm1
movdqu xmmword [ecx], xmm0
cmp dword [ebp - 0x2c], 0x10
jb 0x56c45c
push dword [ebp - 0x40]
call fcn.004e41e0
add esp, 4
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jb 0x56c47f
push dword [ebp - 0x28]
call fcn.004e41e0
add esp, 4
mov al, byte [ebp - 0x41]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005d67d1
mov esp, ebp
pop ebp
ret 0x10
Function at 0x56c4a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61e028
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x6b64f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push 0xffffffffffffffff
push 0
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x28]
push eax
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.0045b170
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.00535b50
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
add esp, 4
cmp dword [ebp - 0x14], 0x10
cmovae edx, dword [ebp - 0x28]
xor eax, eax
add ecx, edx
xor esi, esi
mov edi, ecx
sub edi, edx
cmp edx, ecx
cmova edi, eax
test edi, edi
je 0x56c543
lea ecx, [ecx]
movzx ecx, byte [edx]
lea edx, [edx + 1]
imul eax, eax, 0x1000193
inc esi
xor eax, ecx
cmp esi, edi
jb 0x56c530
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x2c], eax
add ecx, 0x18
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0056cd50
mov eax, dword [eax]
test eax, eax
je 0x56c574
mov ecx, dword [eax + 0x20]
mov edx, dword [ebp - 0x30]
sub ecx, dword [eax + 0x1c]
mov dword [edx], ecx
test ecx, ecx
jg 0x56c5a7
mov dword [ebx], 0
xor bl, bl
cmp dword [ebp - 0x14], 0x10
jb 0x56c587
push dword [ebp - 0x28]
call fcn.004e41e0
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005d67d1
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [eax + 0x1c]
mov dword [ebx], eax
mov bl, 1
jmp 0x56c576
Function at 0x579230
Capabilities:
Check for peb ntglobalflag flag
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61e0e6
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6b64f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.UI::CWindow.0
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], 0
mov byte [edi + 4], 0
mov eax, dword [ebp + 8]
lea ecx, [edi + 0x64]
push 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov byte [edi + 0x55], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], eax
mov dword [edi + 0x60], 0
push 0
mov dword [ebp - 4], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
call fcn.00482e90
mov dword [edi + 0x64], eax
push 0
mov dword [edi + 0x6c], 0
lea ecx, [edi + 0x70]
push 0
mov byte [ebp - 4], 1
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
call fcn.00482e90
mov dword [edi + 0x70], eax
mov eax, edi
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x50], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x58b1e0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov ecx, ebx
push esi
push edi
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x58b1f0
mov edi, 0x1505
mov esi, 0
sub ecx, edx
je 0x58b217
movsx edx, byte [esi + ebx]
mov eax, edi
shl eax, 5
inc esi
add edi, eax
add edi, edx
cmp esi, ecx
jb 0x58b205
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x591910
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61efbe
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6b64f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [0x70ede0], edi
mov dword [edi], vtable.CRaceManager.0
lea ecx, [edi + 4]
mov dword [ebp - 4], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.00463760
mov dword [edi + 4], eax
lea ecx, [edi + 0xc]
mov byte [ebp - 4], 1
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
call fcn.0048b5b0
mov dword [edi + 0xc], eax
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 2
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
call fcn.00467f00
mov dword [edi + 0x14], eax
mov ecx, edi
mov dword [edi + 0x30], 0xf
mov dword [edi + 0x2c], 0
mov byte [edi + 0x1c], 0
call fcn.005929c0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5919f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61f014
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6b64f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.CRaceManager.0
mov dword [ebp - 4], 4
call fcn.00591bf0
cmp dword [edi + 0x30], 0x10
jb 0x591a3f
push dword [edi + 0x1c]
call fcn.004e41e0
add esp, 4
mov dword [edi + 0x30], 0xf
lea ecx, [edi + 0x14]
mov dword [edi + 0x2c], 0
mov byte [edi + 0x1c], 0
mov eax, dword [edi + 0x14]
push eax
mov byte [ebp - 4], 2
push dword [eax]
lea eax, [ebp - 0x14]
push eax
call fcn.00494780
push dword [edi + 0x14]
call fcn.004e41e0
mov eax, dword [edi + 0xc]
lea ecx, [edi + 0xc]
add esp, 4
mov byte [ebp - 4], 1
push eax
push dword [eax]
lea eax, [ebp - 0x14]
push eax
call fcn.004d3470
push dword [edi + 0xc]
call fcn.004e41e0
mov eax, dword [edi + 4]
lea ecx, [edi + 4]
add esp, 4
push eax
push dword [eax]
lea eax, [ebp - 0x14]
push eax
call fcn.00463160
push dword [edi + 4]
call fcn.004e41e0
mov dword [edi], vtable.CSingleton_class_CRaceManager_.0
add esp, 4
mov dword [0x70ede0], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x5a6c50
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6206a7
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6b64f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.CArea.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
lea ecx, [edi + 0x64]
mov byte [ebp - 4], 7
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
call fcn.00463760
mov dword [edi + 0x64], eax
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
lea ecx, [edi + 0x8c]
mov byte [ebp - 4], 0xa
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], 0
call fcn.00463760
mov dword [edi + 0x8c], eax
lea ecx, [edi + 0x98]
mov byte [ebp - 4], 0xb
mov dword [edi + 0x98], 0
mov dword [edi + 0x9c], 0
call fcn.00467ed0
mov dword [edi + 0x98], eax
mov eax, edi
mov dword [edi + 0x84], 0xff00ff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5c1be0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61e37b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6b64f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
sub edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
inc edi
sub esi, ebx
inc esi
je 0x5c1cad
test edi, edi
je 0x5c1cad
push 0x40
call fcn.005d67e0
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x5c1c4a
mov ecx, eax
call fcn.005c6210
mov ecx, eax
jmp 0x5c1c4c
xor ecx, ecx
mov eax, dword [ebp + 0x10]
cmp edi, esi
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0xc], eax
cmovg esi, edi
mov eax, dword [ebp + 0x14]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ecx + 4], ebx
mov dword [ecx + 8], edx
mov dword [ecx + 0x24], esi
movzx eax, word [eax + 0x8c]
imul eax, edx
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x38], 0
add eax, ebx
mov dword [ecx + 0x28], eax
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x5c6380
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x621c68
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6b64f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [0x70ee00], edi
mov dword [edi], vtable.CSoundManager.0
lea ecx, [edi + 0x6c]
mov dword [ebp - 4], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
call fcn.00467f00
mov dword [edi + 0x6c], eax
mov eax, edi
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0x43480000
mov dword [edi + 0x1c], 0x447a0000
mov dword [edi + 0x20], 0x3f800000
mov dword [edi + 0x24], 0x3f800000
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x68], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5fc7af
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x6b64f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.005e26a5
mov dword [ebp - 0x14], eax
cmp dword [0x70aca4], esi
jne 0x5fc8a2
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x5fc82f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x5fc982
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x5fc982
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x5fc982
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x70aca4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x70aca8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x70acac], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x70acb4], eax
test eax, eax
je 0x5fc89f
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x70acb0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x5fc8c7
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x5fc8ba
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x5fc8dc
push 4
pop eax
jmp 0x5fc984
cmp dword [ebp - 0x14], esi
je 0x5fc8dc
push dword [0x70aca4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x5fc8c1
mov eax, dword [0x70acb0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x5fc93a
cmp dword [0x70acb4], edi
je 0x5fc93a
push eax
call ebx
push dword [0x70acb4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x5fc93a
test eax, eax
je 0x5fc93a
call ecx
test eax, eax
je 0x5fc92f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x5fc92f
test byte [ebp - 8], 1
jne 0x5fc93a
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x5fc96a
mov eax, dword [0x70aca8]
cmp eax, edi
je 0x5fc967
push eax
call ebx
test eax, eax
je 0x5fc967
call eax
mov esi, eax
test esi, esi
je 0x5fc967
mov eax, dword [0x70acac]
cmp eax, edi
je 0x5fc967
push eax
call ebx
test eax, eax
je 0x5fc967
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x70aca4]
call ebx
test eax, eax
je 0x5fc982
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x5fc984
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005d67d1
mov esp, ebp
pop ebp
ret