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

Disassembly:
push 0xffffffffffffffff
push 0x5d1410
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
push ebp
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x14], ebx
push ecx
lea eax, [esp + 0x94]
xor ebp, ebp
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
mov dword [esp + 0x90], ebp
call fcn.00593450
lea ecx, [esp + 0x30]
push ecx
call fcn.0044e840
add esp, 8
push eax
lea ecx, [esp + 0x94]
mov byte [esp + 0x8c], 1
call fcn.00593814
lea ecx, [esp + 0x2c]
mov byte [esp + 0x88], 0
call fcn.005936db
mov edx, dword [esp + 0x90]
cmp dword [edx - 8], ebp
jne 0x52539f
push 0x623650
lea ecx, [esp + 0x94]
call fcn.00593864
push 0x2a
lea ecx, [esp + 0x94]
mov dword [esp + 0x20], ebp
call fcn.00593ba2
cmp eax, 0xffffffff
jne 0x525458
push 0x3f
lea ecx, [esp + 0x94]
call fcn.00593ba2
cmp eax, 0xffffffff
jne 0x525458
mov edi, dword [esp + 0x94]
cmp edi, 1
je 0x5253ea
cmp edi, ebp
mov esi, 0x625bfc
je 0x5253f6
mov eax, esi
jmp 0x5253fb
mov esi, 0x63f7e8
mov eax, 0x625bfc
jmp 0x5253fb
mov eax, 0x63f7e8
lea ecx, [esp + 0x90]
lea edx, [esp + 0x24]
push ecx
push eax
push edx
call fcn.005939e4
push esi
push eax
lea eax, [esp + 0x34]
mov byte [esp + 0x90], 2
push eax
call fcn.00593970
mov eax, dword [eax]
mov ecx, ebx
push eax
mov byte [esp + 0x8c], 3
call fcn.00592c97
lea ecx, [esp + 0x2c]
mov byte [esp + 0x88], 2
call fcn.005936db
lea ecx, [esp + 0x24]
mov byte [esp + 0x88], 0
call fcn.005936db
jmp 0x525476
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x1c], 1
push ecx
mov ecx, ebx
call fcn.00592c97
mov edi, dword [esp + 0x94]
mov ecx, dword [0x63fd4c]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], ebp
call fcn.00461bd0
cmp eax, ebp
je 0x5254a1
mov edx, dword [eax + 0xbc]
mov eax, dword [eax + 0xc0]
mov dword [esp + 0x18], edx
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [0x63fd4c]
call fcn.00453100
fadd qword [0x5daf38]
call fcn.00573170
push eax
call fcn.004ca220
mov edx, dword [0x63fd4c]
mov dword [esp + 0x3c], eax
mov eax, dword [edx + 0x8f9c]
push eax
call fcn.004c91e0
push eax
call fcn.004c91f0
add esp, 0x10
lea ecx, [esp + 0x6c]
mov dword [esp + 0x28], eax
call fcn.0058d50f
lea eax, [esp + 0x90]
lea ecx, [esp + 0x30]
push eax
xor ebx, ebx
push 0x625bfc
push ecx
mov byte [esp + 0x94], 4
mov dword [esp + 0x1c], ebx
call fcn.005939e4
push 0x625bfc
lea edx, [esp + 0x24]
push eax
push edx
mov byte [esp + 0x94], 5
call fcn.00593970
lea ecx, [esp + 0x30]
mov byte [esp + 0x88], 7
call fcn.005936db
mov eax, dword [0x63fd4c]
xor esi, esi
mov dword [esp + 0x2c], esi
mov eax, dword [eax + 0xa640]
cmp dword [eax + 0x2c], ebp
jle 0x525760
push esi
lea ecx, [eax + 0x24]
call fcn.00511cf0
mov ebp, eax
lea eax, [ebp + 4]
mov dword [esp + 0x40], eax
mov eax, dword [eax]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x525744
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x525595
mov ecx, dword [esp + 0x90]
push eax
push ecx
call fcn.0050f650
add esp, 8
and eax, 0xff
jmp 0x5255f9
test edi, edi
jne 0x5255ac
mov edx, dword [esp + 0x90]
push edx
push eax
call fcn.00525270
add esp, 8
jmp 0x5255f9
cmp edi, 1
jne 0x5255c4
mov ecx, dword [esp + 0x90]
push ecx
push eax
call fcn.005252b0
add esp, 8
jmp 0x5255f9
cmp edi, 2
jne 0x5255de
mov edx, dword [esp + 0x20]
push eax
push edx
call fcn.0050f650
add esp, 8
and eax, 0xff
jmp 0x5255f9
cmp edi, 3
jne 0x525744
mov ecx, dword [esp + 0x90]
push ecx
mov ecx, dword [esp + 0x18]
push eax
call fcn.00525b60
test eax, eax
je 0x525744
mov ebx, dword [ebp + 0xc]
xor edi, edi
test ebx, ebx
jle 0x5256ea
push edi
mov ecx, ebp
call fcn.005117c0
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x52562f
mov ecx, dword [esp + 0x34]
xor edx, edx
mov dl, byte [eax + 4]
cmp edx, ecx
jne 0x5256e1
mov ecx, dword [esp + 0x24]
test ecx, ecx
jne 0x525648
mov edx, dword [esp + 0x28]
xor ecx, ecx
mov cl, byte [eax + 5]
cmp ecx, edx
jne 0x5256e1
mov edx, dword [0x63fd4c]
mov ecx, dword [edx + 0xa640]
mov edx, dword [ecx + 0xac]
mov esi, dword [ecx + 0xb0]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], esi
mov ecx, dword [ecx + 0xb4]
lea esi, [eax + 8]
lea edx, [esp + 0x48]
mov dword [esp + 0x50], ecx
push edx
mov ecx, esi
call fcn.0056b227
test eax, eax
je 0x5256e1
lea eax, [esp + 0x54]
push esi
lea ecx, [esp + 0x64]
push eax
push ecx
call fcn.004ebac0
add esp, 4
mov ecx, eax
call fcn.0056b3c3
fld qword [eax]
fmul qword [0x5e59d0]
fadd qword [0x5e43f8]
call fcn.00573170
mov edx, dword [0x63fd4c]
mov dword [esp + 0x38], eax
fild dword [esp + 0x38]
mov eax, dword [edx + 0xa640]
mov ecx, dword [eax + 0xa8]
mov dword [esp + 0x3c], ecx
fild dword [esp + 0x3c]
fcompp
fnstsw ax
test ah, 0x41
je 0x5257a3
inc edi
cmp edi, ebx
jl 0x52560e
mov eax, 0x625a04
mov edx, dword [esp + 0x40]
push edx
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.005939e4
mov ecx, dword [esp + 0x74]
push eax
push ecx
lea ecx, [esp + 0x74]
mov byte [esp + 0x90], 8
call fcn.0058d717
lea ecx, [esp + 0x44]
mov byte [esp + 0x88], 7
call fcn.005936db
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x94]
inc eax
cmp eax, 0xc8
mov dword [esp + 0x10], eax
mov ebx, eax
jge 0x52575e
mov esi, dword [esp + 0x2c]
mov edx, dword [0x63fd4c]
inc esi
mov dword [esp + 0x2c], esi
mov eax, dword [edx + 0xa640]
cmp esi, dword [eax + 0x2c]
jl 0x525556
xor ebp, ebp
mov eax, dword [0x664730]
test eax, eax
jle 0x525864
mov eax, dword [0x66472c]
lea esi, [eax + ebp*4]
mov eax, dword [eax + ebp*4]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x525852
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x5257ad
mov ecx, dword [esp + 0x90]
push eax
push ecx
call fcn.0050f650
add esp, 8
and eax, 0xff
jmp 0x52580d
mov eax, 0x625a08
jmp 0x5256ef
test edi, edi
jne 0x5257c4
mov edx, dword [esp + 0x90]
push edx
push eax
call fcn.00525270
add esp, 8
jmp 0x52580d
cmp edi, 1
jne 0x5257dc
mov ecx, dword [esp + 0x90]
push ecx
push eax
call fcn.005252b0
add esp, 8
jmp 0x52580d
cmp edi, 2
jne 0x5257f6
mov edx, dword [esp + 0x20]
push eax
push edx
call fcn.0050f650
add esp, 8
and eax, 0xff
jmp 0x52580d
cmp edi, 3
jne 0x525852
mov ecx, dword [esp + 0x90]
push ecx
mov ecx, dword [esp + 0x18]
push eax
call fcn.00525b60
test eax, eax
je 0x525852
push esi
lea edx, [esp + 0x48]
push 0x625a04
push edx
call fcn.005939e4
push eax
mov eax, dword [esp + 0x78]
push eax
lea ecx, [esp + 0x74]
mov byte [esp + 0x90], 9
call fcn.0058d717
lea ecx, [esp + 0x44]
mov byte [esp + 0x88], 7
call fcn.005936db
inc ebx
cmp ebx, 0xc8
jge 0x525860
mov eax, dword [0x664730]
inc ebp
cmp ebp, eax
jl 0x52576d
mov dword [esp + 0x10], ebx
lea eax, [ebx - 1]
test eax, eax
jle 0x5259d7
mov esi, 1
xor ebp, ebp
mov dword [esp + 0x2c], esi
mov edx, dword [esp + 0x70]
lea ecx, [esp + 0x1c]
push 1
push ecx
lea ecx, [edx + ebp]
call fcn.0058a898
mov eax, dword [esp + 0x70]
xor edx, edx
mov byte [esp + 0x88], 0xa
mov ecx, dword [eax + ebp]
mov al, byte [ecx]
cmp al, 0x2b
sete dl
cmp esi, ebx
mov edi, edx
jge 0x5259b0
mov ecx, dword [esp + 0x70]
lea eax, [esp + 0x18]
push 1
push eax
lea ecx, [ecx + esi*4]
call fcn.0058a898
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x1c]
xor ebx, ebx
push ecx
mov eax, dword [edx + esi*4]
mov edx, dword [esp + 0x1c]
push edx
mov byte [esp + 0x90], 0xb
mov al, byte [eax]
cmp al, 0x2b
sete bl
call fcn.00573b74
add esp, 8
test eax, eax
jge 0x52598c
test ebx, ebx
mov eax, 0x625a08
jne 0x525902
mov eax, 0x625a04
lea ecx, [esp + 0x18]
lea edx, [esp + 0x44]
push ecx
push eax
push edx
call fcn.005939e4
push eax
mov eax, dword [esp + 0x74]
mov byte [esp + 0x8c], 0xc
lea ecx, [eax + ebp]
call fcn.00593814
lea ecx, [esp + 0x44]
mov byte [esp + 0x88], 0xb
call fcn.005936db
test edi, edi
mov eax, 0x625a08
jne 0x525946
mov eax, 0x625a04
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x40]
push ecx
push eax
push edx
call fcn.005939e4
push eax
mov eax, dword [esp + 0x74]
mov byte [esp + 0x8c], 0xd
lea ecx, [eax + esi*4]
call fcn.00593814
lea ecx, [esp + 0x40]
mov byte [esp + 0x88], 0xb
call fcn.005936db
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x20]
call fcn.00593814
mov edi, ebx
lea ecx, [esp + 0x18]
mov byte [esp + 0x88], 0xa
call fcn.005936db
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jl 0x5258af
mov esi, dword [esp + 0x2c]
mov ebx, eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x88], 7
call fcn.005936db
inc esi
lea eax, [ebx - 1]
add ebp, 4
mov dword [esp + 0x2c], esi
lea edx, [esi - 1]
cmp edx, eax
jl 0x52587a
mov ecx, dword [esp + 0x14]
call fcn.00525150
xor esi, esi
test ebx, ebx
jle 0x525a33
mov eax, dword [esp + 0x70]
push 1
mov edx, dword [eax + esi*4]
lea ecx, [eax + esi*4]
lea eax, [esp + 0x48]
mov bl, byte [edx]
push eax
call fcn.0058a898
xor ecx, ecx
cmp bl, 0x2b
sete cl
push ecx
mov ecx, dword [esp + 0x18]
push eax
mov byte [esp + 0x90], 0xe
call fcn.005251f0
lea ecx, [esp + 0x44]
mov byte [esp + 0x88], 7
call fcn.005936db
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jl 0x5259e6
mov ecx, dword [esp + 0x14]
call fcn.00525160
lea ecx, [esp + 0x20]
mov byte [esp + 0x88], 4
call fcn.005936db
lea ecx, [esp + 0x6c]
mov byte [esp + 0x88], 0
call fcn.0058d542
lea ecx, [esp + 0x90]
mov dword [esp + 0x88], 0xffffffff
call fcn.005936db
mov ecx, dword [esp + 0x80]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x7c
ret 8