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

Disassembly:
sub esp, 0x158
push ebx
push ebp
push esi
mov esi, ecx
mov al, byte [esi + 0x350]
xor ebx, ebx
cmp al, bl
push edi
je 0x5a6a9f
mov edi, dword [esi + 0x34c]
cmp edi, ebx
je 0x5a6a9f
cmp byte [edi + 0x30], bl
jne 0x5a69d6
mov eax, dword [edi + 0x20]
cmp eax, dword [esp + 0x170]
jne 0x5a6a9f
fld dword [esp + 0x174]
call fcn.00693530
cmp dword [edi + 0x24], eax
jg 0x5a6a9f
mov byte [edi + 0x30], 1
call dword [0x6d0458]
mov ecx, dword [esi + 0x34c]
mov dword [ecx + 0x40], eax
mov eax, dword [esi + 0x34c]
cmp dword [eax], ebx
mov dword [esp + 0x30], ebx
jle 0x5a6a9f
xor ebp, ebp
mov dword [esp + 0x48], ebp
mov edx, dword [eax + 0x18]
cmp dword [edx + ebp], ebx
mov dword [esp + 0x44], ebx
jle 0x5a69a6
mov dword [esp + 0x40], ebx
jmp 0x5a6380
mov eax, dword [esi + 0x34c]
mov ecx, dword [eax + 0x18]
mov edi, dword [ecx + ebp + 0x12c]
mov edx, dword [esp + 0x40]
add ecx, ebp
add edi, edx
mov edx, dword [eax + 0xc]
mov dword [ecx + 0x14c], edx
je 0x5a697b
mov eax, dword [esi + 0x200]
mov dword [edi + 0x2c], eax
mov ecx, dword [esi + 0x34c]
mov edx, dword [ecx + 0x18]
mov eax, dword [edx + ebp + 0x134]
push eax
mov ecx, edi
call fcn.00607ee0
call fcn.006935b2
mov ecx, dword [esi + 0x34c]
mov edx, dword [ecx + 0x18]
fld dword [edx + ebp + 0x104]
mov dword [esp + 0x14], eax
call fcn.00693530
mov ecx, eax
mov eax, dword [esp + 0x14]
cdq
idiv ecx
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fadd dword [0x6dc420]
fstp dword [esp + 0x14]
mov edx, dword [esp + 0x14]
mov dword [edi + 0x1c], edx
mov eax, dword [esi + 0x34c]
mov ecx, dword [eax + 0x18]
lea eax, [ecx + ebp]
mov ecx, dword [eax + 0x110]
mov eax, dword [eax + 0x10c]
mov dword [edi + 0x4c], ecx
mov dword [edi + 0x48], eax
lea eax, [esi + 0x1e0]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], edx
fld dword [esp + 0x24]
fmul dword [0x6ee1f8]
mov edx, dword [eax + 8]
mov dword [esp + 0x2c], edx
lea eax, [esi + 0x1a0]
fstp dword [esp + 0x24]
mov dword [esp + 0x28], ecx
fld dword [esp + 0x2c]
lea ecx, [esp + 0x90]
fmul dword [0x6ee1f8]
push ecx
sub esp, 0xc
mov edx, esp
fstp dword [esp + 0x3c]
sub esp, 0xc
fld dword [esp + 0x48]
mov dword [esp + 0x44], ebx
fadd dword [eax + 8]
fstp dword [esp + 0x2c]
fld dword [eax + 4]
fadd dword [0x6f3614]
fstp dword [esp + 0x30]
fld dword [esp + 0x40]
fadd dword [eax]
fstp dword [esp + 0xb8]
mov ecx, dword [esp + 0xb8]
mov dword [edx], ecx
mov ecx, dword [esp + 0x30]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [edx + 8], ecx
mov ecx, dword [eax]
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [edx + 4], ecx
mov ecx, esi
mov dword [edx + 8], eax
call fcn.005a3110
mov dword [esp + 0x84], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x7c], ebx
mov eax, 0x3f800000
mov dword [esp + 0x88], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0x34c]
mov dword [esp + 0x78], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], ebx
mov ecx, dword [eax + 0x34]
mov dword [esp + 0x7c], ecx
mov edx, dword [eax + 0x38]
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x80], edx
mov eax, dword [eax + 0x3c]
mov edx, dword [esp + 0x90]
push ecx
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x98]
push edx
push eax
lea ecx, [esp + 0xf4]
push ecx
call fcn.005422fd
lea edx, [esp + 0xe8]
push edx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0xb0]
push ecx
call fcn.00541522
cmp byte [esi + 0x374], bl
je 0x5a65a7
mov edx, dword [esp + 0x180]
mov eax, dword [esp + 0x17c]
mov ecx, dword [esp + 0x178]
push edx
push eax
push ecx
jmp 0x5a65dc
fld dword [esp + 0xe0]
sub esp, 0xc
fadd dword [esi + 0x1a8]
fstp dword [esp + 8]
fld dword [esp + 0xe8]
fadd dword [esi + 0x1a4]
fstp dword [esp + 4]
fld dword [esp + 0xe4]
fadd dword [esi + 0x1a0]
fstp dword [esp]
mov ecx, edi
call fcn.00607fb0
mov edx, dword [esi + 0x1e0]
mov eax, dword [esi + 0x1e4]
mov ecx, dword [esi + 0x1e8]
mov dword [esp + 0x24], edx
lea edx, [esp + 0x24]
mov dword [esp + 0x28], eax
push edx
mov eax, edx
push eax
mov dword [esp + 0x34], ecx
call fcn.00540bf1
call fcn.006935b2
cdq
mov ecx, 0x168
idiv ecx
push ecx
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fmul dword [0x6ee1f4]
fstp dword [esp]
call fcn.006935b2
cdq
mov ecx, 0x168
idiv ecx
push ecx
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fmul dword [0x6ee1f4]
fstp dword [esp]
call fcn.006935b2
cdq
mov ecx, 0x168
idiv ecx
push ecx
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
lea edx, [esp + 0x134]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fmul dword [0x6ee1f4]
fstp dword [esp]
push edx
call fcn.005422fd
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov eax, 0x3f800000
mov dword [esp + 0x88], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x128]
mov dword [esp + 0x80], ecx
push eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x88], edx
push ecx
lea edx, [esp + 0xb0]
push edx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], ebx
call fcn.00541522
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0xdc]
mov edx, dword [esp + 0xe0]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
lea eax, [esp + 0x18]
push eax
mov ecx, eax
push ecx
mov dword [esp + 0x28], edx
call fcn.00540bf1
mov edx, dword [esi + 0x34c]
fld dword [edx + 8]
fmul dword [0x6d0980]
call fcn.00693530
mov dword [esp + 0x10], eax
call fcn.006935b2
cdq
idiv dword [esp + 0x10]
mov eax, dword [edi + 0x10]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fdiv dword [0x6d0980]
fadd dword [0x6dc420]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fmul dword [esp + 0x18]
fstp dword [esp + 0x18]
fld dword [esp + 0x14]
fmul dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x14]
fmul dword [esp + 0x20]
fstp dword [esp + 0x20]
fld dword [esp + 0x18]
fadd dword [eax]
fstp dword [esp + 0x18]
fld dword [esp + 0x1c]
fadd dword [eax + 4]
fstp dword [esp + 0x1c]
fld dword [esp + 0x20]
fadd dword [eax + 8]
mov eax, dword [esi + 0x34c]
fstp dword [esp + 0x20]
mov ecx, dword [eax + 0x18]
fld dword [ecx + ebp + 0x150]
lea ecx, [ecx + ebp + 0x150]
fcomp dword [0x6f3614]
fnstsw ax
test ah, 0x41
jne 0x5a68f8
mov edx, dword [ecx]
mov dword [esp + 0x8c], edx
fld dword [esp + 0x8c]
fmul dword [0x6d3454]
call fcn.00693530
mov dword [esp + 0x14], eax
call fcn.006935b2
cdq
idiv dword [esp + 0x14]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fdiv dword [0x6d3454]
fstp dword [esp + 0x34]
call fcn.006935b2
and eax, 0x80000001
jns 0x5a683a
dec eax
or eax, 0xfffffffe
inc eax
je 0x5a684a
fld dword [esp + 0x34]
fmul dword [0x6dfbac]
fstp dword [esp + 0x34]
call fcn.006935b2
cdq
idiv dword [esp + 0x14]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fdiv dword [0x6d3454]
fstp dword [esp + 0x38]
call fcn.006935b2
and eax, 0x80000001
jns 0x5a687f
dec eax
or eax, 0xfffffffe
inc eax
je 0x5a688f
fld dword [esp + 0x38]
fmul dword [0x6dfbac]
fstp dword [esp + 0x38]
call fcn.006935b2
cdq
idiv dword [esp + 0x14]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fdiv dword [0x6d3454]
fstp dword [esp + 0x3c]
call fcn.006935b2
and eax, 0x80000001
jns 0x5a68c4
dec eax
or eax, 0xfffffffe
inc eax
je 0x5a68d4
fld dword [esp + 0x3c]
fmul dword [0x6dfbac]
fstp dword [esp + 0x3c]
fld dword [esp + 0x18]
fadd dword [esp + 0x34]
fstp dword [esp + 0x18]
fld dword [esp + 0x1c]
fadd dword [esp + 0x38]
fstp dword [esp + 0x1c]
fld dword [esp + 0x20]
fadd dword [esp + 0x3c]
fstp dword [esp + 0x20]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
mov ecx, edi
call fcn.00607fd0
mov ecx, edi
call fcn.00608080
mov eax, dword [esi + 0x34c]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + ebp + 0x154]
push 1
mov ecx, edi
mov dword [edi + 0x68], edx
call fcn.00608300
mov eax, dword [esi + 0x34c]
mov ecx, dword [eax + 0x18]
lea edx, [ecx + ebp + 4]
push edx
push ebx
mov ecx, edi
call fcn.00608390
mov dword [edi + 0x3c], 1
mov eax, dword [esi + 0x34c]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + ebp + 0x108]
mov ecx, edi
mov dword [edi + 0x50], edx
call fcn.0060a180
mov eax, dword [esi + 0x34c]
mov ecx, dword [eax + 0x18]
mov eax, dword [ecx + ebp + 0x13c]
mov dword [edi + 0x64], eax
mov edx, dword [esi + 0x34c]
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x40]
mov ecx, dword [edx + 0x18]
mov edx, dword [ecx + ebp]
inc eax
add edi, 0xbc
cmp eax, edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], edi
jl 0x5a6380
mov ecx, dword [esp + 0x30]
mov eax, dword [esi + 0x34c]
mov edx, dword [eax]
inc ecx
add ebp, 0x158
cmp ecx, edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x48], ebp
jl 0x5a6363
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret 0x18
mov edx, dword [edi + 0x28]
cmp edx, dword [esp + 0x170]
jne 0x5a6a76
fld dword [esp + 0x174]
call fcn.00693530
cmp dword [edi + 0x2c], eax
jg 0x5a6a76
mov byte [edi + 0x31], 1
mov eax, dword [esi + 0x34c]
cmp dword [eax], ebx
mov dword [esp + 0x30], ebx
jle 0x5a6a9f
xor ebp, ebp
nop
mov eax, dword [eax + 0x18]
mov eax, dword [eax + ebp + 0x12c]
cmp eax, ebx
je 0x5a6a4e
mov ecx, dword [eax - 4]
lea edi, [eax - 4]
push fcn.0060a290
push ecx
push 0xbc
push eax
call fcn.006945b7
push edi
call fcn.00693d31
mov edx, dword [esi + 0x34c]
mov eax, dword [edx + 0x18]
add esp, 4
mov dword [eax + ebp + 0x12c], ebx
mov ecx, dword [esp + 0x30]
mov eax, dword [esi + 0x34c]
mov edx, dword [eax]
inc ecx
add ebp, 0x158
cmp ecx, edx
mov dword [esp + 0x30], ecx
jl 0x5a6a10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret 0x18
mov edx, dword [esp + 0x178]
mov eax, dword [esp + 0x17c]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x18c]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov ecx, esi
call fcn.005a3a40
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret 0x18