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

Disassembly:
mov eax, 0x12dc
call fcn.0055d730
fldz
fcomp dword [esp + 0x12e8]
push ebx
push ebp
xor ebp, ebp
mov ebx, ecx
mov ecx, dword [esp + 0x12e8]
fnstsw ax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebp
mov dword [ecx], ebp
mov dword [ecx + 4], ebp
test ah, 1
jne 0x5263b1
pop ebp
mov eax, ecx
pop ebx
add esp, 0x12dc
ret 0xc
cmp dword [ebx + 0x34], ebp
je 0x5263c5
mov eax, dword [esp + 0x3c]
mov ecx, dword [ebx]
push eax
call fcn.00526060
mov dword [ebx + 0x34], ebp
mov ecx, dword [0x7cf648]
push esi
push edi
push 1
push ebp
push ebp
call fcn.00516f50
mov ecx, dword [0x7cf648]
push 0x144
call fcn.00517d20
mov eax, dword [ebx]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax]
mov edi, dword [ecx]
mov dword [esp + 0x18], 1
mov dword [esp + 0x10], edx
mov eax, dword [ebx]
mov ecx, dword [esp + 0x10]
mov esi, dword [eax + 0x14]
mov eax, dword [eax]
mov dword [esp + 0x14], edi
cmp ecx, ebp
je 0x526412
cmp ecx, eax
je 0x526417
call fcn.0055cb74
cmp edi, esi
je 0x526b8c
cmp dword [esp + 0x34], ebp
je 0x52643c
mov eax, dword [ebx]
mov ecx, dword [eax + 0x14]
mov edi, dword [ecx]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x34], ebp
jmp 0x526440
mov eax, dword [esp + 0x10]
cmp eax, ebp
jne 0x52653b
call fcn.0055cb74
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x526459
call fcn.0055cb74
mov eax, dword [edi + 8]
push ebp
lea edx, [esp + 0x28]
push edx
push eax
mov ecx, ebx
call fcn.005235a0
test eax, eax
jne 0x526480
fldz
fst dword [esp + 0x24]
fst dword [esp + 0x28]
fst dword [esp + 0x2c]
fstp dword [esp + 0x30]
fld dword [esp + 0x2c]
fld dword [esp + 0x12f4]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x526b66
cmp dword [esp + 0x38], ebp
jne 0x5265c7
fcom qword [0x616d50]
fnstsw ax
test ah, 0x41
jne 0x5265c7
cmp dword [ebx + 0xe8], ebp
je 0x5265c7
cmp dword [ebx + 0x214], ebp
jne 0x5265c7
mov ecx, dword [0x7cf648]
fstp st(0)
push ebp
push ebp
push ebp
call fcn.00516f50
cmp dword [ebx + 0x200], ebp
je 0x526542
cmp dword [ebx + 0x20c], ebp
je 0x526542
mov ecx, dword [0x7cf648]
push 0x144
call fcn.00517d20
mov ecx, dword [ebx + 0x20c]
push ebp
call fcn.004ab9f0
mov ecx, dword [0x7cf648]
push eax
call fcn.00518050
mov ecx, dword [ebx + 0x1fc]
mov edx, dword [ebx + 0x200]
add ecx, ecx
push ecx
mov ecx, dword [0x7cf648]
push edx
push 4
call fcn.00517d70
mov esi, 1
mov dword [esp + 0x18], esi
jmp 0x52657f
mov eax, dword [eax]
jmp 0x52644f
mov ecx, dword [0x7cf648]
push 0x44
call fcn.00517d20
mov ecx, dword [ebx + 4]
push 0xffffffffffffffff
call fcn.00527140
mov eax, dword [ebx + 0x204]
mov ecx, dword [ebx + 0x208]
add eax, eax
push eax
push ecx
mov ecx, dword [0x7cf648]
push 4
call fcn.00517d70
mov dword [esp + 0x18], ebp
mov esi, 1
mov eax, dword [ebx]
mov edx, dword [eax + 0x14]
mov ecx, dword [edx]
mov edx, dword [eax]
lea eax, [esp + 0x48]
mov dword [esp + 0x4c], ecx
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x4c], edx
call fcn.00447050
test al, al
je 0x5265be
push ebp
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x18]
call fcn.0054b180
mov edi, dword [esp + 0x14]
jmp 0x526b68
mov dword [esp + 0x34], esi
jmp 0x526b68
fld dword [esp + 0x12f8]
fcompp
fnstsw ax
test ah, 0x41
jnp 0x526b8c
mov eax, dword [esp + 0x10]
cmp eax, ebp
jne 0x52676a
call fcn.0055cb74
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x5265f8
call fcn.0055cb74
cmp dword [edi + 0xc], ebp
je 0x526b68
mov eax, dword [esp + 0x10]
cmp eax, ebp
jne 0x526771
call fcn.0055cb74
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x52661e
call fcn.0055cb74
cmp dword [edi + 0x18], ebp
je 0x5267cc
cmp dword [esp + 0x18], ebp
jne 0x526645
mov ecx, dword [0x7cf648]
push 0x144
call fcn.00517d20
mov dword [esp + 0x18], 1
push ebp
lea ecx, [esp + 0x14]
call fcn.00440750
mov edx, dword [eax + 0x18]
mov ecx, dword [0x7cf648]
push edx
push ebp
call fcn.00516f50
lea ecx, [esp + 0x10]
call fcn.00440750
mov edx, dword [eax]
push ebp
lea ecx, [esp + 0x28]
push ecx
push edx
mov ecx, ebx
call fcn.005235a0
test eax, eax
jne 0x52668e
fldz
fst dword [esp + 0x24]
fst dword [esp + 0x28]
fst dword [esp + 0x2c]
fstp dword [esp + 0x30]
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x14]
call fcn.00440750
mov ecx, dword [eax + 0x10]
call fcn.00529740
push 1
lea ecx, [esp + 0x70]
push ecx
push ebp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
call fcn.00440750
mov ecx, dword [eax + 0x10]
call fcn.0052cb50
test eax, eax
je 0x526b68
lea ecx, [ecx]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x3c], edx
xor esi, esi
lea ebp, [esp + 0x86c]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x526778
call fcn.0055cb74
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x5266fe
call fcn.0055cb74
mov eax, dword [edi + 0x24]
push eax
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x2c]
push edx
push 1
lea eax, [esp + 0x84]
push eax
push ebp
mov ecx, ebx
call fcn.00521930
inc esi
add ebp, 0x54
cmp dword [esp + 0x10], 0
jne 0x52677f
call fcn.0055cb74
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x52673a
call fcn.0055cb74
mov eax, dword [esp + 0x1c]
push 1
lea edx, [esp + 0x70]
lea ecx, [esi + eax]
push edx
push ecx
mov ecx, dword [edi + 0x18]
call fcn.0052cb50
test eax, eax
je 0x526787
cmp esi, 0x20
jae 0x52678f
mov edx, dword [esp + 0x3c]
cmp edx, dword [esp + 0x70]
je 0x5266e1
jmp 0x52678f
mov eax, dword [eax]
jmp 0x5265ee
mov eax, dword [eax]
jmp 0x526614
mov eax, dword [eax]
jmp 0x5266f4
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
jmp 0x526730
mov dword [esp + 0x20], 1
test esi, esi
jbe 0x5267b6
mov eax, dword [esp + 0x3c]
mov ecx, dword [ebx + 4]
push eax
call fcn.00527140
push esi
lea ecx, [esp + 0x870]
push ecx
mov ecx, dword [0x7cf648]
push 4
call fcn.00517d70
add dword [esp + 0x1c], esi
cmp dword [esp + 0x20], 0
je 0x5266d0
xor ebp, ebp
jmp 0x526b68
lea ecx, [esp + 0x10]
call fcn.00440750
cmp dword [eax + 0x14], ebp
je 0x526989
cmp dword [esp + 0x18], ebp
jne 0x5267fc
mov ecx, dword [0x7cf648]
push 0x144
call fcn.00517d20
mov dword [esp + 0x18], 1
push ebp
lea ecx, [esp + 0x14]
call fcn.00440750
mov edx, dword [eax + 0x18]
mov ecx, dword [0x7cf648]
push edx
push ebp
call fcn.00516f50
lea ecx, [esp + 0x10]
call fcn.00440750
mov edx, dword [eax]
push ebp
lea ecx, [esp + 0x28]
push ecx
push edx
mov ecx, ebx
call fcn.005235a0
test eax, eax
jne 0x526845
fldz
fst dword [esp + 0x24]
fst dword [esp + 0x28]
fst dword [esp + 0x2c]
fstp dword [esp + 0x30]
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x14]
call fcn.00440750
mov ecx, dword [eax + 0x14]
call fcn.00529740
push 1
lea ecx, [esp + 0x78]
push ecx
push ebp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
call fcn.00440750
mov ecx, dword [eax + 0x14]
call fcn.0052d180
test eax, eax
je 0x526b68
jmp 0x526890
xor esi, esi
lea ebp, [esp + 0x86c]
lea esp, [esp]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x526917
call fcn.0055cb74
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x5268b9
call fcn.0055cb74
mov edx, dword [edi + 0x24]
push edx
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x2c]
push ecx
push 1
lea edx, [esp + 0x84]
push edx
push ebp
mov ecx, ebx
call fcn.00521930
inc esi
add ebp, 0x54
cmp dword [esp + 0x10], 0
jne 0x52691b
call fcn.0055cb74
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x5268f5
call fcn.0055cb74
mov edx, dword [esp + 0x1c]
push 1
lea ecx, [esp + 0x78]
push ecx
mov ecx, dword [edi + 0x1c]
lea eax, [esi + edx]
push eax
call fcn.0052d180
test eax, eax
je 0x526923
cmp esi, 0x20
jb 0x5268a0
jmp 0x52692b
mov eax, dword [eax]
jmp 0x5268af
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
jmp 0x5268eb
mov dword [esp + 0x20], 1
test esi, esi
jbe 0x52696f
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x526985
call fcn.0055cb74
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x526948
call fcn.0055cb74
mov ecx, dword [edi + 0x1c]
call fcn.0052d650
mov ecx, dword [ebx + 8]
push eax
call fcn.0052a780
push esi
lea ecx, [esp + 0x870]
push ecx
mov ecx, dword [0x7cf648]
push 4
call fcn.00517d70
add dword [esp + 0x1c], esi
cmp dword [esp + 0x20], 0
je 0x526890
xor ebp, ebp
jmp 0x526b68
mov eax, dword [eax]
jmp 0x52693e
lea ecx, [esp + 0x10]
call fcn.00440750
cmp dword [eax + 0xc], ebp
je 0x526af5
cmp dword [esp + 0x18], ebp
je 0x5269bc
mov ecx, dword [0x7cf648]
push 0x44
call fcn.00517d20
mov ecx, dword [ebx + 4]
push 0xffffffffffffffff
call fcn.00527140
mov dword [esp + 0x18], ebp
push ebp
lea ecx, [esp + 0x14]
call fcn.00440750
mov edx, dword [eax + 0x18]
mov ecx, dword [0x7cf648]
push edx
push ebp
call fcn.00516f50
lea ecx, [esp + 0x10]
call fcn.00440750
mov edx, dword [eax]
push 1
lea ecx, [esp + 0x28]
push ecx
push edx
mov ecx, ebx
call fcn.005235a0
test eax, eax
jne 0x526a06
fldz
fst dword [esp + 0x24]
fst dword [esp + 0x28]
fst dword [esp + 0x2c]
fstp dword [esp + 0x30]
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x14]
call fcn.00440750
mov ecx, dword [eax + 0xc]
call fcn.00529740
push 1
lea ecx, [esp + 0xc0]
push ecx
push ebp
lea ecx, [esp + 0x1c]
call fcn.00440750
mov ecx, dword [eax + 0xc]
call fcn.0052b9c0
test eax, eax
je 0x526b68
xor esi, esi
lea ebp, [esp + 0xec]
lea esp, [esp]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x526ae6
call fcn.0055cb74
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x526a6d
call fcn.0055cb74
mov edx, dword [edi + 0x24]
push edx
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x2c]
push ecx
push 1
lea edx, [esp + 0xcc]
push edx
push ebp
mov ecx, ebx
call fcn.00521b00
inc esi
add ebp, 0x3c
cmp dword [esp + 0x10], 0
jne 0x526aed
call fcn.0055cb74
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x526aa9
call fcn.0055cb74
push 1
lea ecx, [esp + 0xc0]
push ecx
mov ecx, dword [edi + 0x14]
push esi
call fcn.0052b9c0
test eax, eax
je 0x526ac5
cmp esi, 0x20
jb 0x526a50
test esi, esi
jbe 0x526adf
mov ecx, dword [0x7cf648]
push esi
lea edx, [esp + 0xf0]
push edx
push 4
call fcn.00517d70
xor ebp, ebp
jmp 0x526b68
mov eax, dword [eax]
jmp 0x526a63
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
jmp 0x526a9f
lea ecx, [esp + 0x10]
call fcn.00440750
cmp dword [eax + 8], ebp
je 0x526b68
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x68]
push edx
lea ecx, [esp + 0x1c]
call fcn.00440750
mov ecx, dword [eax + 8]
call fcn.005298b0
cmp dword [esp + 0x40], ebp
je 0x526b68
mov ecx, dword [ebx + 4]
push 0xffffffffffffffff
call fcn.00527140
mov eax, dword [esp + 0x44]
push 1
push eax
call dword [esp + 0x48]
mov ecx, dword [0x7cf648]
push ebp
push ebp
push ebp
call fcn.00516f50
mov ecx, dword [0x7cf648]
push 0x144
call fcn.00517d20
mov dword [esp + 0x18], 1
jmp 0x526b68
fstp st(0)
mov eax, dword [esp + 0x10]
cmp eax, ebp
jne 0x526b88
call fcn.0055cb74
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x526b81
call fcn.0055cb74
mov edi, dword [edi]
jmp 0x5263fb
mov eax, dword [eax]
jmp 0x526b77
pop edi
pop esi
cmp dword [esp + 0x30], ebp
jne 0x526c3c
cmp dword [ebx + 0xe8], ebp
je 0x526c3c
cmp dword [ebx + 0x214], ebp
jne 0x526c3c
mov ecx, dword [0x7cf648]
push ebp
push ebp
push ebp
call fcn.00516f50
cmp dword [ebx + 0x200], ebp
je 0x526c08
cmp dword [ebx + 0x20c], ebp
je 0x526c08
mov ecx, dword [0x7cf648]
push 0x144
call fcn.00517d20
mov ecx, dword [ebx + 0x20c]
push ebp
call fcn.004ab9f0
mov ecx, dword [0x7cf648]
push eax
call fcn.00518050
mov ecx, dword [ebx + 0x1fc]
mov edx, dword [ebx + 0x200]
add ecx, ecx
push ecx
push edx
jmp 0x526c2f
mov ecx, dword [0x7cf648]
push 0x44
call fcn.00517d20
mov ecx, dword [ebx + 4]
push 0xffffffffffffffff
call fcn.00527140
mov eax, dword [ebx + 0x204]
mov ecx, dword [ebx + 0x208]
add eax, eax
push eax
push ecx
mov ecx, dword [0x7cf648]
push 4
call fcn.00517d70
mov eax, dword [esp + 0x12e8]
pop ebp
pop ebx
add esp, 0x12dc
ret 0xc