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

Disassembly:
push 0xffffffffffffffff
push 0x10172e23
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x102933b0]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x4c]
shr ecx, 9
test cl, 1
jne 0x1012c88f
push str.Expected_a_tiled_file_but_the_file_is_not_tiled.
lea ecx, [esp + 0x40]
call fcn.101228e0
push 0x10246f90
lea edx, [esp + 0x40]
push edx
mov dword [esp + 0x44], vtable.Iex::ArgExc.0
call fcn.101525f9
push 1
lea ecx, [eax + 0x1c]
call fcn.1011f290
mov ecx, dword [esi + 4]
add ecx, 0x1c
call fcn.1011f270
mov ecx, dword [esi + 4]
mov edx, dword [eax]
add ecx, 0x3c
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [esi + 4]
add ecx, 0x1c
call fcn.1011e600
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov dword [ecx + 0x70], edx
mov ecx, dword [esi + 4]
add ecx, 0x1c
call fcn.1011e5c0
mov edx, dword [eax]
mov ecx, dword [esi + 4]
mov dword [ecx + 0x74], edx
mov edx, dword [eax + 8]
mov ecx, dword [esi + 4]
mov dword [ecx + 0x78], edx
mov edx, dword [eax + 4]
mov ecx, dword [esi + 4]
mov dword [ecx + 0x7c], edx
mov edx, dword [eax + 0xc]
mov ecx, dword [esi + 4]
mov dword [ecx + 0x80], edx
mov eax, dword [esi + 4]
lea ecx, [eax + 0x88]
push ecx
lea edx, [eax + 0x84]
push edx
lea ecx, [eax + 0x90]
push ecx
mov ecx, dword [eax + 0x80]
lea edx, [eax + 0x8c]
push edx
mov edx, dword [eax + 0x7c]
push ecx
mov ecx, dword [eax + 0x78]
push edx
mov edx, dword [eax + 0x74]
push ecx
push edx
add eax, 0x3c
push eax
call fcn.10133510
mov eax, dword [esi + 4]
add eax, 0x1c
push eax
call fcn.10133700
mov ecx, dword [esi + 4]
mov dword [ecx + 0xe8], eax
mov eax, dword [esi + 4]
mov edx, dword [eax + 0xe8]
imul edx, dword [eax + 0x3c]
mov dword [eax + 0xec], edx
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0xec]
imul ecx, dword [eax + 0x40]
mov dword [eax + 0x108], ecx
mov eax, dword [esi + 4]
mov edx, dword [eax + 0x100]
sub edx, dword [eax + 0xfc]
add eax, 0xf0
sar edx, 2
add esp, 0x28
xor ebp, ebp
xor edi, edi
test edx, edx
jbe 0x1012ca89
push 0x4c
call fcn.1014f899
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x88], ebp
cmp eax, ebp
je 0x1012c9e9
mov ebx, dword [esi + 4]
lea ebp, [ebx + 0x1c]
mov ecx, ebp
call fcn.1011e620
mov ecx, dword [ebx + 0x40]
mov edx, dword [ebx + 0xec]
mov eax, dword [eax]
push ebp
push ecx
push edx
push eax
call fcn.1012e760
mov ecx, dword [esp + 0x24]
add esp, 0x10
push eax
call fcn.10128f00
mov ebp, eax
mov ebx, dword [esi + 4]
mov ecx, dword [ebx + 0x100]
sub ecx, dword [ebx + 0xfc]
add ebx, 0xf0
sar ecx, 2
mov dword [esp + 0x88], 0xffffffff
cmp edi, ecx
jb 0x1012ca15
call fcn.1014f6d2
mov edx, dword [ebx + 0xc]
mov dword [edx + edi*4], ebp
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0xe0]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
test al, al
jne 0x1012ca67
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 0x108]
push edx
call fcn.1014ed96
mov ebx, dword [esi + 4]
add ebx, 0xf0
mov ebp, eax
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
add esp, 4
sar eax, 2
cmp edi, eax
jb 0x1012ca5e
call fcn.1014f6d2
mov ecx, dword [ebx + 0xc]
mov edx, dword [ecx + edi*4]
mov dword [edx + 4], ebp
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x100]
sub ecx, dword [eax + 0xfc]
add eax, 0xf0
inc edi
sar ecx, 2
xor ebp, ebp
cmp edi, ecx
jb 0x1012c9a0
mov eax, dword [esi + 4]
mov edx, dword [eax + 0x90]
mov ecx, dword [eax + 0x8c]
push edx
mov edx, dword [eax + 0x88]
push ecx
mov ecx, dword [eax + 0x84]
push edx
mov edx, dword [eax + 0x44]
push ecx
push edx
lea ecx, [esp + 0x2c]
call fcn.101352d0
mov ecx, dword [esi + 4]
mov edx, dword [eax]
add ecx, 0x94
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
add eax, 0xc
mov dword [ecx + 8], edx
push eax
add ecx, 0xc
mov dword [esp + 0x8c], 1
call fcn.1012c6c0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x88], 0xffffffff
cmp eax, ebp
je 0x1012cb1a
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x30]
push edx
push ecx
push eax
call fcn.1012bf10
mov edx, dword [esp + 0x40]
push edx
call fcn.1014f6e2
add esp, 0x14
mov eax, dword [esp + 0x24]
push eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
call fcn.1014f6e2
mov eax, dword [esi + 4]
mov edx, dword [eax + 0xe0]
add esp, 4
lea ecx, [eax + 0xb8]
push ecx
push edx
lea ecx, [eax + 0x94]
call fcn.10134080
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0xe0]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov esi, dword [esi + 4]
mov dword [esi + 0xc0], eax
mov dword [esi + 0xc4], edx
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret