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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5133a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
push esi
call fcn.00441790
mov ebx, eax
xor edx, edx
add esp, 4
cmp ebx, edx
mov dword [esp + 0x14], ebx
jne 0x44246d
xor al, al
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fld qword [0x520dc0]
mov eax, dword [esi + 0x30]
mov dword [esp + 0x3c], 0
fst qword [esp + 0x4c]
cmp eax, edx
mov dword [esp + 0x40], 0
je 0x44249a
mov esi, dword [esi + 0x2c]
mov edi, dword [esi + 8]
mov dword [esp + 0x10], edi
jmp 0x4424a0
mov dword [esp + 0x10], edx
mov edi, edx
cmp edi, edx
jle 0x4424f2
lea ecx, [ebx + 0x10]
mov esi, edi
cmp dword [ecx - 0x10], 0xffffffff
je 0x4424db
fld qword [ecx]
fcomp qword [esp + 0x3c]
fnstsw ax
test ah, 1
jne 0x4424c2
fld qword [ecx]
fstp qword [esp + 0x3c]
mov eax, dword [ecx + 0x18]
mov edx, dword [ecx + 0x2c]
add edx, eax
mov dword [esp + 0x20], edx
xor edx, edx
fild dword [esp + 0x20]
fmul qword [ecx - 8]
fmul qword [ecx]
faddp st(1)
add ecx, 0x50
dec esi
jne 0x4424a9
fcom qword [0x520dc0]
fst qword [esp + 0x4c]
fnstsw ax
test ah, 0x40
je 0x442525
mov eax, dword [ebx - 4]
lea esi, [ebx - 4]
push 0x441690
push eax
push 0x50
push ebx
fstp st(0)
call fcn.0050c1a9
push esi
call fcn.0050b204
add esp, 4
xor al, al
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fadd st(0), st(0)
mov dword [esp + 0x5c], 0x5205d8
mov dword [esp + 0x60], edx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x68], edx
fld st(0)
fdiv qword [ebp + 8]
mov dword [esp + 0x64], edx
fsqrt
fstp qword [esp + 0x2c]
fdiv qword [esp + 0x2c]
fstp qword [esp + 0x24]
fld qword [esp + 0x3c]
fadd qword [0x520da0]
fstp qword [esp + 0x3c]
push 0xffffffffffffffff
push 1
lea ecx, [esp + 0x64]
mov dword [esp + 0x80], edx
call fcn.00443920
fld qword [esp + 0x3c]
fadd qword [0x520dc8]
mov ecx, dword [esp + 0x60]
mov esi, ebx
mov ebx, dword [esp + 0x40]
fstp qword [ecx]
cmp dword [esi], 0xffffffff
je 0x4425b5
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x5c]
push edx
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x48]
push edx
push eax
push ebx
push ecx
mov ecx, esi
call fcn.00441eb0
add esi, 0x50
dec edi
jne 0x44258a
fld qword [esp + 0x4c]
fmul qword [0x520dc8]
mov edx, dword [esp + 0x64]
xor ecx, ecx
xor eax, eax
cmp edx, ecx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
fstp qword [esp + 0x4c]
mov dword [esp + 0x20], eax
jle 0x4427ba
mov edx, dword [esp + 0x60]
mov edi, dword [esp + 0x14]
mov esi, 1
mov dword [esp + 0x44], 0
fld qword [edx + eax*8]
mov dword [esp + 0x48], 0
mov dword [esp + 0x18], esi
fstp qword [esp + 0x34]
mov dword [esp + 0x1c], edi
cmp dword [edi], 0
jl 0x4426f1
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x24]
lea ecx, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x38]
push ecx
push edx
push eax
mov ecx, edi
call fcn.00442150
test eax, eax
je 0x44270e
fld qword [esp + 0x34]
fmul qword [0x524fc0]
fcomp qword [esp + 0x2c]
fnstsw ax
test ah, 0x41
jne 0x4426e5
mov eax, dword [esp + 0x10]
or ebx, 0xffffffff
cmp esi, eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
jge 0x4426e5
add edi, 0x50
cmp dword [edi], 0
jl 0x4426bb
fld qword [esp + 0x34]
fsub qword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
sub esp, 8
fsub qword [0x520dc8]
fstp qword [esp]
push ecx
push edx
mov ecx, edi
call fcn.00442360
fcom qword [esp + 0x54]
fnstsw ax
test ah, 0x41
jne 0x4426b9
fstp qword [esp + 0x54]
mov ebx, esi
jmp 0x4426bb
fstp st(0)
mov eax, dword [esp + 0x10]
inc esi
add edi, 0x50
cmp esi, eax
jl 0x44267c
cmp ebx, 0xffffffff
je 0x4426dd
mov ecx, dword [esp + 0x14]
lea eax, [ebx + ebx*4]
shl eax, 4
mov dword [eax + ecx], 0xfffffffe
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
fld qword [esp + 0x44]
fadd qword [esp + 0x24]
fstp qword [esp + 0x44]
mov eax, dword [esp + 0x10]
add edi, 0x50
inc esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], esi
lea edx, [esi - 1]
cmp edx, eax
jl 0x442619
jmp 0x44271e
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0x4197d784
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
cmp dword [eax], 0xfffffffe
jne 0x442731
mov dword [eax], 0
add eax, 0x50
dec ecx
jne 0x442726
fld qword [esp + 0x44]
fdiv qword [esp + 0x34]
fcomp qword [ebp + 8]
fnstsw ax
test ah, 0x41
jne 0x442775
fld qword [esp + 0x44]
fmul qword [esp + 0x44]
fdiv qword [ebp + 8]
fcom qword [esp + 0x4c]
fnstsw ax
test ah, 1
je 0x4427a1
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
fstp qword [esp + 0x4c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
jmp 0x4427a3
fld qword [esp + 0x34]
fmul qword [esp + 0x34]
fmul qword [ebp + 8]
fcom qword [esp + 0x4c]
fnstsw ax
test ah, 1
je 0x4427a1
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
fstp qword [esp + 0x4c]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
jmp 0x4427a3
fstp st(0)
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x64]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x4425ed
xor ecx, ecx
fld qword [esp + 0x3c]
fadd qword [0x520dc8]
mov esi, dword [ebp + 0x18]
mov edi, dword [esp + 0x14]
mov eax, 0x40a13000
mov dword [esp + 0x1c], 1
mov dword [esi], ecx
mov dword [esi + 0x10], ecx
fstp qword [esi + 0x18]
mov dword [esi + 8], ecx
mov dword [esi + 4], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0xc], ecx
mov dword [esp + 0x18], edi
cmp dword [edi], 0
jl 0x442948
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x24]
lea edx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push eax
push ecx
mov ecx, edi
call fcn.00442150
mov edx, dword [ebp + 0x14]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esi + 0x14]
push edx
mov edx, dword [esi + 0x10]
push eax
push 0
push 0
push ecx
push edx
mov ecx, edi
call fcn.004429d0
fld qword [esp + 0x24]
fadd qword [0x520dc8]
fadd qword [esi + 0x10]
fstp qword [esi + 0x10]
fld qword [esp + 0x3c]
fmul qword [0x524fc0]
fcomp qword [esp + 0x2c]
fnstsw ax
test ah, 0x41
jne 0x442948
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
mov ecx, edi
or ebx, 0xffffffff
cmp ecx, eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
jge 0x442944
mov ecx, dword [esp + 0x18]
add ecx, 0x50
mov dword [esp + 0x20], ecx
cmp dword [ecx], 0
jl 0x4428d5
fld qword [esp + 0x3c]
fsub qword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
sub esp, 8
fsub qword [0x520dc8]
fstp qword [esp]
push edx
push eax
call fcn.00442360
fcom qword [esp + 0x54]
fnstsw ax
test ah, 0x41
jne 0x4428d3
fstp qword [esp + 0x54]
mov ebx, edi
jmp 0x4428d5
fstp st(0)
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
inc edi
add ecx, 0x50
cmp edi, eax
mov dword [esp + 0x20], ecx
jl 0x442898
cmp ebx, 0xffffffff
je 0x442944
mov edx, dword [esp + 0x14]
lea ecx, [ebx + ebx*4]
fld qword [esp + 0x3c]
shl ecx, 4
mov eax, dword [ebp + 0x14]
add ecx, edx
push eax
mov dword [ecx], 0xfffffffe
mov edx, dword [esp + 0x2c]
fsub qword [esp + 0x30]
mov eax, dword [esp + 0x28]
sub esp, 8
fsub qword [0x520dc8]
fstp qword [esp]
fld qword [esp + 0x38]
fadd qword [0x520dc8]
push edx
push eax
sub esp, 8
fstp qword [esp]
fld qword [esi + 0x10]
fsub qword [esp + 0x40]
sub esp, 8
fstp qword [esp]
call fcn.004429d0
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
add edi, 0x50
inc eax
mov dword [esp + 0x1c], eax
dec eax
cmp eax, ecx
mov dword [esp + 0x18], edi
jl 0x4427f0
mov eax, dword [esp + 0x14]
push 0x441690
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push ecx
push 0x50
push eax
call fcn.0050c1a9
push esi
call fcn.0050b204
mov edx, dword [ebp + 0x14]
add esp, 4
mov dword [esp + 0x5c], 0x5205d8
mov esi, dword [edx + 8]
test esi, esi
setg bl
mov eax, dword [esp + 0x60]
mov dword [esp + 0x78], 1
test eax, eax
je 0x4429b2
push eax
call fcn.0050b204
add esp, 4
mov ecx, dword [esp + 0x70]
pop edi
mov al, bl
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret