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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x6a12a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
mov eax, ecx
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
sub eax, 0x80
je 0x40d0a4
sub eax, 0x40
je 0x40d09c
sub eax, 0x40
jne 0x40d250
mov dword [edi], 0xe
jmp 0x40d0aa
mov dword [edi], 0xc
jmp 0x40d0aa
mov dword [edi], 0xa
push esi
push ecx
push edx
lea eax, [ebp - 0x11c]
lea esi, [edi + 8]
push eax
mov dword [edi + 4], esi
call fcn.0040d260
mov eax, dword [ebp - 0x11c]
add esp, 0xc
shl eax, 4
add eax, dword [ebp - 0x118]
mov ecx, dword [eax]
mov dword [esi], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov ecx, dword [eax + 0xc]
sub eax, 0x10
mov dword [esi + 0xc], ecx
add esi, 0x10
mov edi, dword [edi]
dec edi
test edi, edi
jle 0x40d239
jmp 0x40d100
movzx ecx, byte [eax + 3]
dec edi
movzx edx, byte [ecx + 0x6a8158]
movzx ecx, byte [eax + 2]
mov edx, dword [edx*4 + 0x6a9f58]
movzx ecx, byte [ecx + 0x6a8158]
xor edx, dword [ecx*4 + 0x6a9b58]
movzx ecx, byte [eax + 1]
movzx ecx, byte [ecx + 0x6a8158]
xor edx, dword [ecx*4 + 0x6a9758]
movzx ecx, byte [eax]
movzx ecx, byte [ecx + 0x6a8158]
xor edx, dword [ecx*4 + 0x6a9358]
mov dword [esi], edx
movzx ecx, byte [eax + 4]
movzx edx, byte [ecx + 0x6a8158]
movzx ecx, byte [eax + 7]
mov edx, dword [edx*4 + 0x6a9358]
movzx ecx, byte [ecx + 0x6a8158]
xor edx, dword [ecx*4 + 0x6a9f58]
movzx ecx, byte [eax + 6]
movzx ecx, byte [ecx + 0x6a8158]
xor edx, dword [ecx*4 + 0x6a9b58]
movzx ecx, byte [eax + 5]
movzx ecx, byte [ecx + 0x6a8158]
xor edx, dword [ecx*4 + 0x6a9758]
mov dword [esi + 4], edx
movzx ecx, byte [eax + 8]
movzx edx, byte [ecx + 0x6a8158]
movzx ecx, byte [eax + 0xb]
mov edx, dword [edx*4 + 0x6a9358]
movzx ecx, byte [ecx + 0x6a8158]
xor edx, dword [ecx*4 + 0x6a9f58]
movzx ecx, byte [eax + 0xa]
movzx ecx, byte [ecx + 0x6a8158]
xor edx, dword [ecx*4 + 0x6a9b58]
movzx ecx, byte [eax + 9]
movzx ecx, byte [ecx + 0x6a8158]
xor edx, dword [ecx*4 + 0x6a9758]
mov dword [esi + 8], edx
movzx ecx, byte [eax + 0xc]
movzx edx, byte [ecx + 0x6a8158]
movzx ecx, byte [eax + 0xf]
mov edx, dword [edx*4 + 0x6a9358]
movzx ecx, byte [ecx + 0x6a8158]
xor edx, dword [ecx*4 + 0x6a9f58]
movzx ecx, byte [eax + 0xe]
movzx ecx, byte [ecx + 0x6a8158]
xor edx, dword [ecx*4 + 0x6a9b58]
movzx ecx, byte [eax + 0xd]
sub eax, 0x10
movzx ecx, byte [ecx + 0x6a8158]
xor edx, dword [ecx*4 + 0x6a9758]
mov dword [esi + 0xc], edx
add esi, 0x10
test edi, edi
jg 0x40d100
mov ecx, dword [eax]
mov dword [esi], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov eax, dword [eax + 0xc]
mov dword [esi + 0xc], eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0058e944
mov esp, ebp
pop ebp
ret
Function at 0x41d850
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b00ed
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6a12a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
push 0xa
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 1
call fcn.0058a1d0
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 2
call fcn.0041ba70
lea edi, [esi + 0x94]
mov dword [edi], 0
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
lea ebx, [esi + 0xb8]
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
lea eax, [esi + 0xdc]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
lea eax, [esi + 0x100]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
lea eax, [esi + 0x124]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [esi + 0x148], 0
mov dword [esi + 0x14c], 0
mov dword [esi + 0x150], 0
mov dword [esi + 0x154], 0
mov dword [esi + 0x158], 0
mov dword [esi + 0x15c], 0
push 0x80
push 0x5c10b4
push 0x5fa118
mov byte [ebp - 4], 9
call fcn.0058fa10
add esp, 0xc
mov dword [0x5fa114], 0x32
cmp dword [0x5fa10c], 0
jne 0x41da5d
push 0x64
push 0x5fa10c
call fcn.0041dcd0
mov eax, dword [0x5fa10c]
add esp, 8
mov dword [0x5fa110], eax
push 0x1e
mov ecx, edi
mov dword [esi + 0x64], 0
call fcn.00497360
push 0x1e
mov ecx, ebx
call fcn.00497360
push 0x1e
lea ecx, [esi + 0xdc]
call fcn.00497360
push 0x1e
lea ecx, [esi + 0x100]
call fcn.00497360
push 3
lea ecx, [esi + 0x124]
call fcn.00497360
mov dword [esi + 0x16e], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x424850
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b06cb
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6a12a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 8]
mov dword [esi], vtable.CSkillObjectTargetList.0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
push 1
mov dword [ebp - 4], 0
call fcn.00497360
mov ecx, dword [ebp + 8]
movzx eax, word [ecx + 0xb7]
mov word [esi + 0x30], ax
movzx eax, word [ecx + 0xad]
mov word [esi + 0x32], ax
mov dword [esi + 0x2c], 0
movzx eax, word [ecx + 0x27]
mov word [esi + 0x34], ax
movzx eax, word [ecx + 0x29]
mov word [esi + 0x36], ax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4273c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b09de
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6a12a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebp - 4], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x50], 0
mov dword [ebx + 0x54], 0
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x5c], 0
push 0x40
mov byte [ebp - 4], 2
call fcn.00497360
push 0x40
lea ecx, [ebx + 0x24]
call fcn.00497360
push 0x40
lea ecx, [ebx + 0x48]
call fcn.00497360
mov ecx, ebx
call fcn.00426fc0
mov ecx, ebx
call fcn.00426e00
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42c630
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b0cf6
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x6a12a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x6d8b54]
mov eax, dword [eax + 0x125]
movzx eax, ax
push eax
lea eax, [ebp - 0x50]
push str.._data_aiconfig__d.dat
push eax
call fcn.0058feac
push 0x1c5c
lea edi, [esi + 0xe6]
push 0
push edi
call fcn.0058f850
push 0x5bf90c
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0058fcf0
mov eax, dword [ebp - 0x54]
add esp, 0x24
test eax, eax
je 0x42c784
push eax
push 1
push 0x1c5c
push edi
call fcn.00590289
push dword [ebp - 0x54]
call fcn.0058fba0
mov eax, dword [0x6c52cc]
add esp, 0x14
test eax, eax
jne 0x42c700
push 0x1d7a
call fcn.0058e15c
add esp, 4
mov dword [ebp - 0x58], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x42c6f2
mov ecx, eax
call fcn.00427f70
jmp 0x42c6f4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x6c52cc], eax
imul eax, dword [eax + 0x21a], 0x64
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5bf700]
cvtpd2ps xmm0, xmm0
movss dword [esi + 0xda], xmm0
mov eax, dword [0x6c52cc]
test eax, eax
jne 0x42c75b
push 0x1d7a
call fcn.0058e15c
add esp, 4
mov dword [ebp - 0x58], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x42c754
mov ecx, eax
call fcn.00427f70
jmp 0x42c756
xor eax, eax
mov dword [0x6c52cc], eax
imul eax, dword [eax + 0x21e], 0x64
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5bf700]
cvtpd2ps xmm0, xmm0
movss dword [esi + 0xe2], xmm0
jmp 0x42c78b
mov ecx, esi
call fcn.004292b0
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.0058e944
mov esp, ebp
pop ebp
ret

Function at 0x42c7b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x6a12a0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0
push str.data
mov edi, ecx
call dword [0x5bf078]
push 0
push str.data_aiconfig
call dword [0x5bf078]
mov eax, dword [0x6d8b54]
movzx eax, word [eax + 0x125]
push eax
lea eax, [ebp - 0x44]
push str.._data_aiconfig__d.dat
push eax
call fcn.0058feac
push 0x5c230c
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0058fcf0
mov eax, dword [ebp - 0x48]
add esp, 0x18
test eax, eax
je 0x42c833
push eax
push 1
lea eax, [edi + 0xe6]
push 0x1c5c
push eax
call fcn.005905a0
push dword [ebp - 0x48]
call fcn.0058fba0
add esp, 0x14
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0058e944
mov esp, ebp
pop ebp
ret
Function at 0x43ad40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b1597
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6a12a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ebp - 4], 0
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x38], 0
lea ebx, [ecx + 0x48]
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
lea edi, [ecx + 0x6c]
mov dword [edi], 0
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
lea esi, [ecx + 0x90]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
push 0x65
mov byte [ebp - 4], 4
call fcn.00497360
mov ecx, dword [ebp - 0x10]
push 0x65
lea ecx, [ecx + 0x24]
call fcn.00497360
push 0x65
mov ecx, ebx
call fcn.00497360
push 0x65
mov ecx, edi
call fcn.00497360
push 0x65
mov ecx, esi
call fcn.00497360
mov eax, dword [ebp - 0x10]
mov dword [0x6c5470], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x462fc0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b2cd7
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6a12a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebx], vtable.CEffectManager.0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
push 0x462ba0
push 0x462b80
push 2
push 0xc
lea eax, [ebx + 0x34]
mov dword [ebp - 4], 0
push eax
call fcn.0058f8e0
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x50], 0
mov dword [ebx + 0x54], 0
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x5c], 0
mov dword [ebx + 0x60], 0
push 0xa
lea ecx, [ebx + 0x70]
mov byte [ebp - 4], 2
call fcn.0058a1d0
push 0x20
lea ecx, [ebx + 4]
mov byte [ebp - 4], 3
call fcn.00497360
push 0x20
lea ecx, [ebx + 0x4c]
call fcn.00497360
push 0x190
call fcn.0058e15c
add esp, 4
test eax, eax
je 0x4630b4
mov dword [eax], vtable.CMemoryPoolTempl_class_CDamageNumber_.0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov byte [eax + 0x10], 0
jmp 0x4630b6
xor eax, eax
push 0x190
mov dword [ebx + 0x2c], eax
call fcn.0058e15c
add esp, 4
test eax, eax
je 0x4630e4
mov dword [eax], vtable.CMemoryPoolTempl_class_CEffect_.0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov byte [eax + 0x10], 0
jmp 0x4630e6
xor eax, eax
mov esi, dword [ebx + 0x2c]
push 0x80
mov dword [ebx + 0x28], eax
push str.CDamageNumber
lea eax, [esi + 0x10]
push eax
call fcn.0058fa10
lea edi, [esi + 4]
mov dword [esi + 0xc], 0x28
add esp, 0xc
cmp dword [edi], 0
jne 0x463121
push 0x3c
push edi
call fcn.00463810
mov eax, dword [edi]
add esp, 8
mov dword [esi + 8], eax
mov esi, dword [ebx + 0x28]
push 0x80
push str.CEffect
lea eax, [esi + 0x10]
push eax
call fcn.0058fa10
lea edi, [esi + 4]
mov dword [esi + 0xc], 0x32
add esp, 0xc
cmp dword [edi], 0
jne 0x463159
push 0x64
push edi
call fcn.00463940
mov eax, dword [edi]
add esp, 8
mov dword [esi + 8], eax
mov eax, ebx
mov dword [ebx + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46eab0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b30b0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6a12a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebx], vtable.CEventMap.0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
lea edi, [ebx + 0x34]
mov dword [ebp - 4], 0
lea ecx, [ebx + 0x6a]
mov byte [edi + 1], 0
call fcn.004b0110
lea ecx, [ebx + 0x8a]
mov byte [ebp - 4], 1
call fcn.004b0110
lea ecx, [ebx + 0xaa]
mov byte [ebp - 4], 2
call fcn.004b0110
lea ecx, [ebx + 0xca]
mov byte [ebp - 4], 3
call fcn.004b0110
push 0x3e8
lea ecx, [ebx + 4]
mov byte [ebp - 4], 4
call fcn.00497360
push 0x29
push 0
push edi
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x62], 0
mov dword [ebx + 0x5e], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0xea], 0
call fcn.0058f850
add esp, 0xc
mov dword [ebx + 0x66], 0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4798e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b3983
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6a12a0]
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], 0
mov dword [edi + 4], 0
call fcn.0047b700
mov dword [edi], eax
lea ecx, [edi + 8]
mov dword [ebp - 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.0044db30
mov dword [edi + 8], eax
lea ecx, [edi + 0x10]
mov byte [ebp - 4], 1
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.0047b6d0
mov dword [edi + 0x10], eax
mov eax, edi
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 + 0x40], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 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 0x4c0af0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b6a33
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6a12a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.004b4bb0
lea ecx, [esi + 0x4c]
mov dword [ebp - 4], 0
mov dword [esi], vtable.cWindow.0
call fcn.004b36a0
lea ecx, [esi + 0x8b4]
mov byte [ebp - 4], 1
call fcn.004b0110
xor eax, eax
mov dword [esi + 8], 0
mov word [esi + 0x1a], ax
mov eax, 1
mov word [esi + 0xc], ax
mov dword [esi + 0xe], eax
mov dword [esi + 0x1c], eax
xor eax, eax
mov dword [esi + 0x90c], eax
mov dword [esi + 0x8d4], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x24], eax
mov dword [esi + 4], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x904], eax
mov dword [esi + 0x908], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x8ac], eax
mov dword [esi + 0x8b0], eax
mov eax, esi
mov dword [esi + 0x12], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x8d8], 0xffffff
mov dword [esi + 0x8dc], 0xff
mov dword [esi + 0x8e0], 0x64
mov dword [esi + 0x16], fcn.0056bdf0
mov dword [esi + 0x910], 0x3f800000
mov dword [esi + 0x914], 0x3f800000
mov dword [esi + 0x30], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4c7190
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx + 0xc]
pop ebp
jmp fcn.004b64f0

Function at 0x4c78b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov ebx, ecx
push 0x5bf8a0
push str.._data_usercfginfo.dat
mov dword [ebp - 4], ebx
call fcn.0058fcdb
mov esi, eax
add esp, 8
test esi, esi
je 0x4c7971
push edi
push esi
push 1
lea edi, [ebx + 0x10]
push 0x2c
push edi
call fcn.00590289
push esi
call fcn.0058fba0
mov ecx, edi
add esp, 0x14
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c78f6
sub ecx, edx
je 0x4c7933
mov esi, 0xfffffff0
mov edx, edi
sub esi, ebx
lea ebx, [ebx]
add byte [edx], 0x9d
lea edx, [edx + 1]
mov ecx, edi
lea ebx, [ecx + 1]
jmp 0x4c7920
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c7920
sub ecx, ebx
lea eax, [esi + edx]
cmp eax, ecx
jb 0x4c7910
mov ebx, dword [ebp - 4]
add ebx, 0x24
mov ecx, ebx
lea edx, [ecx + 1]
jmp 0x4c7940
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c7940
sub ecx, edx
je 0x4c7970
mov edi, 0xffffffdc
mov edx, ebx
sub edi, dword [ebp - 4]
add byte [edx], 0x9d
lea edx, [edx + 1]
mov eax, ebx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c7960
sub eax, esi
lea ecx, [edi + edx]
cmp ecx, eax
jb 0x4c7955
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c8230
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x6a12a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x5bf910
push str.._data_usercfginfo.dat
mov esi, ecx
call fcn.0058fcdb
movdqu xmm0, xmmword [esi + 0x10]
mov ecx, dword [esi + 0x38]
mov edi, eax
add esp, 8
mov dword [ebp - 8], ecx
movdqu xmmword [ebp - 0x30], xmm0
movdqu xmm0, xmmword [esi + 0x20]
movdqu xmmword [ebp - 0x20], xmm0
movq xmm0, qword [esi + 0x30]
movq qword [ebp - 0x10], xmm0
test edi, edi
je 0x4c82f4
lea ecx, [ebp - 0x30]
xor edx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c8288
sub ecx, esi
je 0x4c82ad
add byte [ebp + edx - 0x30], 0x63
lea ecx, [ebp - 0x30]
inc edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c82a0
sub ecx, esi
cmp edx, ecx
jb 0x4c8293
lea ecx, [ebp - 0x1c]
xor edx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c82b5
sub ecx, esi
je 0x4c82dd
add byte [ebp + edx - 0x1c], 0x63
lea eax, [ebp - 0x1c]
inc edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c82d0
sub eax, esi
cmp edx, eax
jb 0x4c82c0
push edi
push 1
lea eax, [ebp - 0x30]
push 0x2c
push eax
call fcn.005905a0
push edi
call fcn.0058fba0
add esp, 0x14
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0058e944
mov esp, ebp
pop ebp
ret
Function at 0x505500
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b8778
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x6a12a0]
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 0x505625
cmp byte [ebx + 0x45], 0
je 0x505625
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x505554
xor al, al
jmp 0x505627
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
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 0x5055be
dec eax
je 0x5055c2
sub eax, 2
je 0x50560e
xor bl, bl
jmp 0x505610
mov byte [ebx + 0x45], 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 0x5055f4
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.005905a0
add esp, 0x10
cmp esi, eax
jne 0x5055ba
cmp byte [ebx + 0x45], 0
je 0x50560e
test esi, esi
jne 0x505584
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.0043d670
jmp 0x505584
mov bl, 1
cmp dword [ebp - 0x14], 0x10
jb 0x505621
push dword [ebp - 0x28]
call fcn.0058e1ad
add esp, 4
mov al, bl
jmp 0x505627
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.0058e944
mov esp, ebp
pop ebp
ret