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

Disassembly:
sub esp, 0x108
push ebp
mov ebp, dword [esp + 0x110]
mov al, byte [ebp + 0x52]
test al, al
push esi
push edi
mov dword [esp + 0xc], 0
je 0x43a469
mov eax, dword [ebp + 0x60]
push eax
lea ecx, [esp + 0x40]
push 1
push ecx
call fcn.00438e70
mov edx, dword [ebp + 0x64]
push edx
lea eax, [esp + 0xe4]
push 2
push eax
call fcn.00438e70
lea ecx, [esp + 0xec]
push ecx
lea edx, [esp + 0x58]
push edx
call fcn.00438f30
mov eax, dword [ebp + 0x68]
push eax
lea ecx, [esp + 0xf8]
push 3
push ecx
call fcn.00438e70
lea edx, [esp + 0x100]
push edx
lea eax, [esp + 0x6c]
push eax
call fcn.00438f30
add esp, 0x34
lea esi, [esp + 0x3c]
lea edi, [esp + 0x94]
jmp 0x43a473
lea esi, [ebp + 0xac]
lea edi, [esp + 0x3c]
mov eax, dword [esp + 0x120]
test eax, eax
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
je 0x43a493
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.00438f30
add esp, 8
mov al, byte [ebp + 0x52]
test al, al
je 0x43a4cd
mov edx, dword [ebp + 0x5c]
mov eax, dword [ebp + 0x58]
mov ecx, dword [ebp + 0x54]
push edx
push eax
push ecx
lea edx, [esp + 0xe0]
push edx
call fcn.00438ef0
lea eax, [esp + 0xe4]
push eax
lea ecx, [esp + 0xa8]
push ecx
call fcn.00438f30
add esp, 0x18
jmp 0x43a4de
lea esi, [ebp + 0x6c]
mov ecx, 0x10
lea edi, [esp + 0x94]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x11c]
test eax, eax
je 0x43a4fa
push eax
lea edx, [esp + 0x98]
push edx
call fcn.00438f30
add esp, 8
lea esi, [ebp + 0x10]
mov edi, 0x10
mov eax, dword [esi]
test eax, eax
je 0x43a51e
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x98]
push edx
push eax
call fcn.0043a3e0
add esp, 0xc
add esi, 4
dec edi
jne 0x43a502
mov eax, dword [ebp + 4]
test eax, eax
je 0x43ae47
cmp dword [ebp], 0
je 0x43ae47
mov eax, dword [0x4a8da4]
fld dword [eax + 0x38]
sub esp, 0xc
fchs
fstp dword [esp + 8]
fld dword [eax + 0x34]
fchs
fstp dword [esp + 4]
fld dword [eax + 0x30]
lea eax, [esp + 0xe0]
fchs
fstp dword [esp]
push eax
call fcn.00438ef0
lea ecx, [esp + 0xe4]
push ecx
lea edx, [esp + 0xa8]
push edx
call fcn.00438f30
lea eax, [esp + 0xac]
push 0x4a8d60
push eax
call fcn.00438f30
lea ecx, [esp + 0x5c]
push 0x4a8d60
push ecx
call fcn.00438f30
mov ecx, dword [ebp]
mov eax, dword [ebp + 8]
add esp, 0x28
jmp 0x43a5b0
fld dword [esp + 0x9c]
add eax, 0x30
dec ecx
fmul dword [eax - 0x28]
fld dword [esp + 0x98]
fmul dword [eax - 0x2c]
faddp st(1)
fld dword [esp + 0x94]
fmul dword [eax - 0x30]
faddp st(1)
fadd dword [esp + 0xa0]
fstp dword [eax - 0x24]
fld dword [esp + 0xac]
fmul dword [eax - 0x28]
fld dword [esp + 0xa8]
fmul dword [eax - 0x2c]
faddp st(1)
fld dword [esp + 0xa4]
fmul dword [eax - 0x30]
faddp st(1)
fadd dword [esp + 0xb0]
fstp dword [eax - 0x20]
fld dword [esp + 0xbc]
fmul dword [eax - 0x28]
fld dword [esp + 0xb8]
fmul dword [eax - 0x2c]
faddp st(1)
fld dword [esp + 0xb4]
fmul dword [eax - 0x30]
faddp st(1)
fadd dword [esp + 0xc0]
fstp dword [eax - 0x1c]
fld dword [esp + 0x44]
fmul dword [eax - 0x10]
fld dword [esp + 0x40]
fmul dword [eax - 0x14]
faddp st(1)
fld dword [esp + 0x3c]
fmul dword [eax - 0x18]
faddp st(1)
fadd dword [esp + 0x48]
fstp dword [eax - 0xc]
fld dword [esp + 0x54]
fmul dword [eax - 0x10]
fld dword [esp + 0x50]
fmul dword [eax - 0x14]
faddp st(1)
fld dword [esp + 0x4c]
fmul dword [eax - 0x18]
faddp st(1)
fadd dword [esp + 0x58]
fstp dword [eax - 8]
fld dword [esp + 0x5c]
fmul dword [eax - 0x18]
fld dword [esp + 0x64]
fmul dword [eax - 0x10]
faddp st(1)
fld dword [esp + 0x60]
fmul dword [eax - 0x14]
faddp st(1)
fadd dword [esp + 0x68]
fstp dword [eax - 4]
jne 0x43a5b0
mov edx, dword [ebp + 4]
mov eax, dword [0x4b1580]
mov ecx, dword [0x4a8d48]
mov esi, dword [ebp + 0xc]
add eax, edx
mov dword [0x4b1580], eax
mov eax, dword [ebp + 4]
push ebx
mov ebx, ecx
add ecx, eax
mov dword [esp + 0x3c], eax
lea edi, [ebx + ebx*2]
shl edi, 2
mov eax, 0xffffff88
sub eax, esi
mov dword [esp + 0x30], ebx
mov dword [0x4a8d48], ecx
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], eax
mov al, byte [ebp + 0x50]
test al, al
jne 0x43a6f1
mov ecx, dword [esi + 0x18]
test byte [ecx + 0x4c], 2
je 0x43a712
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 + 0x68]
fmul dword [esi + 0x14]
fld dword [esp + 0x64]
fmul dword [esi + 0x10]
faddp st(1)
fld dword [esp + 0x60]
fmul dword [esi + 0xc]
faddp st(1)
fadd dword [esp + 0x6c]
fstp dword [esp + 0x24]
je 0x43a784
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 [0x48e4f4]
fnstsw ax
test ah, 5
jp 0x43ae1d
push esi
call fcn.00435d10
add esp, 4
test eax, eax
je 0x43ae1d
cmp eax, 2
mov eax, dword [0x4a8d4c]
setne dl
mov byte [edi + eax + 8], dl
mov ecx, dword [esi + 0x18]
mov al, byte [ecx + 0x4c]
test al, 6
je 0x43aa15
test al, 2
fld dword [esi + 0x74]
je 0x43a9e3
mov eax, dword [0x4a8dbc]
xor ebp, ebp
test eax, eax
jbe 0x43a9e3
mov ecx, dword [0x4a8d44]
add ecx, 4
jmp 0x43a7e0
mov edx, dword [0x4a8d5c]
fld dword [0x48b028]
mov edi, dword [edx + ebp*4]
mov bl, byte [edi]
mov dl, bl
and dl, 4
je 0x43a889
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 [0x48e4d8]
fnstsw ax
test ah, 0x41
jne 0x43a868
fsqrt
fdivr dword [0x48a9bc]
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 0x43a86a
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 0x43a981
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 0x43a92b
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 [0x4883a8]
fsubr dword [0x48a9bc]
fstp dword [esp + 0x14]
fld dword [0x48a9bc]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x43a911
fld dword [0x48b028]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 5
jp 0x43a91e
fld dword [esp + 0x14]
fmul dword [edi + 0x10]
fmulp st(1)
jmp 0x43a981
fld dword [0x48a9bc]
fmul dword [edi + 0x10]
fmulp st(1)
jmp 0x43a981
fld dword [0x48b028]
fmul dword [edi + 0x10]
fmulp st(1)
jmp 0x43a981
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 [0x4883a8]
fsubr dword [0x48a9bc]
fld dword [0x48a9bc]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x43a9b4
fld dword [0x48b028]
fcomp st(1)
fnstsw ax
test ah, 5
jnp 0x43a97e
fstp st(0)
fld dword [0x48b028]
fmul dword [edi + 0x10]
cmp bl, 1
jne 0x43a9a3
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 [0x48b028]
fnstsw ax
test ah, 0x41
jne 0x43a9be
faddp st(1)
jmp 0x43a9d2
fstp st(0)
fld dword [0x48a9bc]
jmp 0x43a97e
mov eax, dword [esp + 0x11c]
mov dl, byte [eax + 0x51]
test dl, dl
je 0x43a9d0
fsubp st(1)
jmp 0x43a9d2
fstp st(0)
mov eax, dword [0x4a8dbc]
inc ebp
add ecx, 0xc
cmp ebp, eax
jb 0x43a7e0
mov ecx, dword [esi + 0x18]
test byte [ecx + 0x4c], 4
je 0x43aa10
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 [0x48e4f0]
fdivp st(1)
fsubr dword [0x48a9bc]
faddp st(1)
fstp dword [esi + 0x70]
jmp 0x43aa1c
mov dword [esi + 0x70], 0
test byte [ecx + 0x4d], 2
je 0x43ab28
mov eax, dword [esi]
fld dword [eax + 0x24]
fmul dword [0x48e4ec]
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 [0x48e4ec]
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 [0x48e4ec]
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 [0x48e4ec]
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 [0x48e4ec]
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 [0x48e4ec]
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 0x43add3
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 0x43ad74
mov eax, dword [0x4a8dbc]
test eax, eax
mov dword [esp + 0x28], 0
jbe 0x43ad74
mov eax, dword [esp + 0x34]
mov ecx, edx
mov edx, dword [esp + 0x28]
lea ebp, [eax + ecx]
mov ecx, dword [0x4a8d44]
add ecx, 4
jmp 0x43ab90
mov eax, dword [0x4a8d5c]
fld dword [0x48b028]
mov edi, dword [eax + edx*4]
mov bl, byte [edi]
and bl, 4
je 0x43ac16
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 [0x48e4d8]
fnstsw ax
test ah, 0x41
jne 0x43abfa
fsqrt
fdivr dword [0x48a9bc]
fld dword [esp + 0x10]
fmul st(1)
fstp dword [esp + 0x10]
fld st(0)
fmulp st(3)
fmulp st(1)
jmp 0x43abfc
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 0x43ad0c
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 0x43acb2
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 [0x4883a8]
fsubr dword [0x48a9bc]
fstp dword [esp + 0x10]
fstp st(0)
fstp st(0)
fld dword [0x48a9bc]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x43ac98
fld dword [0x48b028]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 5
jp 0x43aca5
fld dword [esp + 0x10]
fmul dword [edi + 0x10]
fmulp st(1)
jmp 0x43ad0c
fld dword [0x48a9bc]
fmul dword [edi + 0x10]
fmulp st(1)
jmp 0x43ad0c
fld dword [0x48b028]
fmul dword [edi + 0x10]
fmulp st(1)
jmp 0x43ad0c
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 [0x4883a8]
fsubr dword [0x48a9bc]
fld dword [0x48a9bc]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x43ad41
fld dword [0x48b028]
fcomp st(1)
fnstsw ax
test ah, 5
jnp 0x43ad09
fstp st(0)
fld dword [0x48b028]
fmul dword [edi + 0x10]
cmp byte [esp + 0x2f], 1
jne 0x43ad30
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 [0x48c2c0]
fnstsw ax
test ah, 0x41
jne 0x43ad4b
faddp st(1)
jmp 0x43ad5f
fstp st(0)
fld dword [0x48a9bc]
jmp 0x43ad09
mov eax, dword [esp + 0x11c]
mov bl, byte [eax + 0x51]
test bl, bl
je 0x43ad5d
fsubp st(1)
jmp 0x43ad5f
fstp st(0)
mov eax, dword [0x4a8dbc]
inc edx
add ecx, 0xc
cmp edx, eax
mov dword [esp + 0x28], edx
jb 0x43ab90
mov eax, dword [esi + 0x18]
test byte [eax + 0x4c], 0x10
je 0x43ad92
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx - 0x78]
fld dword [edx + 0x14]
fdiv dword [eax + 0x28]
fsubr dword [0x48a9bc]
faddp st(1)
fcom dword [0x48b028]
fnstsw ax
test ah, 5
jp 0x43ada7
fstp st(0)
fld dword [0x48b028]
fcom qword [0x486c20]
fnstsw ax
test ah, 0x41
jne 0x43adbc
fstp st(0)
fld dword [0x48a9bc]
mov eax, dword [esp + 0x24]
fstp dword [eax]
add eax, 4
mov dword [esp + 0x24], eax
dec dword [esp + 0x18]
jne 0x43ab44
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 ecx, dword [0x4a8d4c]
fadd dword [edx + 0x14]
mov edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x11c]
mov dword [eax + ecx + 4], esi
fstp dword [eax + ecx]
add eax, 0xc
mov dword [esp + 0x38], eax
mov eax, dword [0x4b1584]
mov edi, dword [esp + 0x38]
inc edx
inc eax
mov dword [esp + 0x30], edx
mov dword [0x4b1584], eax
mov ebx, edx
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x3c]
sub ecx, 0x90
add esi, 0x90
dec eax
mov dword [0x4a8d48], ebx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], eax
jne 0x43a6e1
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x108
ret