joyce8/EMBER2024-capa huggingface dataset:
Function at 0x506360
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b88f8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
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
mov ecx, dword [ebp + 8]
cmp ecx, 0xffffffff
jne 0x50639c
xor eax, eax
jmp 0x50652c
mov eax, dword [ebx + 0x20]
mov edx, dword [eax]
test edx, edx
je 0x5063ca
mov esi, dword [ebx + 0x30]
mov edi, dword [esi]
lea eax, [edi + edx]
cmp edx, eax
jae 0x5063ca
lea eax, [edi - 1]
mov dword [esi], eax
mov ecx, dword [ebx + 0x20]
mov edx, dword [ecx]
lea eax, [edx + 1]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
mov byte [edx], al
jmp 0x50652c
cmp dword [ebx + 0x50], 0
jne 0x5063d8
or eax, 0xffffffff
jmp 0x50652c
mov esi, dword [ebx + 0xc]
lea eax, [ebx + 0x44]
cmp dword [esi], eax
jne 0x5063f9
mov ecx, dword [ebx + 0x38]
mov edx, dword [ebx + 0x3c]
mov dword [esi], ecx
sub edx, ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x2c]
mov ecx, dword [ebp + 8]
mov dword [eax], edx
cmp dword [ebx + 0x40], 0
jne 0x50641e
push dword [ebx + 0x50]
movsx eax, cl
push eax
call fcn.005928dd
or ecx, 0xffffffff
add esp, 8
cmp eax, ecx
cmovne ecx, dword [ebp + 8]
mov eax, ecx
jmp 0x50652c
mov byte [ebp - 0x2c], cl
lea eax, [ebp - 0x28]
mov ecx, 0xf
mov byte [ebp - 0x28], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], ecx
cmp ecx, 0x10
movq qword [ebp - 0x28], xmm0
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 - 0x30]
mov esi, dword [ebx + 0x40]
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edi, dword [esi]
add eax, ecx
push eax
push edx
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
lea eax, [ebp - 0x2b]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebx + 0x48]
push eax
call dword [edi + 0x1c]
test eax, eax
js 0x506516
cmp eax, 1
jg 0x5064f6
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
cmp edi, 0x10
mov esi, dword [ebp - 0x30]
cmovae eax, ecx
sub esi, eax
je 0x5064c7
push dword [ebx + 0x50]
cmp edi, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, ecx
push 1
push eax
call fcn.005905a0
add esp, 0x10
cmp esi, eax
jne 0x506516
lea eax, [ebp - 0x2c]
mov byte [ebx + 0x45], 1
cmp dword [ebp - 0x34], eax
jne 0x5064f1
test esi, esi
jne 0x506451
cmp dword [ebp - 0x18], 0x20
jae 0x506516
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.0043d670
jmp 0x506451
mov ebx, dword [ebp + 8]
jmp 0x506519
cmp eax, 3
jne 0x506516
push dword [ebx + 0x50]
push dword [ebp - 0x2c]
call fcn.00503fe0
or ecx, 0xffffffff
add esp, 8
test al, al
cmovne ecx, dword [ebp + 8]
mov ebx, ecx
jmp 0x506519
or ebx, 0xffffffff
cmp dword [ebp - 0x14], 0x10
jb 0x50652a
push dword [ebp - 0x28]
call fcn.0058e1ad
add esp, 4
mov eax, ebx
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 4
Function at 0x51f8e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bb666
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
lea ecx, [edi + 4]
mov dword [edi], vtable.CMunpaMarkManager.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
mov dword [ebp - 4], 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
push 0x40
mov byte [ebp - 4], 1
mov dword [edi + 0x4c], 0
call fcn.00497360
push 0x40
lea ecx, [edi + 0x28]
call fcn.00497360
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 0x520750
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b1dfb
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 + 4]
mov dword [esi], vtable.CNewbieGuide.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 0x60
mov dword [ebp - 4], 0
call fcn.00497360
mov dword [esi + 0x30], 0
mov eax, esi
mov dword [esi + 0x2c], 0
mov dword [esi + 0x28], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x526040
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b98bb
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
xor eax, eax
mov dword [esi], vtable.COBalloonName.0
push 0x3d
push eax
mov dword [esi + 0xf2], eax
mov dword [esi + 0xfa], eax
mov byte [esi + 0xfe], al
mov dword [esi + 4], eax
mov dword [esi + 8], eax
lea eax, [esi + 0x34]
push eax
mov dword [esi + 0x72], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0xf6], 0
mov dword [esi + 0x76], 0xffffff
mov dword [esi + 0x7a], 0xffffff
call fcn.0058f850
xorps xmm0, xmm0
movdqu xmmword [esi + 0x7e], xmm0
mov byte [esi + 0x8e], 0
movdqu xmmword [esi + 0x8f], xmm0
push 0x860
movdqu xmmword [esi + 0x9f], xmm0
mov byte [esi + 0xaf], 0
movdqu xmmword [esi + 0xb0], xmm0
movdqu xmmword [esi + 0xc0], xmm0
mov byte [esi + 0xd0], 0
movdqu xmmword [esi + 0xd1], xmm0
movdqu xmmword [esi + 0xe1], xmm0
mov byte [esi + 0xf1], 0
movdqu xmmword [esi + 0x11e], xmm0
mov byte [esi + 0x12e], 0
call fcn.0058e15c
add esp, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x52617e
mov ecx, eax
call fcn.004b36a0
jmp 0x526180
xor eax, eax
mov dword [esi + 0x104], eax
mov eax, esi
mov dword [esi + 0x100], 0
mov dword [esi + 0x116], 0
mov dword [esi + 0x10a], 0
mov dword [esi + 0x10e], 0
mov dword [esi + 0x112], 0
mov dword [esi + 0x130], 0
mov dword [esi + 0x134], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x53aa10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ba143
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
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [ebp - 4], 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
push 0xa
mov byte [ebp - 4], 1
call fcn.00497360
push 0x14
lea ecx, [edi + 0x24]
call fcn.00497360
mov ecx, edi
call fcn.0053b7e0
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 0x542f80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ba447
mov eax, dword fs:[0]
push eax
sub esp, 8
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 - 0x14], edi
cmp dword [ebp + 8], 0
mov dword [ebp - 0x10], 0
je 0x542fd4
mov dword [edi], 0x5d0108
mov dword [edi + 0x60], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov eax, dword [edi]
lea esi, [edi + 4]
push 0
push esi
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.00506130
mov eax, dword [edi]
mov dword [ebp - 4], 2
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ecx + edi - 4], eax
mov ecx, esi
call fcn.00504240
lea eax, [esi + 4]
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
lea eax, [esi + 0x14]
mov byte [esi + 0x4c], 0
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov byte [esi + 0x45], 0
mov dword [esi + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov dword [esi + 0x50], 0
mov eax, dword [0x6d7124]
mov dword [esi + 0x48], eax
mov eax, edi
mov dword [esi + 0x40], 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 0x543360
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ba598
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x6a12a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x105
mov dword [ebp - 4], 0
call fcn.0058e15c
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
mov dword [esi + 0x22], eax
cmovae ecx, dword [ebp + 8]
push ecx
push 0x104
push eax
call fcn.00593903
mov ecx, dword [esi + 0x22]
mov al, byte [ebp + 0x20]
push 0
push 0
mov byte [ecx + 0x104], al
push dword [esi + 0x22]
push 0x5444d0
push 0
push 0
call fcn.005941e5
add esp, 0x28
push eax
call dword [0x5bf068]
cmp dword [ebp + 0x1c], 0x10
jb 0x5433ec
push dword [ebp + 8]
call fcn.0058e1ad
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x543400
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ba598
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x6a12a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x105
mov dword [ebp - 4], 0
call fcn.0058e15c
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
mov dword [esi + 0x22], eax
cmovae ecx, dword [ebp + 8]
push ecx
push 0x104
push eax
call fcn.00593903
mov ecx, dword [esi + 0x22]
mov al, byte [ebp + 0x20]
push 0
push 0
mov byte [ecx + 0x104], al
push dword [esi + 0x22]
push 0x544870
push 0
push 0
call fcn.005941e5
add esp, 0x28
push eax
call dword [0x5bf068]
cmp dword [ebp + 0x1c], 0x10
jb 0x54348c
push dword [ebp + 8]
call fcn.0058e1ad
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x5434a0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x544c10
push 0
push 0
call fcn.005941e5
add esp, 0x18
push eax
call dword [0x5bf068]
ret

Function at 0x543bc0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ba598
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x6a12a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x105
mov dword [ebp - 4], 0
call fcn.0058e15c
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
mov dword [esi + 0x22], eax
cmovae ecx, dword [ebp + 8]
push ecx
push 0x104
push eax
call fcn.00593903
mov ecx, dword [esi + 0x22]
mov al, byte [ebp + 0x20]
push 0
push 0
mov byte [ecx + 0x104], al
push dword [esi + 0x22]
push 0x545340
push 0
push 0
call fcn.005941e5
add esp, 0x28
push eax
call dword [0x5bf068]
cmp dword [ebp + 0x1c], 0x10
jb 0x543c4c
push dword [ebp + 8]
call fcn.0058e1ad
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x545900
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ba918
mov eax, dword fs:[0]
push eax
sub esp, 0x38
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 dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov edi, 0xf
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], edi
mov byte [ebp - 0x28], 0
mov eax, dword [ebp + 0x18]
mov byte [ebp - 4], 2
cmp eax, edi
je 0x545989
push 1
push eax
lea ecx, [ebp - 0x28]
call fcn.00403ce0
test al, al
je 0x545986
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 0
cmovae eax, dword [ebp - 0x28]
mov byte [eax], 0
mov edi, dword [ebp - 0x14]
cmp dword [ebp + 0x1c], 0x10
lea esi, [ebp + 8]
cmovae esi, dword [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
mov eax, dword [ebp + 0x18]
cmovae ecx, dword [ebp + 8]
add eax, ecx
cmp esi, eax
je 0x545a5f
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
mov bl, byte [esi]
cmp edi, 0x10
mov byte [ebp - 0x44], bl
cmovae ecx, dword [ebp - 0x28]
add eax, ecx
cmp edi, 0x10
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
test eax, eax
je 0x5459d0
sub eax, ecx
push dword [ebp - 0x44]
lea ecx, [ebp - 0x28]
push 1
push eax
call fcn.005465a0
cmp bl, 0x5c
je 0x5459f8
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
mov eax, dword [ebp + 0x18]
cmovae ecx, dword [ebp + 8]
dec eax
add eax, ecx
cmp esi, eax
jne 0x545a4f
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.004579b0
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.00594412
add esp, 8
test eax, eax
je 0x545a3a
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.00594472
add esp, 4
test eax, eax
jne 0x545a58
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 0
cmovae eax, dword [ebp - 0x28]
mov byte [eax], 0
mov edi, dword [ebp - 0x14]
inc esi
jmp 0x545994
mov edi, dword [ebp - 0x14]
xor bl, bl
jmp 0x545a61
mov bl, 1
cmp edi, 0x10
jb 0x545a71
push dword [ebp - 0x28]
call fcn.0058e1ad
add esp, 4
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x545a94
push dword [ebp - 0x40]
call fcn.0058e1ad
add esp, 4
cmp dword [ebp + 0x1c], 0x10
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jb 0x545ab7
push dword [ebp + 8]
call fcn.0058e1ad
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.0058e944
mov esp, ebp
pop ebp
ret 0x18
Function at 0x546b40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x6a12a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push 0xffffffffffffffff
push dword [0x6d9c2c]
call dword [0x5bf204]
mov eax, 2
mov word [ebp - 0x14], ax
movzx eax, word [esi + 0x18]
push eax
call fcn.0058d6cc
cmp dword [esi + 0x14], 0x10
mov word [ebp - 0x12], ax
jb 0x546b84
mov esi, dword [esi]
push esi
call fcn.0058d6d2
push 6
push 1
push 2
mov dword [ebp - 0x10], eax
call fcn.0058d6e4
push 0x10
lea ecx, [ebp - 0x14]
mov dword [0x6d9c28], eax
push ecx
push eax
call fcn.0058d6c6
cmp eax, 0xffffffff
jne 0x546bc2
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058e944
mov esp, ebp
pop ebp
ret 4
push 0x12a
call fcn.0058e15c
mov esi, eax
lea ecx, [edi + 0x10]
push ecx
push 0x104
lea ecx, [esi + 0x10]
push ecx
call fcn.00593903
lea ecx, [edi + 0x114]
push ecx
lea eax, [esi + 0x114]
push 0x10
push eax
call fcn.00593903
mov eax, dword [edi + 0x124]
push 0
push 0
push esi
push 0x546c80
mov dword [esi + 0x124], eax
mov al, byte [edi + 0x128]
push 0
push 0
mov byte [esi + 0x128], al
call fcn.005941e5
mov ecx, dword [ebp - 4]
add esp, 0x34
mov dword [0x6d9c2c], eax
xor ecx, ebp
mov al, 1
pop edi
pop esi
call fcn.0058e944
mov esp, ebp
pop ebp
ret 4

Function at 0x5592c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bb666
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
lea ecx, [edi + 4]
mov dword [edi], vtable.CReinforceManager.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
mov dword [ebp - 4], 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
push 0x14
mov byte [ebp - 4], 1
call fcn.00497360
push 0x14
lea ecx, [edi + 0x28]
call fcn.00497360
mov dword [edi + 0x4c], 0
mov eax, edi
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
Function at 0x574930
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bc235
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], vtable.CTileManager.0
lea ecx, [edi + 0x34]
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
call fcn.0053fb60
mov dword [edi + 0x34], eax
mov dword [ebp - 4], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
lea esi, [edi + 0x54]
mov byte [ebp - 4], 1
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.0058e15c
add esp, 4
test eax, eax
jne 0x5749df
call fcn.0058d7c9
mov dword [esi], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
lea esi, [edi + 0x68]
mov byte [ebp - 4], 2
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.0058e15c
add esp, 4
test eax, eax
jne 0x574a2e
call fcn.0058d7c9
mov dword [esi], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
lea esi, [edi + 0x88]
mov byte [ebp - 4], 4
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.0058e15c
add esp, 4
test eax, eax
jne 0x574a9b
call fcn.0058d7c9
mov dword [esi], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
lea esi, [edi + 0x9c]
mov byte [ebp - 4], 5
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.0058e15c
add esp, 4
test eax, eax
jne 0x574aed
call fcn.0058d7c9
mov dword [esi], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov eax, edi
mov dword [edi + 0xc], 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 0xac9058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00ac91a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xac907e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xac906a
add dl, dl
jne 0xac9089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xac90dc
xor eax, eax
add dl, dl
jne 0xac9096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xac917d
add dl, dl
jne 0xac90a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xac90b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xac90bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xac90c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xac90d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xac9075
mov eax, 1
add dl, dl
jne 0xac90ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xac90f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xac90e1
sub eax, ebx
mov ebx, 1
jne 0xac9128
mov ecx, 1
add dl, dl
jne 0xac910e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xac9119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xac9105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xac9075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xac913f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xac914a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xac9136
cmp eax, 0x7d00
jae 0xac916d
cmp eax, 0x500
jb 0xac9168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xac9075
cmp eax, 0x7f
ja 0xac9170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xac9075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xac919e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xac9075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx