Function at 0x5b0dd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x633dcc
mov eax, dword fs:[0]
push eax
sub esp, 0x3a8
mov eax, dword [0x68b740]
xor eax, esp
mov dword [esp + 0x3a4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x68b740]
xor eax, esp
push eax
lea eax, [esp + 0x3bc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x3cc]
test esi, esi
mov eax, dword [esp + 0x3d0]
mov ebx, ecx
mov ecx, dword [esp + 0x3d4]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], eax
mov dword [esp + 0x38], ecx
je 0x5b0f74
cmp byte [esi], 0
je 0x5b0f74
push 0
call fcn.005aed00
mov edx, ebx
mov ebp, eax
sub edx, esi
add esp, 4
mov dword [esp + 0x58], ebp
mov dword [esp + 0x18], 0
mov eax, esi
add edx, 0x40c8
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x5b0e67
mov eax, dword [ebp]
mov edx, dword [eax + 0xc]
push 1
push esi
mov ecx, ebp
call edx
test eax, eax
mov dword [esp + 0x2c], eax
jl 0x5b0f74
mov eax, dword [ebp]
mov edx, dword [esp + 0x2c]
mov eax, dword [eax + 0x24]
push 1
push 0x50
lea ecx, [esp + 0x17c]
push ecx
push 0x63abb8
push 0x6508cc
push edx
mov ecx, ebp
call eax
mov edi, 0x6508c0
lea esi, [esp + 0x174]
mov ecx, 0xb
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x5b0ecf
xor edi, edi
mov dword [ebx + 0x10], edi
jmp 0x5b0ed8
mov dword [ebx + 0x10], 1
xor edi, edi
mov edx, dword [ebp]
mov esi, dword [esp + 0x2c]
push 1
push 0x50
lea eax, [ebx + 0x18]
push eax
mov eax, dword [edx + 0x24]
push 0x63abb8
push 0x6508b4
push esi
mov ecx, ebp
call eax
mov eax, dword [ebx + 0x10]
cmp eax, edi
jne 0x5b1942
lea ecx, [esp + 0xd0]
call dword [sym.imp.engine.dll_public:_void___thiscall_KTabFile::constructor_void_]
push 1
mov dword [esp + 0x3c8], edi
call fcn.005aed50
push 2
mov dword [esp + 0x5c], eax
call fcn.005aed50
mov edx, dword [ebp]
mov edx, dword [edx + 0x24]
add esp, 8
push 1
push 0x50
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x17c]
push eax
push 0x63abb8
push 0x650974
push esi
mov ecx, ebp
call edx
cmp byte [esp + 0x174], 0
jne 0x5b0fa0
lea ecx, [esp + 0xd0]
mov dword [esp + 0x3c4], 0xffffffff
call dword [sym.imp.engine.dll_public_virtual:_void___thiscall_KTabFile::destructor_void_]
xor eax, eax
mov ecx, dword [esp + 0x3bc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3a4]
xor ecx, esp
call fcn.00612c78
add esp, 0x3b4
ret 0xc
lea eax, [esp + 0x1c4]
push eax
lea ecx, [esp + 0x178]
push ecx
push 3
call fcn.005aece0
add esp, 4
push eax
call dword [sym.imp.engine.dll_void___cdecl_g_UnitePathAndName_char_const___char_const___char__]
add esp, 0xc
lea edx, [esp + 0x1c4]
push edx
lea ecx, [esp + 0xd4]
call dword [sym.imp.engine.dll_public_virtual:_int___thiscall_KTabFile::Load_char_const__]
test eax, eax
je 0x5b0f5c
mov dword [ebx + 0x14], edi
mov dword [esp + 0x14], edi
lea esi, [ebx + 0x3174]
mov edi, edi
mov ebp, dword [esp + 0x14]
xor edi, edi
add ebp, 2
lea esp, [esp]
push 0x20
push esi
push 0x63abb8
lea eax, [edi + 3]
push eax
push ebp
lea ecx, [esp + 0xe4]
mov dword [esi - 4], 0
mov byte [esi], 0
mov byte [esi + 0x20], 0
mov byte [esi + 0x70], 0
call dword [sym.imp.engine.dll_public_virtual:_int___thiscall_KTabFile::GetString_int__int__char_const___char___unsigned_long_int_]
cmp byte [esi], 0
je 0x5b103c
mov eax, 1
mov dword [esi - 4], eax
add dword [ebx + 0x14], eax
add edi, 1
add esi, 0xc4
cmp edi, 4
jl 0x5b1000
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, 5
mov dword [esp + 0x14], eax
jl 0x5b0ff0
mov ebp, dword [sym.imp.engine.dll_void___cdecl_g_StrCat_char___char_const__]
lea esi, [ebx + 0x3194]
mov dword [esp + 0x28], 0x14
mov edi, edi
cmp dword [esi - 0x24], 0
je 0x5b10c2
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
push 1
push 0x50
push esi
push 0x63abb8
lea eax, [esi - 0x20]
push eax
mov eax, dword [esp + 0x40]
push eax
call edx
cmp byte [esi], 0
je 0x5b10c2
push esi
lea edi, [esi + 0x50]
call dword [sym.imp.engine.dll_int___cdecl_g_StrLen_char_const__]
sub eax, 3
push eax
push esi
push edi
call dword [sym.imp.engine.dll_void___cdecl_g_StrCpyLen_char___char_const___int_]
push 0x65096c
push edi
call ebp
push 0x650964
push edi
call ebp
add esp, 0x20
add esi, 0xc4
sub dword [esp + 0x28], 1
jne 0x5b1070
mov esi, dword [sym.imp.engine.dll_public:_void___thiscall_KTabFile::constructor_void_]
lea ecx, [esp + 0x90]
call esi
lea ecx, [esp + 0xf0]
mov byte [esp + 0x3c4], 1
call esi
push 3
mov byte [esp + 0x3c8], 2
call fcn.005aece0
mov ebp, dword [sym.imp.engine.dll_bool___cdecl_KSG_StringSkipSymbol_char_const____int_]
mov dword [esp + 0x68], eax
mov dword [esp + 0x4c], ebx
lea eax, [ebx + 0x68]
mov ebx, dword [sym.imp.engine.dll_int___cdecl_KSG_StringGetInt_char_const____int_]
add esp, 4
mov dword [esp + 0x68], 0x63abb8
mov dword [esp + 0x6c], 0x65095c
mov dword [esp + 0x38], 0x14
mov dword [esp + 0x28], 0
mov dword [esp + 0x14], eax
lea esp, [esp]
mov ecx, dword [esp + 0x14]
call fcn.005af740
mov eax, dword [esp + 0x48]
cmp dword [eax + 0x3170], 0
je 0x5b13ed
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + ecx*4 + 0x68]
mov ecx, dword [esp + 0x20]
push 0x104
lea edx, [esp + 0x2b8]
push edx
push esi
add eax, 0x3194
push eax
call fcn.005aee20
mov eax, dword [esp + 0x64]
lea ecx, [esp + 0x1c4]
push ecx
lea edx, [esp + 0x2b8]
push edx
push eax
call dword [sym.imp.engine.dll_void___cdecl_g_UnitePathAndName_char_const___char_const___char__]
add esp, 0xc
lea ecx, [esp + 0x1c4]
push ecx
lea ecx, [esp + 0x94]
call dword [sym.imp.engine.dll_public_virtual:_int___thiscall_KTabFile::Load_char_const__]
test eax, eax
je 0x5b13ed
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x20]
push 0x104
lea edx, [esp + 0x2b8]
push edx
push esi
add eax, 0x31e4
push eax
call fcn.005aee20
mov eax, dword [esp + 0x64]
lea ecx, [esp + 0x1c4]
push ecx
lea edx, [esp + 0x2b8]
push edx
push eax
call dword [sym.imp.engine.dll_void___cdecl_g_UnitePathAndName_char_const___char_const___char__]
add esp, 0xc
lea ecx, [esp + 0x1c4]
push ecx
lea ecx, [esp + 0xf4]
call dword [sym.imp.engine.dll_public_virtual:_int___thiscall_KTabFile::Load_char_const__]
test eax, eax
je 0x5b13ed
lea ecx, [esp + 0x90]
call dword [sym.imp.engine.dll_public_virtual:_int___thiscall_KTabFile::GetHeight_void_]
mov esi, eax
sub esi, 1
test esi, esi
jle 0x5b13ed
mov ecx, dword [esp + 0x40]
call fcn.005af2d0
test eax, eax
mov dword [esp + 0x1c], eax
jle 0x5b13ed
mov ecx, dword [esp + 0x14]
push esi
mov edx, eax
push edx
call fcn.005af790
test esi, esi
jle 0x5b13ed
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x1c]
imul eax, eax, 0x5c
mov dword [esp + 0x44], 2
mov dword [esp + 0x5c], eax
mov dword [esp + 0x34], esi
jmp 0x5b1280
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x44]
push 0x64
lea eax, [esp + 0x114]
push eax
push 0x63abb8
lea eax, [esi + 2]
push eax
push ecx
lea ecx, [esp + 0xa4]
call dword [sym.imp.engine.dll_public_virtual:_int___thiscall_KTabFile::GetString_int__int__char_const___char___unsigned_long_int_]
cmp byte [esp + 0x110], 0
je 0x5b12d4
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x110]
push edx
call fcn.005aed90
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0xc]
mov ecx, dword [esp + 0x30]
mov dword [ecx + edx], eax
jmp 0x5b12e6
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0xc]
mov ecx, dword [esp + 0x30]
mov dword [ecx + eax], 0
test esi, esi
jle 0x5b13cd
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x1c]
mov edi, 2
mov dword [esp + 0x4c], edx
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx + 8]
mov eax, dword [esp + 0x44]
add esi, dword [esp + 0x4c]
push 0x64
lea edx, [esp + 0x114]
push edx
push 0x63abb8
push edi
push eax
lea ecx, [esp + 0xa4]
call dword [sym.imp.engine.dll_public_virtual:_int___thiscall_KTabFile::GetString_int__int__char_const___char___unsigned_long_int_]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x110]
push ecx
add eax, 0x18
push eax
lea edx, [esi + 0xc]
push edx
call fcn.005aeef0
mov ecx, dword [esp + 0x50]
add esp, 0xc
push 0x64
lea eax, [esp + 0x114]
push eax
push 0x650954
push edi
push ecx
lea ecx, [esp + 0x104]
call dword [sym.imp.engine.dll_public_virtual:_int___thiscall_KTabFile::GetString_int__int__char_const___char___unsigned_long_int_]
lea eax, [esp + 0x18]
lea edx, [esp + 0x110]
push 0x22
push eax
mov dword [esp + 0x20], edx
call ebp
lea ecx, [esp + 0x20]
push 0x10
push ecx
call ebx
lea edx, [esp + 0x28]
push 0x2c
push edx
mov dword [esi], eax
call ebp
lea eax, [esp + 0x30]
push 0x10
push eax
call ebx
lea ecx, [esp + 0x38]
push 0x2c
push ecx
mov dword [esi + 4], eax
call ebp
lea edx, [esp + 0x40]
push 0
push edx
call ebx
add dword [esp + 0x7c], 0x5c
add esp, 0x30
add edi, 1
sub dword [esp + 0x60], 1
mov dword [esi + 8], eax
jne 0x5b1303
mov ecx, dword [esp + 0x5c]
add dword [esp + 0x30], 4
add dword [esp + 0x50], ecx
mov eax, 1
add dword [esp + 0x44], eax
sub dword [esp + 0x34], eax
jne 0x5b1280
mov eax, dword [esp + 0x28]
add dword [esp + 0x14], 0x10
add eax, 1
cmp eax, 2
mov dword [esp + 0x28], eax
jl 0x5b1140
add dword [esp + 0x48], 0xc4
sub dword [esp + 0x38], 1
mov eax, dword [esp + 0x14]
jne 0x5b1130
mov esi, dword [sym.imp.engine.dll_public:_void___thiscall_KTabFile::constructor_void_]
lea ecx, [esp + 0xb0]
call esi
lea ecx, [esp + 0x70]
mov byte [esp + 0x3c4], 3
call esi
mov esi, dword [esp + 0x58]
mov edx, dword [esi]
mov edi, dword [esp + 0x2c]
mov edx, dword [edx + 0x24]
push 1
push 0x50
lea eax, [esp + 0x21c]
push eax
push 0x63abb8
push 0x650940
push edi
mov ecx, esi
mov byte [esp + 0x3dc], 4
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
push 1
push 0x50
lea ecx, [esp + 0x26c]
push ecx
push 0x63abb8
push 0x65092c
push edi
mov ecx, esi
call edx
cmp byte [esp + 0x214], 0
je 0x5b1599
lea eax, [esp + 0x1c4]
push eax
lea ecx, [esp + 0x218]
push ecx
push 3
call fcn.005aece0
add esp, 4
push eax
call dword [sym.imp.engine.dll_void___cdecl_g_UnitePathAndName_char_const___char_const___char__]
add esp, 0xc
lea edx, [esp + 0x1c4]
push edx
lea ecx, [esp + 0xb4]
call dword [sym.imp.engine.dll_public_virtual:_int___thiscall_KTabFile::Load_char_const__]
test eax, eax
je 0x5b1599
lea ecx, [esp + 0xb0]
call dword [sym.imp.engine.dll_public_virtual:_int___thiscall_KTabFile::GetWidth_void_]
mov edi, eax
sub edi, 1
lea ecx, [esp + 0xb0]
mov dword [esp + 0x1c], edi
call dword [sym.imp.engine.dll_public_virtual:_int___thiscall_KTabFile::GetHeight_void_]
mov ecx, dword [esp + 0x20]
mov esi, eax
sub esi, 1
push esi
add ecx, 0x2e8
push edi
mov dword [esp + 0x30], esi
call fcn.005afa30
test esi, esi
mov esi, dword [esp + 0x40]
mov dword [esp + 0x14], 0
jle 0x5b159d
xor edi, edi
cmp dword [esp + 0x1c], edi
jle 0x5b1586
mov edi, edi
push 0x50
lea eax, [esp + 0x178]
push eax
mov eax, dword [esp + 0x1c]
push 0x63abb8
lea ecx, [edi + 2]
push ecx
add eax, 2
push eax
lea ecx, [esp + 0xc4]
call dword [sym.imp.engine.dll_public_virtual:_int___thiscall_KTabFile::GetString_int__int__char_const___char___unsigned_long_int_]
lea edx, [esp + 0x174]
push edx
mov ecx, esi
call fcn.005af260
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x18]
push eax
push edi
add ecx, 0x2e8
call fcn.005afab0
add edi, 1
cmp edi, dword [esp + 0x1c]
jl 0x5b1530
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, dword [esp + 0x28]
mov dword [esp + 0x14], eax
jl 0x5b1526
jmp 0x5b159d
mov esi, dword [esp + 0x40]
cmp byte [esp + 0x264], 0
je 0x5b16a7
lea ecx, [esp + 0x1c4]
push ecx
lea edx, [esp + 0x268]
push edx
push 3
call fcn.005aece0
add esp, 4
push eax
call dword [sym.imp.engine.dll_void___cdecl_g_UnitePathAndName_char_const___char_const___char__]
add esp, 0xc
lea eax, [esp + 0x1c4]
push eax
lea ecx, [esp + 0x74]
call dword [sym.imp.engine.dll_public_virtual:_int___thiscall_KTabFile::Load_char_const__]
test eax, eax
je 0x5b16a7
lea ecx, [esp + 0x70]
call dword [sym.imp.engine.dll_public_virtual:_int___thiscall_KTabFile::GetWidth_void_]
sub eax, 1
lea ecx, [esp + 0x70]
mov dword [esp + 0x1c], eax
call dword [sym.imp.engine.dll_public_virtual:_int___thiscall_KTabFile::GetHeight_void_]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edi, eax
sub edi, 1
push edi
add ecx, 0x2f4
push edx
mov dword [esp + 0x30], edi
call fcn.005afa30
test edi, edi
mov dword [esp + 0x14], 0
jle 0x5b16a7
mov edi, edi
xor edi, edi
cmp dword [esp + 0x1c], edi
jle 0x5b1696
jmp 0x5b1640
push 0x50
lea eax, [esp + 0x178]
push eax
mov eax, dword [esp + 0x1c]
push 0x63abb8
lea ecx, [edi + 2]
push ecx
add eax, 2
push eax
lea ecx, [esp + 0x84]
call dword [sym.imp.engine.dll_public_virtual:_int___thiscall_KTabFile::GetString_int__int__char_const___char___unsigned_long_int_]
lea edx, [esp + 0x174]
push edx
mov ecx, esi
call fcn.005af260
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x18]
push eax
push edi
add ecx, 0x2f4
call fcn.005afab0
add edi, 1
cmp edi, dword [esp + 0x1c]
jl 0x5b1640
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, dword [esp + 0x28]
mov dword [esp + 0x14], eax
jl 0x5b1630
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
push 1
push 0x50
lea eax, [esp + 0x17c]
push eax
mov eax, dword [esp + 0x38]
push 0x63abb8
push 0x650914
push eax
call edx
test eax, eax
je 0x5b170c
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x174]
mov edx, eax
mov ecx, edi
sub ecx, edx
lea edx, [ecx + 0x310c]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x5b16e8
mov eax, dword [edi + 0x14]
push eax
push esi
lea ecx, [esp + 0x17c]
push ecx
lea ecx, [edi + 0x2b00]
call fcn.005b0b40
mov ecx, esi
call fcn.005af2d0
mov edi, dword [esp + 0x20]
add edi, 0x40c0
push eax
mov ecx, edi
mov dword [esp + 0x20], eax
call fcn.005af380
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
mov eax, dword [esp + 0x3c]
mov edx, dword [edx + 0xc]
push 1
push eax
call edx
test eax, eax
mov dword [esp + 0x38], eax
jle 0x5b1854
mov eax, dword [esp + 0x1c]
test eax, eax
jle 0x5b1854
xor esi, esi
mov dword [esp + 0x30], 3
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
mov edx, dword [edx + 0x20]
push 0x64
lea eax, [esp + 0x114]
push eax
mov eax, dword [esp + 0x38]
push 0x63abb8
add eax, 0xffffffff
push eax
mov eax, dword [esp + 0x48]
push eax
call edx
cmp byte [esp + 0x110], 0
je 0x5b17af
mov ecx, dword [edi]
lea eax, [esp + 0x110]
push eax
mov eax, dword [esp + 0x24]
add eax, 0x18
push eax
add ecx, esi
push ecx
call fcn.005aeef0
add esp, 0xc
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
mov edx, dword [edx + 0x20]
push 0x64
lea eax, [esp + 0x114]
push eax
mov eax, dword [esp + 0x38]
push 0x65090c
push eax
mov eax, dword [esp + 0x48]
push eax
call edx
lea ecx, [esp + 0x18]
lea eax, [esp + 0x110]
push 0x22
push ecx
mov dword [esp + 0x20], eax
call ebp
lea edx, [esp + 0x20]
push 0x10
push edx
call ebx
mov ecx, dword [edi]
lea edx, [esp + 0x28]
push 0x2c
push edx
mov dword [esi + ecx + 0x50], eax
call ebp
lea eax, [esp + 0x30]
push 8
push eax
call ebx
mov ecx, dword [edi]
lea edx, [esp + 0x38]
push 0x2c
push edx
mov dword [esi + ecx + 0x54], eax
call ebp
lea eax, [esp + 0x40]
push 1
push eax
call ebx
mov ecx, dword [edi]
add dword [esp + 0x60], 2
mov dword [esi + ecx + 0x58], eax
mov edx, dword [edi]
mov dword [esi + edx + 0x5c], 0xa0
mov eax, dword [edi]
mov dword [esi + eax + 0x60], 0xbe
add esp, 0x30
add esi, 0x64
sub dword [esp + 0x34], 1
jne 0x5b1761
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x54]
mov edx, dword [edi]
mov eax, dword [esp + 0x3c]
mov edx, dword [edx + 0x10]
push eax
mov ecx, edi
call edx
mov ecx, esi
mov ebx, eax
call fcn.005af2d0
test ebx, ebx
mov ebp, eax
jle 0x5b18dd
test ebp, ebp
jle 0x5b18dd
xor esi, esi
test ebp, ebp
jle 0x5b18dd
mov eax, dword [esp + 0x20]
add eax, 0x300
mov dword [esp + 0x24], eax
lea esp, [esp]
mov edx, dword [edi]
mov edx, dword [edx + 0x20]
push 0x64
lea eax, [esp + 0x114]
push eax
push 0x63abb8
push ebx
lea ecx, [esi + 2]
push ecx
mov ecx, edi
call edx
cmp byte [esp + 0x110], 0
je 0x5b18d1
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x110]
push eax
push 0x650904
push ecx
call fcn.005aeef0
add esp, 0xc
add dword [esp + 0x24], 0x50
add esi, 1
cmp esi, ebp
jl 0x5b1890
mov esi, dword [sym.imp.engine.dll_public_virtual:_void___thiscall_KTabFile::destructor_void_]
lea ecx, [esp + 0x70]
mov byte [esp + 0x3c4], 3
call esi
lea ecx, [esp + 0xb0]
mov byte [esp + 0x3c4], 2
call esi
lea ecx, [esp + 0xf0]
mov byte [esp + 0x3c4], 1
call esi
lea ecx, [esp + 0x90]
mov byte [esp + 0x3c4], 0
call esi
lea ecx, [esp + 0xd0]
mov dword [esp + 0x3c4], 0xffffffff
call esi
mov eax, 1
jmp 0x5b0f76
cmp eax, 1
jne 0x5b1c00
mov ebp, eax
push ebp
call fcn.005aed00
push 2
mov dword [esp + 0x3c], eax
call fcn.005aed00
push 0
mov dword [esp + 0x60], eax
call fcn.005aed50
mov dword [esp + 0x68], eax
add esp, 0xc
lea eax, [ebx + 0x3170]
mov ecx, 0x14
jmp 0x5b1980
mov dword [eax], 0
add eax, 0xc4
sub ecx, ebp
jne 0x5b1980
mov dword [ebx + 0x3544], ebp
mov dword [ebx + 0x14], ebp
lea esi, [ebx + 0x78]
lea edi, [ecx + 0x14]
mov edi, edi
lea ecx, [esi - 0x10]
call fcn.005af740
mov ecx, esi
call fcn.005af740
add esi, 0x20
sub edi, ebp
jne 0x5b19a0
mov ecx, dword [esp + 0x38]
call fcn.005af2d0
test eax, eax
mov dword [esp + 0x24], eax
jge 0x5b19cb
mov dword [esp + 0x24], edi
mov esi, dword [esp + 0x24]
push 1
push esi
lea ecx, [ebx + 0x108]
call fcn.005af790
lea ebp, [ebx + 0x40c0]
push esi
mov ecx, ebp
call fcn.005af380
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx]
mov eax, dword [esp + 0x3c]
mov edx, dword [edx + 0xc]
push 1
push eax
call edx
test eax, eax
mov dword [esp + 0x2c], eax
jl 0x5b0f74
test esi, esi
mov dword [esp + 0x14], 0
jle 0x5b1c00
lea eax, [ebx + 0x300]
xor edi, edi
xor esi, esi
mov dword [esp + 0x3c], eax
jmp 0x5b1a30
mov edx, dword [esp + 0x14]
push 0x50
lea ecx, [esp + 0x178]
push ecx
mov ecx, dword [esp + 0x40]
push edx
call fcn.005af2e0
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
push 1
push 0x64
lea edx, [esp + 0x118]
push edx
push 0x63abb8
lea edx, [esp + 0x184]
push edx
mov edx, dword [esp + 0x40]
push edx
call eax
mov edx, dword [ebx + 0x110]
lea ecx, [esp + 0x110]
push ecx
lea eax, [ebx + 0x18]
push eax
lea eax, [edx + esi + 0xc]
push eax
call fcn.005aeef0
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
add esp, 0xc
push 1
push 0x64
lea eax, [esp + 0x118]
push eax
push 0x6508fc
lea eax, [esp + 0x184]
push eax
mov eax, dword [esp + 0x40]
push eax
call edx
lea ecx, [esp + 0x18]
lea eax, [esp + 0x110]
push 0x22
push ecx
mov dword [esp + 0x20], eax
call dword [sym.imp.engine.dll_bool___cdecl_KSG_StringSkipSymbol_char_const____int_]
lea edx, [esp + 0x20]
push 0x10
push edx
call dword [sym.imp.engine.dll_int___cdecl_KSG_StringGetInt_char_const____int_]
mov ecx, dword [ebx + 0x110]
lea edx, [esp + 0x28]
push 0x2c
push edx
mov dword [esi + ecx], eax
call dword [sym.imp.engine.dll_bool___cdecl_KSG_StringSkipSymbol_char_const____int_]
lea eax, [esp + 0x30]
push 8
push eax
call dword [sym.imp.engine.dll_int___cdecl_KSG_StringGetInt_char_const____int_]
mov ecx, dword [ebx + 0x110]
lea edx, [esp + 0x38]
push 0x2c
push edx
mov dword [ecx + esi + 4], eax
call dword [sym.imp.engine.dll_bool___cdecl_KSG_StringSkipSymbol_char_const____int_]
lea eax, [esp + 0x40]
push 0
push eax
call dword [sym.imp.engine.dll_int___cdecl_KSG_StringGetInt_char_const____int_]
mov ecx, dword [ebx + 0x110]
mov dword [ecx + esi + 8], eax
mov edx, dword [ebx + 0x110]
mov ecx, dword [ebp]
lea eax, [edx + esi + 0xc]
push eax
add ecx, edi
push ecx
call fcn.005af050
mov edx, dword [ebx + 0x110]
mov ecx, dword [esi + edx]
mov eax, dword [ebp]
mov dword [eax + edi + 0x50], ecx
mov edx, dword [ebx + 0x110]
mov ecx, dword [edx + esi + 4]
mov eax, dword [ebp]
mov dword [eax + edi + 0x54], ecx
mov edx, dword [ebx + 0x110]
mov ecx, dword [edx + esi + 8]
mov eax, dword [ebp]
mov dword [eax + edi + 0x58], ecx
mov edx, dword [ebp]
mov ecx, dword [esp + 0x94]
add esp, 0x38
mov dword [edx + edi + 0x5c], 0xa0
mov eax, dword [ebp]
push 1
mov dword [eax + edi + 0x60], 0xbe
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
push 0x64
lea eax, [esp + 0x118]
push eax
push 0x63abb8
lea eax, [esp + 0x184]
push eax
mov eax, dword [esp + 0x40]
push eax
call edx
cmp byte [esp + 0x110], 0
je 0x5b1be0
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x110]
push eax
push 0x650904
push ecx
call fcn.005aeef0
add esp, 0xc
mov eax, dword [esp + 0x14]
add dword [esp + 0x3c], 0x50
add eax, 1
add esi, 0x5c
add edi, 0x64
cmp eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
jl 0x5b1a30
mov eax, 1
jmp 0x5b0f76