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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x894
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x14]
push ebx
xor ebx, ebx
mov dword [eax], ebx
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
cmp eax, ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x34], ebx
jne 0x1005319f
fld qword [ecx + edi*8 - 8]
fstp qword [esp + 0x5c]
fld qword [ecx + esi*8]
fstp qword [esp + 0x64]
jmp 0x100531ba
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x5c], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x60], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
mov eax, dword [ebp + 0x20]
push ebx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x78], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x7c], edx
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x78]
mov dword [esp + 0x80], ecx
push eax
push 2
mov dword [esp + 0x8c], edx
call fcn.100448e0
mov eax, dword [ebp + 0x1c]
add esp, 0xc
cmp eax, ebx
jne 0x100532b9
lea ecx, [edi + esi*2]
lea eax, [esi + ecx - 2]
cmp eax, 0x100
ja 0x10053214
lea edx, [esp + 0xa0]
mov dword [esp + 0x10], edx
jmp 0x10053236
shl eax, 3
push eax
call fcn.10003ce0
add esp, 4
cmp eax, ebx
mov dword [esp + 0x44], eax
jne 0x10053232
mov esi, 1
jmp 0x100538e4
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
lea edx, [esi + edi]
test esi, esi
lea ebx, [ecx + esi*8]
lea eax, [ebx + edx*8 - 0x10]
mov dword [esp + 0x28], eax
jle 0x1005326e
mov eax, dword [ebp + 0x18]
mov edx, esi
fld qword [eax + 8]
fld qword [eax]
fmul qword [esp + 0x74]
fxch st(1)
fmul qword [esp + 0x7c]
add eax, 0x10
add ecx, 8
dec edx
faddp st(1)
fstp qword [ecx - 8]
jne 0x10053251
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
mov eax, dword [ebp + 0x14]
push 0
push ecx
push ebx
push 0
push edx
push eax
push esi
push edi
push 1
call fcn.10057d20
mov ecx, dword [ebp + 0x30]
mov edx, dword [ebp + 0x2c]
mov eax, dword [ebp + 0x28]
add esp, 0x24
dec esi
dec edi
push ecx
mov ecx, dword [ebp + 0x24]
push edx
mov edx, dword [esp + 0x30]
push eax
push ecx
push edx
lea eax, [esp + 0x70]
push ebx
push eax
push esi
push edi
call fcn.10056fc0
add esp, 0x24
jmp 0x100538dc
lea eax, [edi + edi]
lea ecx, [eax + eax*2]
lea eax, [ecx + edi*4 - 5]
cmp eax, 0x100
ja 0x100532d3
lea ecx, [esp + 0xa0]
jmp 0x100532f7
lea edx, [eax*8]
push edx
call fcn.10003ce0
add esp, 4
cmp eax, ebx
mov dword [esp + 0x44], eax
jne 0x100532f5
mov esi, 1
jmp 0x100538e4
mov ecx, eax
mov eax, edi
mov dword [esp + 0x10], ecx
shl eax, 4
mov dword [esp + 0x8c], eax
mov dword [esp + 0x20], ebx
lea edx, [eax + ecx]
lea ecx, [edi*8]
mov dword [esp + 0x2c], edx
add edx, ecx
mov dword [esp + 0x70], edx
mov dword [esp + 0x30], edx
add edx, ecx
mov dword [esp + 0x28], edx
add edx, ecx
mov dword [esp + 0x6c], edx
add edx, ecx
mov dword [esp + 0x70], edx
lea eax, [edx + eax - 0x10]
mov dword [esp + 0x58], eax
lea eax, [edi - 1]
cmp eax, esi
mov dword [esp + 0x24], eax
jge 0x100538d3
mov edx, dword [ebp + 0x14]
lea ecx, [eax + 1]
shl eax, 4
mov dword [esp + 0x54], eax
mov dword [esp + 0x14], ecx
lea eax, [edx + ecx*8]
mov ecx, 0xfffffff8
sub ecx, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x88], ecx
jmp 0x10053378
mov eax, dword [esp + 0x18]
fld qword [eax - 8]
fcomp qword [eax]
fnstsw ax
test ah, 0x40
jne 0x100538a0
mov ecx, dword [esp + 0x18]
fld qword [ecx]
fcomp qword [esp + 0x5c]
fnstsw ax
test ah, 1
jne 0x100538a0
mov edx, ecx
fld qword [edx - 8]
fcomp qword [esp + 0x64]
fnstsw ax
test ah, 0x41
je 0x100538a0
fld qword [ecx - 8]
fcomp qword [esp + 0x5c]
fnstsw ax
test ah, 0x41
jne 0x100533c8
fld qword [ecx - 8]
fstp qword [esp + 0x38]
jmp 0x100533d8
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
fld qword [ecx]
fcomp qword [esp + 0x64]
fnstsw ax
test ah, 1
je 0x100533ed
fld qword [ecx]
fstp qword [esp + 0x48]
jmp 0x100533fd
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x18]
sub edx, eax
mov eax, dword [esp + 0x88]
lea esi, [eax + ecx]
lea eax, [edi*8]
mov ecx, esi
mov dword [esp + 0x1c], esi
sub ecx, eax
mov eax, dword [esp + 0x24]
sub eax, edi
lea ebx, [eax + 1]
mov eax, dword [esp + 0x14]
cmp ebx, eax
mov dword [esp + 0xc], ebx
jge 0x1005349d
mov eax, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x18]
mov edi, dword [esp + 0x14]
lea ecx, [ecx + eax + 8]
mov eax, dword [esp + 0x2c]
lea edx, [edx + esi + 0x10]
mov esi, dword [esp + 0x30]
sub esi, eax
sub edi, ebx
fld qword [edx]
fld qword [edx + 8]
fmul qword [esp + 0x7c]
fxch st(1)
fmul qword [esp + 0x74]
add edx, 0x10
add ecx, 8
add eax, 8
dec edi
faddp st(1)
fst qword [eax - 8]
fld qword [ecx - 8]
fmul st(1)
fstp qword [eax - 8]
mov ebx, dword [ecx - 8]
mov dword [esi + eax - 8], ebx
mov ebx, dword [ecx - 4]
mov dword [esi + eax - 4], ebx
fstp st(0)
jne 0x1005345a
mov edi, dword [ebp + 8]
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0xc]
mov eax, esi
lea ecx, [edi*8]
sub eax, ecx
mov ecx, dword [esp + 0x14]
cmp ebx, ecx
jge 0x100534e0
mov edx, dword [ebp + 0x14]
mov ecx, dword [esp + 0x10]
lea eax, [eax + edx + 8]
mov edx, dword [esp + 0x14]
sub edx, ebx
mov dword [esp + 0xc], edx
mov edx, dword [eax]
add eax, 8
mov dword [ecx], edx
mov edx, dword [eax - 4]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0xc]
add ecx, 8
dec edx
mov dword [esp + 0xc], edx
jne 0x100534c5
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
lea eax, [ecx + edi + 1]
cmp edx, eax
mov dword [esp + 0x1c], eax
jge 0x10053523
mov eax, dword [esp + 0x18]
sub edx, ecx
mov ecx, dword [esp + 0x10]
add edx, edi
mov dword [esp + 0xc], edi
lea ecx, [ecx + edx*8 - 8]
mov edx, dword [eax]
add eax, 8
mov dword [ecx], edx
mov edx, dword [eax - 4]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0xc]
add ecx, 8
dec edx
mov dword [esp + 0xc], edx
jne 0x10053508
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x3c]
push 0
push eax
mov eax, dword [esp + 0x40]
push ecx
push edi
push edx
push eax
push 0xffffffffffffffff
call fcn.10057ca0
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x68]
add esp, 0x1c
push 0
push ecx
mov ecx, dword [esp + 0x50]
push edx
push edi
push eax
push ecx
push 1
call fcn.10057ca0
mov ecx, dword [esp + 0x30]
lea eax, [edi*8]
sub esi, eax
add esp, 0x1c
mov eax, esi
mov esi, dword [esp + 0x10]
cmp ebx, ecx
jge 0x1005359e
mov edx, dword [ebp + 0x14]
mov ecx, esi
lea eax, [eax + edx + 8]
mov edx, dword [esp + 0x14]
sub edx, ebx
mov ebx, dword [eax]
add eax, 8
mov dword [ecx], ebx
mov ebx, dword [eax - 4]
mov dword [ecx + 4], ebx
add ecx, 8
dec edx
jne 0x1005358b
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
cmp ecx, eax
jge 0x100535cf
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
sub ecx, ebx
mov edx, edi
add ecx, edi
lea ecx, [esi + ecx*8 - 8]
mov ebx, dword [eax]
add eax, 8
mov dword [ecx], ebx
mov ebx, dword [eax - 4]
mov dword [ecx + 4], ebx
add ecx, 8
dec edx
jne 0x100535bc
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push 0
push ebx
push esi
push edi
push eax
push ecx
push 0xffffffffffffffff
call fcn.10057ca0
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
add esp, 0x1c
push 0
push ebx
push esi
push edi
push edx
push eax
push 1
call fcn.10057ca0
mov edx, dword [esp + 0x44]
lea eax, [edi - 1]
add esp, 0x1c
test eax, eax
jle 0x1005366d
lea eax, [ebx + 8]
mov ebx, dword [esp + 0x2c]
mov esi, ebx
sub ebx, edx
sub esi, dword [esp + 0x30]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x6c]
mov ecx, edx
sub ebx, edx
mov dword [esp + 0x84], ebx
lea ebx, [edi - 1]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x1c]
add ecx, 8
fld qword [esi + eax]
fsub qword [ebx + ecx - 8]
mov ebx, dword [esp + 0x84]
add eax, 8
fstp qword [ecx - 8]
fld qword [eax - 8]
fsub qword [eax - 0x10]
fstp qword [ebx + ecx - 8]
mov ebx, dword [esp + 0xc]
dec ebx
mov dword [esp + 0xc], ebx
jne 0x10053639
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
push esi
push ecx
lea eax, [edi - 1]
push edx
mov edx, dword [esp + 0x38]
push eax
push ebx
push edx
push edi
call fcn.10057a10
add esp, 0x1c
lea eax, [edi + edi - 2]
lea ebx, [eax - 1]
push esi
push esi
push ebx
push eax
call fcn.10057510
fld qword [esi]
fcom qword [0x1005a058]
add esp, 0x10
xor edx, edx
mov dword [esp + 0xc], edx
fnstsw ax
test ah, 0x40
je 0x100536b8
mov edx, 1
cmp ebx, 1
jle 0x10053700
lea eax, [ebx - 1]
lea ecx, [esi + 8]
mov dword [esp + 0x1c], eax
fld qword [ecx]
fmul st(1)
fcomp qword [0x1005a058]
fnstsw ax
test ah, 1
je 0x100536dc
inc dword [esp + 0xc]
fld qword [ecx]
fcomp qword [0x1005a058]
fnstsw ax
test ah, 0x40
je 0x100536ee
inc edx
jmp 0x100536f2
fstp st(0)
fld qword [ecx]
mov eax, dword [esp + 0x1c]
add ecx, 8
dec eax
mov dword [esp + 0x1c], eax
jne 0x100536c7
cmp edx, ebx
fstp st(0)
jne 0x10053741
mov eax, dword [esp + 0x20]
mov esi, dword [ebp + 0x24]
cmp eax, esi
jge 0x10053728
fld qword [esp + 0x38]
mov ecx, dword [ebp + 0x2c]
fstp qword [ecx + eax*8]
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x10053728
lea edx, [edi - 1]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, esi
jge 0x10053737
fld qword [esp + 0x48]
mov edx, dword [ebp + 0x2c]
fstp qword [edx + eax*8]
inc eax
mov dword [esp + 0x20], eax
jmp 0x100538a0
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x10053751
test edx, edx
je 0x100538a0
cmp eax, 1
jg 0x100537ab
test edx, edx
jg 0x100537ab
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0x90]
push eax
push ecx
push esi
push ebx
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0x3ff00000
call fcn.10056690
add esp, 0x10
mov dword [esp + 0x34], eax
mov dword [esp + 0x50], 1
jmp 0x100537c3
mov eax, dword [esp + 0x58]
lea edx, [esp + 0x50]
push edx
push eax
push esi
push ebx
call fcn.10056990
add esp, 0x10
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x20]
test ecx, ecx
fld qword [edx]
fld qword [0x1005a048]
fsub st(1)
fxch st(1)
fmul qword [esp + 0x48]
fxch st(1)
fmul qword [esp + 0x38]
faddp st(1)
je 0x100537f9
mov esi, dword [ebp + 0x2c]
fld st(0)
fcomp qword [esi + ecx*8 - 8]
fnstsw ax
test ah, 0x41
jne 0x10053822
jmp 0x100537fc
mov esi, dword [ebp + 0x2c]
cmp ecx, dword [ebp + 0x24]
jge 0x10053819
mov eax, dword [ebp + 0x30]
fstp qword [esi + ecx*8]
test eax, eax
je 0x1005381b
mov dword [eax + ecx*4], 0
inc ecx
mov dword [esp + 0x20], ecx
jmp 0x10053824
fstp st(0)
inc ecx
mov dword [esp + 0x20], ecx
jmp 0x10053824
fstp st(0)
mov ebx, dword [esp + 0x50]
cmp ebx, 1
jle 0x100538a0
cmp ebx, 1
mov dword [esp + 0xc], 1
jle 0x10053898
mov eax, dword [ebp + 0x30]
add edx, 8
lea esi, [esi + ecx*8 + 8]
lea eax, [eax + ecx*4 + 4]
fld qword [edx]
fld qword [0x1005a048]
mov ebx, dword [ebp + 0x24]
fsub st(1)
fxch st(1)
fmul qword [esp + 0x48]
fxch st(1)
fmul qword [esp + 0x38]
cmp ecx, ebx
faddp st(1)
jge 0x1005387a
mov ebx, dword [ebp + 0x30]
fstp qword [esi - 8]
test ebx, ebx
je 0x1005387c
mov dword [eax - 4], 0
jmp 0x1005387c
fstp st(0)
mov ebx, dword [esp + 0xc]
add eax, 4
inc ebx
add edx, 8
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x50]
add esi, 8
cmp dword [esp + 0xc], ebx
jl 0x10053848
lea ecx, [ecx + ebx - 1]
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x54]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ecx, dword [ebp + 0xc]
inc eax
add ebx, 0x10
add esi, 8
inc edx
cmp eax, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edx
jl 0x10053374
mov edx, dword [ebp + 0x28]
mov eax, dword [esp + 0x20]
mov dword [edx], eax
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x34]
test eax, eax
je 0x100538f1
push eax
call fcn.10003d40
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret