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

Disassembly:
sub esp, 0x104
push ebx
push edi
mov edi, ecx
call dword [0x6d0458]
mov ecx, dword [edi + 0x34c]
mov dword [ecx + 0x40], eax
mov eax, dword [edi + 0x34c]
mov ecx, dword [eax]
xor ebx, ebx
cmp ecx, ebx
mov dword [esp + 0x2c], ebx
jle 0x5a3e9e
push ebp
mov dword [esp + 0x1c], ebx
push esi
mov esi, dword [eax + 0x18]
mov ecx, dword [esp + 0x20]
mov eax, dword [esi + ecx]
add esi, ecx
cmp eax, ebx
mov dword [esp + 0x30], ebx
jle 0x5a3e75
xor ebp, ebp
nop
cmp dword [esi + 0x12c], ebx
je 0x5a3e5c
lea edx, [edi + 0x1e0]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x38]
mov dword [esp + 0x3c], ecx
push eax
mov ecx, eax
push ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x48], edx
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 + 0xe0]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fmul dword [0x6ee1f4]
fstp dword [esp]
push edx
call fcn.005422fd
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov eax, 0x3f800000
mov dword [esp + 0x84], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x78], eax
lea eax, [esp + 0xd4]
mov dword [esp + 0x7c], ecx
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x84], edx
push ecx
lea edx, [esp + 0x90]
push edx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], ebx
call fcn.00541522
mov al, byte [edi + 0x374]
test al, al
je 0x5a3be9
mov eax, dword [esp + 0x120]
mov ecx, dword [esp + 0x11c]
mov edx, dword [esp + 0x118]
push eax
push ecx
push edx
jmp 0x5a3c1e
fld dword [esp + 0xc0]
sub esp, 0xc
fadd dword [edi + 0x1a8]
fstp dword [esp + 8]
fld dword [esp + 0xc8]
fadd dword [edi + 0x1a4]
fstp dword [esp + 4]
fld dword [esp + 0xc4]
fadd dword [edi + 0x1a0]
fstp dword [esp]
mov ecx, dword [esi + 0x12c]
add ecx, ebp
call fcn.00607fb0
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xc0]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x18], ecx
push eax
mov ecx, eax
push ecx
mov dword [esp + 0x24], edx
call fcn.00540bf1
mov edx, dword [edi + 0x34c]
fld dword [edx + 8]
fmul dword [0x6d0980]
call fcn.00693530
mov ebx, eax
call fcn.006935b2
cdq
idiv ebx
mov eax, dword [esi + 0x12c]
mov ecx, dword [edi + 0x34c]
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 + 0x10]
fld dword [esp + 0x10]
fmul dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [esp + 0x10]
fmul dword [esp + 0x18]
fstp dword [esp + 0x18]
fld dword [esp + 0x10]
fmul dword [esp + 0x1c]
fstp dword [esp + 0x1c]
mov eax, dword [eax + ebp + 0x10]
fld dword [esp + 0x14]
fadd dword [eax]
fstp dword [esp + 0x14]
fld dword [esp + 0x18]
fadd dword [eax + 4]
fstp dword [esp + 0x18]
fld dword [esp + 0x1c]
fadd dword [eax + 8]
mov eax, dword [esp + 0x20]
fstp dword [esp + 0x1c]
mov edx, dword [ecx + 0x18]
fld dword [edx + eax + 0x150]
lea ecx, [edx + eax + 0x150]
fcomp dword [0x6f3614]
fnstsw ax
test ah, 0x41
jne 0x5a3e27
mov ecx, dword [ecx]
mov dword [esp + 0x44], ecx
fld dword [esp + 0x44]
fmul dword [0x6d3454]
call fcn.00693530
mov ebx, eax
call fcn.006935b2
cdq
idiv ebx
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fadd dword [0x6d6088]
fdiv dword [0x6d3454]
fstp dword [esp + 0x24]
call fcn.006935b2
and eax, 0x80000001
jns 0x5a3d61
dec eax
or eax, 0xfffffffe
inc eax
je 0x5a3d71
fld dword [esp + 0x24]
fmul dword [0x6dfbac]
fstp dword [esp + 0x24]
call fcn.006935b2
cdq
idiv ebx
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fadd dword [0x6d6088]
fdiv dword [0x6d3454]
fstp dword [esp + 0x28]
call fcn.006935b2
and eax, 0x80000001
jns 0x5a3daa
dec eax
or eax, 0xfffffffe
inc eax
je 0x5a3dba
fld dword [esp + 0x28]
fmul dword [0x6dfbac]
fstp dword [esp + 0x28]
call fcn.006935b2
cdq
idiv ebx
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fadd dword [0x6d6088]
fdiv dword [0x6d3454]
fstp dword [esp + 0x2c]
call fcn.006935b2
and eax, 0x80000001
jns 0x5a3df3
dec eax
or eax, 0xfffffffe
inc eax
je 0x5a3e03
fld dword [esp + 0x2c]
fmul dword [0x6dfbac]
fstp dword [esp + 0x2c]
fld dword [esp + 0x14]
fadd dword [esp + 0x24]
fstp dword [esp + 0x14]
fld dword [esp + 0x18]
fadd dword [esp + 0x28]
fstp dword [esp + 0x18]
fld dword [esp + 0x1c]
fadd dword [esp + 0x2c]
fstp dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push edx
push eax
push ecx
mov ecx, dword [esi + 0x12c]
add ecx, ebp
call fcn.00607fd0
mov ecx, dword [esi + 0x12c]
push 0
lea edx, [esp + 0xcc]
push edx
add ecx, ebp
call fcn.0060bba0
xor ebx, ebx
mov eax, dword [esp + 0x30]
mov ecx, dword [esi]
inc eax
add ebp, 0xbc
cmp eax, ecx
mov dword [esp + 0x30], eax
jl 0x5a3a90
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x20]
mov eax, dword [edi + 0x34c]
mov edx, dword [eax]
inc ecx
add esi, 0x158
cmp ecx, edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x20], esi
jl 0x5a3a75
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x104
ret 0xc