Function at 0x4af6d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ea426
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x7ce4e4]
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 + 4], 0
lea eax, [ebx + 0x20]
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], fcn.005cff37
mov dword [ebx + 0x18], fcn.005cfea2
mov dword [ebx + 0x1c], fcn.005cff1c
mov dword [eax + 4], fcn.005cff37
mov dword [eax + 8], fcn.005cfea2
mov dword [eax + 0xc], fcn.005cff1c
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0x1fff8
mov dword [eax], vtable.common::t_heap.0
mov dword [ebx + 0x3c], fcn.005cff37
mov dword [ebx + 0x40], fcn.005cfea2
mov dword [ebx + 0x44], fcn.005cff1c
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x4c], 0x8000
mov dword [ebx + 0x38], vtable.common::t_heap.0
mov dword [ebx + 0x50], 0
mov byte [ebx + 0x54], 1
mov dword [ebp - 4], 0
lea edi, [ebx + 0x58]
mov dword [ebx], vtable.t_configGameFile.0
mov dword [ebp - 0x14], edi
mov byte [edi + 4], 0
mov dword [edi + 8], str.setting
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], fcn.005cff37
mov dword [edi + 0x20], fcn.005cfea2
mov dword [edi + 0x24], fcn.005cff1c
mov dword [edi + 0x28], eax
mov dword [edi], vtable.t_configGameFile::t_setting.0
mov byte [edi + 0x30], 0
mov dword [edi + 0x34], 0x794990
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x2c], vtable.n_config::t_int.0
mov byte [edi + 0x44], 0
mov dword [edi + 0x48], 0x794980
mov dword [edi + 0x4c], 0x786008
mov dword [edi + 0x50], 0x786008
mov dword [edi + 0x40], vtable.n_config::t_str.0
mov dword [edi + 0x54], eax
lea ecx, [ebx + 0xb0]
mov dword [ebp - 0x14], ecx
mov byte [ecx + 4], 0
mov dword [ecx + 8], 0x794930
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], 0
lea eax, [ebx + 0x84]
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x20], fcn.005cff37
mov dword [ecx + 0x24], fcn.005cfea2
mov dword [ecx + 0x28], fcn.005cff1c
mov dword [ecx], vtable.n_config::t_arraySection_class_t_configGameFile::t_item_.0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
cmp ecx, eax
jne 0x4af8c3
test eax, eax
jne 0x4af8a8
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x4af8ad
mov eax, 1
jmp 0x4af8b6
lea eax, [ecx + ecx]
test eax, eax
js 0x4af8d5
cmp eax, 0x1fffffff
ja 0x4af8d5
push eax
lea ecx, [ebx + 4]
call fcn.004a1e90
test eax, eax
je 0x4af8d5
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 4]
lea eax, [eax + ecx*4]
test eax, eax
je 0x4af8d2
mov dword [eax], edi
inc dword [ebx + 8]
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
cmp ecx, eax
jne 0x4af90c
test eax, eax
jne 0x4af8f1
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x4af8f6
mov eax, 1
jmp 0x4af8ff
lea eax, [ecx + ecx]
test eax, eax
js 0x4af924
cmp eax, 0x1fffffff
ja 0x4af924
push eax
lea ecx, [ebx + 4]
call fcn.004a1e90
test eax, eax
je 0x4af924
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 4]
lea eax, [eax + ecx*4]
test eax, eax
je 0x4af921
lea ecx, [ebx + 0xb0]
mov dword [eax], ecx
inc dword [ebx + 8]
xor edi, edi
cmp dword [ebx + 8], edi
jle 0x4af941
nop dword [eax + eax]
mov eax, dword [ebx + 4]
mov ecx, dword [eax + edi*4]
mov eax, dword [ecx]
call dword [eax + 0x20]
inc edi
cmp edi, dword [ebx + 8]
jl 0x4af930
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 4