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

Disassembly:
push 0xffffffffffffffff
push 0x66322b
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x704e7c]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x704e7c]
xor eax, esp
push eax
lea eax, [esp + 0x170]
mov dword fs:[0], eax
mov esi, dword [esp + 0x180]
mov dword [esp + 0x64], ecx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x20], esi
call fcn.004b81d0
lea edx, [esp + 0x40]
push edx
xor ebp, ebp
push esi
mov dword [esp + 0x180], ebp
call fcn.00561c80
add esp, 8
test al, al
jne 0x539d21
push esi
push str._CArea::Load_File_Load__s_ERROR
call fcn.00584480
add esp, 8
lea ecx, [esp + 0x40]
mov dword [esp + 0x178], 0xffffffff
call fcn.004b7140
xor al, al
jmp 0x53a70f
push 0xc
push str.areadatafile
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebp
mov byte [esp + 0x28], 0
call fcn.00416f50
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0x40]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x48]
mov byte [esp + 0x180], 1
call fcn.004b71a0
mov edi, eax
cmp esi, ebp
je 0x539d6f
cmp esi, dword [edi]
je 0x539d74
call fcn.006111cc
cmp ebx, dword [edi + 4]
mov ebp, 0x10
sete bl
mov byte [esp + 0x178], 0
cmp dword [esp + 0x34], ebp
jb 0x539d9a
mov edx, dword [esp + 0x20]
push edx
call fcn.00610458
add esp, 4
test bl, bl
je 0x539dad
mov eax, dword [esp + 0x18]
push eax
push str._CArea::__LoadObject_File_Format__s_ERROR_1
jmp 0x539cfe
push 0xb
push str.objectcount
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
call fcn.00416f50
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0x40]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x48]
mov byte [esp + 0x180], 2
call fcn.004b71a0
mov edi, eax
test esi, esi
je 0x539dff
cmp esi, dword [edi]
je 0x539e04
call fcn.006111cc
cmp ebx, dword [edi + 4]
mov byte [esp + 0x178], 0
sete bl
cmp dword [esp + 0x34], ebp
jb 0x539e25
mov eax, dword [esp + 0x20]
push eax
call fcn.00610458
add esp, 4
test bl, bl
je 0x539e38
mov ecx, dword [esp + 0x18]
push ecx
push str._CArea::__LoadObject_File_Format__s_ERROR_2
jmp 0x539cfe
push str.objectcount
lea ecx, [esp + 0x20]
call fcn.00417080
xor edi, edi
push edi
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x48]
mov byte [esp + 0x180], 3
call fcn.004b7010
mov ecx, eax
call fcn.00493ca0
mov esi, eax
mov byte [esp + 0x178], 0
cmp dword [esp + 0x34], ebp
jb 0x539e83
mov eax, dword [esp + 0x20]
push eax
call fcn.00610458
add esp, 4
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], edi
mov byte [esp + 0x20], 0
cmp dword [esi + 0x18], ebp
jb 0x539e9e
mov esi, dword [esi + 4]
jmp 0x539ea1
add esi, 4
push esi
call fcn.006131fe
add esp, 4
mov dword [esp + 0x60], eax
mov dword [esp + 0x18], edi
cmp eax, edi
jbe 0x53a6f9
lea ebx, [ebx]
mov ecx, dword [esp + 0x18]
push ecx
push str.object_03d
lea edx, [esp + 0x150]
push 0x21
push edx
call fcn.006130ac
lea eax, [esp + 0x158]
add esp, 0x10
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
lea edx, [eax + 1]
jmp 0x539f00
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x539f00
sub eax, edx
push eax
lea eax, [esp + 0x14c]
push eax
lea ecx, [esp + 0x24]
call fcn.00416f50
mov ebp, dword [esp + 0x58]
mov esi, dword [esp + 0x40]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0xa4]
push edx
lea ecx, [esp + 0x48]
mov byte [esp + 0x180], 4
call fcn.004b71a0
mov edi, eax
test esi, esi
je 0x539f4b
cmp esi, dword [edi]
je 0x539f50
call fcn.006111cc
cmp ebp, dword [edi + 4]
mov byte [esp + 0x178], 0
sete bl
cmp dword [esp + 0x34], 0x10
jb 0x539f72
mov eax, dword [esp + 0x20]
push eax
call fcn.00610458
add esp, 4
test bl, bl
jne 0x53a6e6
lea eax, [esp + 0x148]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x539f98
sub eax, edx
push eax
lea ecx, [esp + 0x14c]
push ecx
lea ecx, [esp + 0x24]
call fcn.00416f50
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x44]
mov byte [esp + 0x17c], 5
call fcn.004b7010
mov ebx, 0x10
mov esi, eax
mov byte [esp + 0x178], 0
cmp dword [esp + 0x34], ebx
jb 0x539feb
mov eax, dword [esp + 0x20]
push eax
call fcn.00610458
add esp, 4
xor edi, edi
mov ebp, 0xf
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], edi
mov byte [esp + 0x20], 0
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x53a01f
call fcn.006111cc
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x18], ebx
jb 0x53a02c
mov ecx, dword [eax + 4]
jmp 0x53a02f
lea ecx, [eax + 4]
mov eax, ecx
mov dword [esp + 0x110], edi
mov dword [esp + 0x114], ebp
mov byte [esp + 0x100], 0
lea edi, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x53a050
sub eax, edi
push eax
push ecx
lea ecx, [esp + 0x104]
call fcn.00416f50
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov byte [esp + 0x178], 6
cmp eax, 1
ja 0x53a092
call fcn.006111cc
mov eax, dword [esi + 0xc]
add eax, 0x1c
cmp dword [eax + 0x18], ebx
jb 0x53a0a2
mov ecx, dword [eax + 4]
jmp 0x53a0a5
lea ecx, [eax + 4]
mov eax, ecx
mov dword [esp + 0xdc], ebp
mov dword [esp + 0xd8], 0
mov byte [esp + 0xc8], 0
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x53a0c4
sub eax, edi
push eax
push ecx
lea ecx, [esp + 0xcc]
call fcn.00416f50
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov byte [esp + 0x178], 7
cmp ecx, 2
ja 0x53a106
call fcn.006111cc
mov eax, dword [esi + 0xc]
add eax, 0x38
cmp dword [eax + 0x18], ebx
jb 0x53a116
mov ecx, dword [eax + 4]
jmp 0x53a119
lea ecx, [eax + 4]
mov eax, ecx
mov dword [esp + 0xc0], ebp
mov dword [esp + 0xbc], 0
mov byte [esp + 0xac], 0
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x53a138
sub eax, edi
push eax
push ecx
lea ecx, [esp + 0xb0]
call fcn.00416f50
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov byte [esp + 0x178], 8
cmp eax, 3
ja 0x53a17a
call fcn.006111cc
mov eax, dword [esi + 0xc]
add eax, 0x54
cmp dword [eax + 0x18], ebx
jb 0x53a18a
mov ecx, dword [eax + 4]
jmp 0x53a18d
lea ecx, [eax + 4]
mov eax, ecx
mov dword [esp + 0xf8], ebp
mov dword [esp + 0xf4], 0
mov byte [esp + 0xe4], 0
lea edi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x53a1b0
sub eax, edi
push eax
push ecx
lea ecx, [esp + 0xe8]
call fcn.00416f50
push 0x30
lea ecx, [esp + 0x11c]
push 0
push ecx
mov byte [esp + 0x184], 9
call fcn.0060fff0
mov eax, dword [esp + 0x10c]
add esp, 0xc
cmp dword [esp + 0x114], ebx
jae 0x53a1fa
lea eax, [esp + 0x100]
push eax
call fcn.00613476
fstp dword [esp + 0x11c]
mov eax, dword [esp + 0xcc]
add esp, 4
cmp dword [esp + 0xdc], ebx
jae 0x53a221
lea eax, [esp + 0xc8]
push eax
call fcn.00613476
fstp dword [esp + 0x120]
mov eax, dword [esp + 0xb0]
add esp, 4
cmp dword [esp + 0xc0], ebx
jae 0x53a248
lea eax, [esp + 0xac]
push eax
call fcn.00613476
fstp dword [esp + 0x124]
mov eax, dword [esp + 0xe8]
add esp, 4
cmp dword [esp + 0xf8], ebx
jae 0x53a26f
lea eax, [esp + 0xe4]
push eax
call fcn.006131fe
add esp, 4
lea ecx, [esp + 0x118]
mov dword [esp + 0x124], eax
call fcn.00534920
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 4
jbe 0x53a43b
push 4
mov ecx, esi
mov byte [esp + 0x18], 0x23
call fcn.00493ca0
push 1
push 0
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.004950e0
push 4
mov ecx, esi
mov edi, eax
call fcn.00493ca0
mov ecx, esi
cmp edi, 0xffffffff
je 0x53a3fb
lea edx, [edi - 1]
push edx
push 0
lea eax, [esp + 0x8c]
push eax
push 4
call fcn.00493ca0
mov ecx, eax
call fcn.00493a60
cmp dword [eax + 0x18], ebx
jb 0x53a307
mov eax, dword [eax + 4]
jmp 0x53a30a
add eax, 4
push eax
call fcn.006131fe
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], edx
fild qword [esp + 0x6c]
add esp, 4
lea ecx, [esp + 0x84]
fstp dword [esp + 0x130]
call fcn.0050f430
push 4
mov ecx, esi
inc edi
mov byte [esp + 0x18], 0x23
call fcn.00493ca0
push 1
push edi
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.004950e0
mov ebp, eax
mov edx, ebp
sub edx, edi
push edx
push edi
lea eax, [esp + 0x8c]
push eax
push 4
mov ecx, esi
call fcn.00493ca0
mov ecx, eax
call fcn.00493a60
cmp dword [eax + 0x18], ebx
jb 0x53a37a
mov eax, dword [eax + 4]
jmp 0x53a37d
add eax, 4
push eax
call fcn.006131fe
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edx
fild qword [esp + 0x74]
add esp, 4
lea ecx, [esp + 0x84]
fstp dword [esp + 0x134]
call fcn.0050f430
push 0xffffffffffffffff
inc ebp
push ebp
lea ecx, [esp + 0x8c]
push ecx
push 4
mov ecx, esi
call fcn.00493ca0
mov ecx, eax
call fcn.00493a60
cmp dword [eax + 0x18], ebx
jb 0x53a3cb
mov eax, dword [eax + 4]
jmp 0x53a3ce
add eax, 4
push eax
call fcn.006131fe
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], edx
fild qword [esp + 0x7c]
add esp, 4
lea ecx, [esp + 0x84]
fstp dword [esp + 0x138]
call fcn.0050f430
jmp 0x53a43b
fldz
push 4
fst dword [esp + 0x134]
fstp dword [esp + 0x138]
call fcn.00493ca0
cmp dword [eax + 0x18], ebx
jb 0x53a41c
mov eax, dword [eax + 4]
jmp 0x53a41f
add eax, 4
push eax
call fcn.006131fe
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
fild qword [esp + 0x3c]
add esp, 4
fstp dword [esp + 0x138]
mov ecx, dword [esi + 0x10]
fldz
sub ecx, dword [esi + 0xc]
fstp dword [esp + 0x13c]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 5
jbe 0x53a488
push 5
mov ecx, esi
call fcn.00493ca0
cmp dword [eax + 0x18], ebx
jb 0x53a475
mov eax, dword [eax + 4]
jmp 0x53a478
add eax, 4
push eax
call fcn.00613476
fstp dword [esp + 0x140]
add esp, 4
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 6
jbe 0x53a50e
xor edi, edi
mov ebp, 0xa8
lea ecx, [ecx]
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax - 6]
cmp ecx, 8
jb 0x53a4d6
mov ecx, 8
cmp edi, ecx
jae 0x53a50e
lea edx, [edi + 6]
cmp edx, eax
jb 0x53a4e6
call fcn.006111cc
mov eax, dword [esi + 0xc]
add eax, ebp
cmp dword [eax + 0x18], ebx
jb 0x53a4f5
mov eax, dword [eax + 4]
jmp 0x53a4f8
add eax, 4
push eax
call fcn.006131fe
mov byte [esp + edi + 0x12c], al
add esp, 4
inc edi
add ebp, 0x1c
jmp 0x53a4b0
mov esi, dword [esp + 0x124]
mov ecx, dword [0x713810]
lea eax, [esp + 0x80]
push eax
push esi
call fcn.0051c620
test al, al
jne 0x53a607
push esi
push str._CArea::LoadObject_Property__u__Load_ERROR
call fcn.00584480
add esp, 8
cmp dword [esp + 0xf8], ebx
jb 0x53a558
mov ecx, dword [esp + 0xe4]
push ecx
call fcn.00610458
add esp, 4
xor edi, edi
mov esi, 0xf
mov dword [esp + 0xf8], esi
mov dword [esp + 0xf4], edi
mov byte [esp + 0xe4], 0
cmp dword [esp + 0xc0], ebx
jb 0x53a58e
mov edx, dword [esp + 0xac]
push edx
call fcn.00610458
add esp, 4
mov dword [esp + 0xc0], esi
mov dword [esp + 0xbc], edi
mov byte [esp + 0xac], 0
cmp dword [esp + 0xdc], ebx
jb 0x53a5bd
mov eax, dword [esp + 0xc8]
push eax
call fcn.00610458
add esp, 4
mov dword [esp + 0xdc], esi
mov dword [esp + 0xd8], edi
mov byte [esp + 0xc8], 0
mov byte [esp + 0x178], 0
cmp dword [esp + 0x114], ebx
jb 0x53a5f4
mov ecx, dword [esp + 0x100]
push ecx
call fcn.00610458
add esp, 4
mov dword [esp + 0x114], esi
mov dword [esp + 0x110], edi
jmp 0x53a6de
mov ecx, dword [esp + 0x64]
lea edx, [esp + 0x118]
push edx
add ecx, 4
call fcn.00537330
cmp dword [esp + 0xf8], ebx
jb 0x53a634
mov eax, dword [esp + 0xe4]
push eax
call fcn.00610458
add esp, 4
xor esi, esi
mov edi, 0xf
mov dword [esp + 0xf8], edi
mov dword [esp + 0xf4], esi
mov byte [esp + 0xe4], 0
cmp dword [esp + 0xc0], ebx
jb 0x53a66a
mov ecx, dword [esp + 0xac]
push ecx
call fcn.00610458
add esp, 4
mov dword [esp + 0xc0], edi
mov dword [esp + 0xbc], esi
mov byte [esp + 0xac], 0
cmp dword [esp + 0xdc], ebx
jb 0x53a699
mov edx, dword [esp + 0xc8]
push edx
call fcn.00610458
add esp, 4
mov dword [esp + 0xdc], edi
mov dword [esp + 0xd8], esi
mov byte [esp + 0xc8], 0
mov byte [esp + 0x178], 0
cmp dword [esp + 0x114], ebx
jb 0x53a6d0
mov eax, dword [esp + 0x100]
push eax
call fcn.00610458
add esp, 4
mov dword [esp + 0x114], edi
mov dword [esp + 0x110], esi
mov byte [esp + 0x100], 0
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x60]
jb 0x539ec0
lea ecx, [esp + 0x40]
mov dword [esp + 0x178], 0xffffffff
call fcn.004b7140
mov al, 1
mov ecx, dword [esp + 0x170]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x158]
xor ecx, esp
call fcn.006108ae
add esp, 0x168
ret 4