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

Disassembly:
sub esp, 0x108
push ebx
push ebp
mov ebp, dword [esp + 0x114]
mov bl, byte [ebp + 0x52]
test bl, bl
push esi
push edi
mov dword [esp + 0x10], 0
je 0x442152
mov eax, dword [ebp + 0x60]
push eax
push 1
lea esi, [esp + 0x48]
call fcn.00440c10
mov ecx, dword [ebp + 0x64]
push ecx
push 2
lea esi, [esp + 0xe8]
call fcn.00440c10
mov eax, esi
lea edx, [esp + 0x50]
call fcn.00440c90
mov edx, dword [ebp + 0x68]
push edx
push 3
call fcn.00440c10
add esp, 0x18
mov eax, esi
lea edx, [esp + 0x40]
call fcn.00440c90
lea esi, [esp + 0x40]
lea edi, [esp + 0x98]
jmp 0x44215c
lea esi, [ebp + 0xac]
lea edi, [esp + 0x40]
mov eax, dword [esp + 0x124]
test eax, eax
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
je 0x442177
lea edx, [esp + 0x40]
call fcn.00440c90
test bl, bl
mov ecx, 0x10
je 0x4421ea
mov edx, dword [ebp + 0x5c]
xor eax, eax
lea edi, [esp + 0xd8]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x54]
mov ecx, dword [ebp + 0x58]
mov dword [esp + 0xe4], eax
mov dword [esp + 0x104], edx
lea eax, [esp + 0xd8]
lea edx, [esp + 0x98]
mov dword [esp + 0x114], 0x3f800000
mov dword [esp + 0x100], 0x3f800000
mov dword [esp + 0xec], 0x3f800000
mov dword [esp + 0xd8], 0x3f800000
mov dword [esp + 0xf4], ecx
call fcn.00440c90
jmp 0x4421f6
lea esi, [ebp + 0x6c]
lea edi, [esp + 0x98]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x120]
test eax, eax
je 0x44220d
lea edx, [esp + 0x98]
call fcn.00440c90
lea esi, [ebp + 0x10]
mov edi, 0x10
mov eax, dword [esi]
test eax, eax
je 0x442231
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x9c]
push edx
push eax
call fcn.004420e0
add esp, 0xc
add esi, 4
dec edi
jne 0x442215
mov eax, dword [ebp + 4]
test eax, eax
je 0x442b6b
mov esi, dword [ebp]
test esi, esi
je 0x442b6b
xor eax, eax
mov ecx, 0x10
lea edi, [esp + 0xd8]
rep stosd dword es:[edi], eax
mov eax, dword [0x479424]
lea edx, [esp + 0x98]
mov dword [esp + 0x114], 0x3f800000
fld dword [eax + 0x30]
mov dword [esp + 0x100], 0x3f800000
fchs
mov dword [esp + 0xec], 0x3f800000
fstp dword [esp + 0xe4]
mov dword [esp + 0xd8], 0x3f800000
fld dword [eax + 0x34]
fchs
fstp dword [esp + 0xf4]
fld dword [eax + 0x38]
lea eax, [esp + 0xd8]
fchs
fstp dword [esp + 0x104]
call fcn.00440c90
mov eax, 0x4793e0
lea edx, [esp + 0x98]
call fcn.00440c90
mov eax, 0x4793e0
lea edx, [esp + 0x40]
call fcn.00440c90
mov eax, dword [ebp + 8]
jmp 0x4422f0
fld dword [esp + 0xa0]
add eax, 0x30
dec esi
fmul dword [eax - 0x28]
fld dword [esp + 0x9c]
fmul dword [eax - 0x2c]
faddp st(1)
fld dword [esp + 0x98]
fmul dword [eax - 0x30]
faddp st(1)
fadd dword [esp + 0xa4]
fstp dword [eax - 0x24]
fld dword [esp + 0xb0]
fmul dword [eax - 0x28]
fld dword [esp + 0xac]
fmul dword [eax - 0x2c]
faddp st(1)
fld dword [esp + 0xa8]
fmul dword [eax - 0x30]
faddp st(1)
fadd dword [esp + 0xb4]
fstp dword [eax - 0x20]
fld dword [esp + 0xc0]
fmul dword [eax - 0x28]
fld dword [esp + 0xbc]
fmul dword [eax - 0x2c]
faddp st(1)
fld dword [esp + 0xb8]
fmul dword [eax - 0x30]
faddp st(1)
fadd dword [esp + 0xc4]
fstp dword [eax - 0x1c]
fld dword [esp + 0x48]
fmul dword [eax - 0x10]
fld dword [esp + 0x44]
fmul dword [eax - 0x14]
faddp st(1)
fld dword [esp + 0x40]
fmul dword [eax - 0x18]
faddp st(1)
fadd dword [esp + 0x4c]
fstp dword [eax - 0xc]
fld dword [esp + 0x58]
fmul dword [eax - 0x10]
fld dword [esp + 0x54]
fmul dword [eax - 0x14]
faddp st(1)
fld dword [esp + 0x50]
fmul dword [eax - 0x18]
faddp st(1)
fadd dword [esp + 0x5c]
fstp dword [eax - 8]
fld dword [esp + 0x60]
fmul dword [eax - 0x18]
fld dword [esp + 0x68]
fmul dword [eax - 0x10]
faddp st(1)
fld dword [esp + 0x64]
fmul dword [eax - 0x14]
faddp st(1)
fadd dword [esp + 0x6c]
fstp dword [eax - 4]
jne 0x4422f0
mov ecx, dword [ebp + 4]
mov edi, dword [0x4835a0]
mov esi, dword [ebp + 0xc]
mov eax, dword [0x4793c4]
add edi, ecx
mov ecx, 0xffffff88
sub ecx, esi
mov dword [0x4835a0], edi
mov edx, dword [ebp + 4]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov ecx, dword [0x4793c8]
lea eax, [eax + eax*2]
mov dword [esp + 0x3c], edx
lea edx, [ecx + eax*4 + 4]
mov dword [esp + 0x38], edx
mov edi, edi
mov al, byte [ebp + 0x50]
test al, al
jne 0x442430
mov ecx, dword [esi + 0x18]
test byte [ecx + 0x4c], 2
je 0x442451
fld dword [esp + 0x48]
fmul dword [esi + 0x14]
fld dword [esp + 0x44]
fmul dword [esi + 0x10]
faddp st(1)
fld dword [esp + 0x40]
fmul dword [esi + 0xc]
faddp st(1)
fadd dword [esp + 0x4c]
fstp dword [esp + 0x10]
test al, al
fld dword [esp + 0x50]
fmul dword [esi + 0xc]
fld dword [esp + 0x58]
fmul dword [esi + 0x14]
faddp st(1)
fld dword [esp + 0x54]
fmul dword [esi + 0x10]
faddp st(1)
fadd dword [esp + 0x5c]
fstp dword [esp + 0x28]
fld dword [esp + 0x60]
fmul dword [esi + 0xc]
fld dword [esp + 0x68]
fmul dword [esi + 0x14]
faddp st(1)
fld dword [esp + 0x64]
fmul dword [esi + 0x10]
faddp st(1)
fadd dword [esp + 0x6c]
fstp dword [esp + 0x24]
je 0x4424c3
mov eax, dword [esi]
fld dword [esp + 0x24]
fmul dword [eax + 0x14]
fld dword [esp + 0x28]
fmul dword [eax + 0x10]
faddp st(1)
fld dword [esp + 0x10]
fmul dword [eax + 0xc]
faddp st(1)
fcomp dword [0x46eaa8]
fnstsw ax
test ah, 5
jp 0x442b3f
mov edx, esi
call fcn.0043d9b0
test eax, eax
je 0x442b3f
cmp eax, 2
mov eax, dword [esp + 0x38]
setne dl
mov byte [eax + 4], dl
mov ecx, dword [esi + 0x18]
mov al, byte [ecx + 0x4c]
test al, 6
je 0x442745
test al, 2
fld dword [esi + 0x74]
je 0x442713
mov eax, dword [0x47943c]
xor ebp, ebp
test eax, eax
jbe 0x442713
mov ecx, dword [0x4793c0]
add ecx, 4
mov edx, dword [0x4793d8]
fld dword [0x46e9a8]
mov edi, dword [edx + ebp*4]
mov bl, byte [edi]
mov dl, bl
and dl, 4
je 0x4425b9
mov eax, dword [esi]
fstp st(0)
fld dword [ecx - 4]
fsub dword [eax + 0xc]
fstp dword [esp + 0x14]
fld dword [ecx]
fsub dword [eax + 0x10]
fstp dword [esp + 0x1c]
fld dword [ecx + 4]
fsub dword [eax + 0x14]
fst dword [esp + 0x20]
fmul dword [esp + 0x20]
fld dword [esp + 0x1c]
fmul dword [esp + 0x1c]
faddp st(1)
fld dword [esp + 0x14]
fmul dword [esp + 0x14]
faddp st(1)
fcom qword [0x46e970]
fnstsw ax
test ah, 0x41
jne 0x442598
fsqrt
fdivr dword [0x46e968]
fld dword [esp + 0x14]
fmul st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x1c]
fmul st(1)
fstp dword [esp + 0x1c]
fmul dword [esp + 0x20]
fstp dword [esp + 0x20]
jmp 0x44259a
fstp st(0)
fld dword [esp + 0x20]
fmul dword [esp + 0x24]
fld dword [esp + 0x1c]
fmul dword [esp + 0x28]
faddp st(1)
fld dword [esp + 0x14]
fmul dword [esp + 0x10]
faddp st(1)
fmul dword [edi + 0x10]
test bl, 2
je 0x4426b1
test dl, dl
fld dword [ecx - 4]
mov eax, dword [esi]
fsub dword [eax + 0xc]
fstp dword [esp + 0x14]
fld dword [ecx]
fsub dword [eax + 0x10]
fstp dword [esp + 0x1c]
fld dword [ecx + 4]
fsub dword [eax + 0x14]
fstp dword [esp + 0x20]
je 0x44265b
fld dword [esp + 0x20]
fmul dword [esp + 0x20]
fld dword [esp + 0x1c]
fmul dword [esp + 0x1c]
faddp st(1)
fld dword [esp + 0x14]
fmul dword [esp + 0x14]
faddp st(1)
fdiv dword [edi + 0x14]
fmul dword [0x46ea88]
fsubr dword [0x46e968]
fstp dword [esp + 0x14]
fld dword [0x46e968]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x442641
fld dword [0x46e9a8]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 5
jp 0x44264e
fld dword [esp + 0x14]
fmul dword [edi + 0x10]
fmulp st(1)
jmp 0x4426b1
fld dword [0x46e968]
fmul dword [edi + 0x10]
fmulp st(1)
jmp 0x4426b1
fld dword [0x46e9a8]
fmul dword [edi + 0x10]
fmulp st(1)
jmp 0x4426b1
fstp st(0)
fld dword [esp + 0x20]
fmul dword [esp + 0x20]
fld dword [esp + 0x1c]
fmul dword [esp + 0x1c]
faddp st(1)
fld dword [esp + 0x14]
fmul dword [esp + 0x14]
faddp st(1)
fdiv dword [edi + 0x14]
fmul dword [0x46ea88]
fsubr dword [0x46e968]
fld dword [0x46e968]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x4426e4
fld dword [0x46e9a8]
fcomp st(1)
fnstsw ax
test ah, 5
jnp 0x4426ae
fstp st(0)
fld dword [0x46e9a8]
fmul dword [edi + 0x10]
cmp bl, 1
jne 0x4426d3
fstp st(0)
fld dword [esp + 0x24]
fmul dword [ecx + 4]
fld dword [esp + 0x10]
fmul dword [ecx - 4]
faddp st(1)
fld dword [esp + 0x28]
fmul dword [ecx]
faddp st(1)
fmul dword [edi + 0x10]
fcom dword [0x46e9a8]
fnstsw ax
test ah, 0x41
jne 0x4426ee
faddp st(1)
jmp 0x442702
fstp st(0)
fld dword [0x46e968]
jmp 0x4426ae
mov eax, dword [esp + 0x11c]
mov dl, byte [eax + 0x51]
test dl, dl
je 0x442700
fsubp st(1)
jmp 0x442702
fstp st(0)
mov eax, dword [0x47943c]
inc ebp
add ecx, 0xc
cmp ebp, eax
jb 0x442510
mov ecx, dword [esi + 0x18]
test byte [ecx + 0x4c], 4
je 0x442740
mov edx, dword [esi + 8]
fld dword [edx + 0x14]
mov eax, dword [esi + 4]
fadd dword [eax + 0x14]
mov edx, dword [esi]
fadd dword [edx + 0x14]
fld dword [ecx + 0x28]
fmul dword [0x46eaac]
fdivp st(1)
fsubr dword [0x46e968]
faddp st(1)
fstp dword [esi + 0x70]
jmp 0x44274c
mov dword [esi + 0x70], 0
test byte [ecx + 0x4d], 2
je 0x442858
mov eax, dword [esi]
fld dword [eax + 0x24]
fmul dword [0x46eaa4]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fistp dword [esp + 0x90]
mov ecx, dword [esp + 0x90]
mov edx, dword [esi]
add ecx, 0x8000
mov dword [esi + 0x58], ecx
fld dword [edx + 0x28]
fmul dword [0x46eaa4]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fistp dword [esp + 0x8c]
mov edi, dword [esp + 0x8c]
mov ecx, dword [esi + 4]
mov eax, 0x8000
sub eax, edi
mov dword [esi + 0x64], eax
fld dword [ecx + 0x24]
fmul dword [0x46eaa4]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fistp dword [esp + 0x88]
mov edx, dword [esp + 0x88]
mov eax, dword [esi + 4]
add edx, 0x8000
mov dword [esi + 0x5c], edx
fld dword [eax + 0x28]
fmul dword [0x46eaa4]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fistp dword [esp + 0x94]
mov edx, dword [esp + 0x94]
mov ecx, 0x8000
sub ecx, edx
mov edx, dword [esi + 8]
mov dword [esi + 0x68], ecx
fld dword [edx + 0x24]
fmul dword [0x46eaa4]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fistp dword [esp + 0x80]
mov eax, dword [esp + 0x80]
mov ecx, dword [esi + 8]
add eax, 0x8000
mov dword [esi + 0x60], eax
fld dword [ecx + 0x28]
fmul dword [0x46eaa4]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fistp dword [esp + 0x84]
mov eax, dword [esp + 0x84]
mov edx, 0x8000
sub edx, eax
mov dword [esi + 0x6c], edx
mov eax, dword [esi + 0x18]
test byte [eax + 0x4c], 0x18
je 0x442b03
lea ecx, [esi + 0x78]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], 3
mov eax, dword [esi + 0x18]
test byte [eax + 0x4c], 8
mov edx, dword [esp + 0x24]
fld dword [edx + 0xc]
je 0x442aa4
mov eax, dword [0x47943c]
test eax, eax
mov dword [esp + 0x28], 0
jbe 0x442aa4
mov eax, dword [esp + 0x34]
mov ecx, edx
mov edx, dword [esp + 0x28]
lea ebp, [eax + ecx]
mov ecx, dword [0x4793c0]
add ecx, 4
jmp 0x4428c0
mov eax, dword [0x4793d8]
fld dword [0x46e9a8]
mov edi, dword [eax + edx*4]
mov bl, byte [edi]
and bl, 4
je 0x442946
mov edx, dword [esi + ebp]
fstp st(0)
fld dword [ecx - 4]
fsub dword [edx + 0xc]
fstp dword [esp + 0x10]
fld dword [ecx]
fsub dword [edx + 0x10]
fld dword [ecx + 4]
fsub dword [edx + 0x14]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld dword [esp + 0x10]
fmul dword [esp + 0x10]
faddp st(1)
fcom qword [0x46e970]
fnstsw ax
test ah, 0x41
jne 0x44292a
fsqrt
fdivr dword [0x46e968]
fld dword [esp + 0x10]
fmul st(1)
fstp dword [esp + 0x10]
fld st(0)
fmulp st(3)
fmulp st(1)
jmp 0x44292c
fstp st(0)
fmul dword [edx + 0x2c]
fxch st(1)
fmul dword [edx + 0x28]
faddp st(1)
fld dword [esp + 0x10]
fmul dword [edx + 0x24]
mov edx, dword [esp + 0x28]
faddp st(1)
fmul dword [edi + 0x10]
mov al, byte [edi]
test al, 2
mov byte [esp + 0x2f], al
je 0x442a3c
test bl, bl
fld dword [ecx - 4]
mov eax, dword [esi + ebp]
fsub dword [eax + 0xc]
fstp dword [esp + 0x10]
fld dword [ecx]
fsub dword [eax + 0x10]
fld dword [ecx + 4]
fsub dword [eax + 0x14]
je 0x4429e2
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld dword [esp + 0x10]
fmul dword [esp + 0x10]
faddp st(1)
fdiv dword [edi + 0x14]
fmul dword [0x46ea88]
fsubr dword [0x46e968]
fstp dword [esp + 0x10]
fstp st(0)
fstp st(0)
fld dword [0x46e968]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x4429c8
fld dword [0x46e9a8]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 5
jp 0x4429d5
fld dword [esp + 0x10]
fmul dword [edi + 0x10]
fmulp st(1)
jmp 0x442a3c
fld dword [0x46e968]
fmul dword [edi + 0x10]
fmulp st(1)
jmp 0x442a3c
fld dword [0x46e9a8]
fmul dword [edi + 0x10]
fmulp st(1)
jmp 0x442a3c
fstp st(0)
fstp st(0)
fstp st(0)
fld dword [esp + 0x20]
fmul dword [esp + 0x20]
fld dword [esp + 0x1c]
fmul dword [esp + 0x1c]
faddp st(1)
fld dword [esp + 0x14]
fmul dword [esp + 0x14]
faddp st(1)
fdiv dword [edi + 0x14]
fmul dword [0x46ea88]
fsubr dword [0x46e968]
fld dword [0x46e968]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x442a71
fld dword [0x46e9a8]
fcomp st(1)
fnstsw ax
test ah, 5
jnp 0x442a39
fstp st(0)
fld dword [0x46e9a8]
fmul dword [edi + 0x10]
cmp byte [esp + 0x2f], 1
jne 0x442a60
mov eax, dword [esi + ebp]
fstp st(0)
fld dword [eax + 0x2c]
fmul dword [ecx + 4]
fld dword [eax + 0x24]
fmul dword [ecx - 4]
faddp st(1)
fld dword [eax + 0x28]
fmul dword [ecx]
faddp st(1)
fmul dword [edi + 0x10]
fcom qword [0x46e9a0]
fnstsw ax
test ah, 0x41
jne 0x442a7b
faddp st(1)
jmp 0x442a8f
fstp st(0)
fld dword [0x46e968]
jmp 0x442a39
mov eax, dword [esp + 0x11c]
mov bl, byte [eax + 0x51]
test bl, bl
je 0x442a8d
fsubp st(1)
jmp 0x442a8f
fstp st(0)
mov eax, dword [0x47943c]
inc edx
add ecx, 0xc
cmp edx, eax
mov dword [esp + 0x28], edx
jb 0x4428c0
mov eax, dword [esi + 0x18]
test byte [eax + 0x4c], 0x10
je 0x442ac2
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx - 0x78]
fld dword [edx + 0x14]
fdiv dword [eax + 0x28]
fsubr dword [0x46e968]
faddp st(1)
fcom dword [0x46e9a8]
fnstsw ax
test ah, 5
jp 0x442ad7
fstp st(0)
fld dword [0x46e9a8]
fcom qword [0x46e9b8]
fnstsw ax
test ah, 0x41
jne 0x442aec
fstp st(0)
fld dword [0x46e968]
mov eax, dword [esp + 0x24]
fstp dword [eax]
add eax, 4
mov dword [esp + 0x24], eax
dec dword [esp + 0x18]
jne 0x442874
mov eax, dword [esi + 8]
fld dword [eax + 0x14]
mov ecx, dword [esi + 4]
fadd dword [ecx + 0x14]
mov edx, dword [esi]
mov eax, dword [esp + 0x38]
mov ebp, dword [esp + 0x11c]
fadd dword [edx + 0x14]
mov edx, dword [esp + 0x30]
mov dword [eax], esi
add eax, 0xc
fstp dword [eax - 0x10]
mov dword [esp + 0x38], eax
mov eax, dword [0x4835a4]
inc edx
inc eax
mov dword [esp + 0x30], edx
mov dword [0x4835a4], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [0x4793c4], eax
mov eax, dword [esp + 0x3c]
sub ecx, 0x90
add esi, 0x90
dec eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], eax
jne 0x442420
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret