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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x74
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x34
push 0
push ebx
mov dword [esp + 0x48], 0xffffff9d
call sub.MSVCRT.dll_memset
mov edi, dword [ebp + 0x10]
add esp, 0xc
mov eax, dword [edi]
mov dword [ebx + 0x24], eax
fild dword [edi]
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fmul qword [0x4a6dd8]
call sub.MSVCRT.dll__CIlog
fstp qword [esp + 0x70]
fld qword [0x4a6dc8]
call sub.MSVCRT.dll__CIlog
fdivr qword [esp + 0x70]
sub esp, 8
fadd qword [0x4a6db8]
fstp qword [esp]
call sub.MSVCRT.dll_floor
fld1
add esp, 8
fsubp st(1)
call fcn.0041b330
fild dword [ebp + 0x18]
mov esi, eax
mov dword [ebx + 0x20], esi
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fstp dword [esp + 0x40]
fild dword [ebp + 0x14]
fstp qword [esp + 0x70]
fld qword [esp + 0x70]
fst qword [esp + 0x68]
fld dword [esp + 0x40]
fmul qword [0x4a6fe8]
fmul qword [0x4a6db8]
fdivrp st(1)
call sub.MSVCRT.dll__CIlog
fmul qword [0x4a7098]
lea ecx, [esi + 1]
mov eax, 1
shl eax, cl
mov dword [esp + 0x50], eax
fsub qword [0x4a70b8]
fild dword [esp + 0x50]
fstp qword [esp + 0x70]
fmul qword [esp + 0x70]
fild dword [edi]
fstp qword [esp + 0x70]
fsub qword [esp + 0x70]
call fcn.0041b330
fild dword [ebp + 0x14]
mov esi, eax
mov dword [ebx + 0x1c], esi
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fadd qword [0x4a6fe8]
fmul dword [esp + 0x40]
fmul qword [0x4a6db8]
fdiv qword [esp + 0x68]
call sub.MSVCRT.dll__CIlog
fmul qword [0x4a7098]
mov eax, 1
mov ecx, dword [ebx + 0x20]
inc ecx
shl eax, cl
mov dword [esp + 0x50], eax
fsub qword [0x4a70b8]
fild dword [esp + 0x50]
fstp qword [esp + 0x70]
fmul qword [esp + 0x70]
fadd qword [0x4a6db8]
call fcn.0041b330
sub eax, esi
mov edi, dword [ebp + 0x14]
inc eax
mov dword [ebx + 0x28], eax
lea esi, [edi*4]
push esi
mov dword [esp + 0x68], esi
call sub.MSVCRT.dll_malloc
push esi
mov dword [ebx + 0x10], eax
call sub.MSVCRT.dll_malloc
push esi
mov dword [ebx + 0x14], eax
call sub.MSVCRT.dll_malloc
fld1
add esp, 0xc
mov dword [ebx + 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebx], edi
mov dword [ebx + 0x2c], eax
fstp dword [ebx + 0x30]
fldz
cmp eax, 0x6590
jl 0x43d547
fstp st(0)
cmp eax, 0x9470
jge 0x43d53a
fld dword [0x4a7060]
jmp 0x43d547
cmp eax, 0xb3b0
jle 0x43d54a
fld dword [0x4a7070]
fstp dword [ebx + 0x30]
fild dword [ebp + 0x18]
xor esi, esi
xor eax, eax
mov dword [esp + 0x38], eax
fstp qword [esp + 0x70]
fld qword [esp + 0x70]
fstp qword [esp + 0x70]
fld qword [0x4a7080]
fld qword [0x4a7090]
inc eax
mov dword [esp + 0x40], eax
fild dword [esp + 0x40]
fstp qword [esp + 0x58]
fld qword [esp + 0x58]
fmulp st(2)
fld qword [0x4a6dc8]
fsubp st(2)
fld qword [0x4a70b8]
faddp st(2)
fmulp st(1)
call sub.MSVCRT.dll__CIexp
fmul qword [0x4a6dc8]
sub esp, 8
fmul qword [esp + 0x70]
fdiv qword [esp + 0x78]
fadd qword [0x4a6db8]
fstp qword [esp]
call sub.MSVCRT.dll_floor
add esp, 8
call fcn.0041b330
mov edx, eax
mov eax, dword [esp + 0x38]
fld dword [eax*4 + 0x4f0ad0]
fstp dword [esp + 0x30]
cmp esi, edx
jge 0x43d708
fld dword [eax*4 + 0x4f0ad4]
mov ecx, edx
fld dword [esp + 0x30]
sub ecx, esi
mov dword [esp + 0x50], ecx
fld st(0)
fsubp st(2)
fild dword [esp + 0x50]
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fdivp st(2)
fxch st(1)
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fld qword [0x4a6038]
cmp ecx, 4
jl 0x43d6d1
lea ecx, [esi + 2]
jmp 0x43d61c
fxch st(2)
cmp esi, edi
jge 0x43d6fe
mov eax, dword [ebx + 0x10]
fld st(2)
fadd st(1)
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fstp dword [eax + esi*4]
fld st(1)
lea eax, [ecx - 1]
faddp st(3)
fxch st(2)
fstp dword [esp + 0x30]
cmp eax, edi
jge 0x43d6ce
fld dword [esp + 0x30]
mov eax, dword [ebx + 0x10]
fld st(0)
fadd st(3)
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fstp dword [eax + esi*4 + 4]
fadd st(1)
fstp dword [esp + 0x30]
cmp ecx, edi
jge 0x43d6c9
fld dword [esp + 0x30]
mov eax, dword [ebx + 0x10]
fld st(0)
fadd st(3)
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fstp dword [eax + esi*4 + 8]
lea eax, [ecx + 1]
fadd st(1)
fstp dword [esp + 0x30]
cmp eax, edi
jge 0x43d6c4
fld dword [esp + 0x30]
add ecx, 4
mov eax, dword [ebx + 0x10]
fld st(0)
fadd st(3)
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fstp dword [eax + esi*4 + 0xc]
add esi, 4
lea eax, [edx - 3]
fadd st(1)
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
cmp esi, eax
jl 0x43d61a
jmp 0x43d6d3
add esi, 3
jmp 0x43d704
add esi, 2
jmp 0x43d704
inc esi
jmp 0x43d704
fxch st(2)
cmp esi, edx
jge 0x43d702
cmp esi, edi
jge 0x43d702
mov eax, dword [ebx + 0x10]
fld st(0)
fadd st(3)
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fstp dword [eax + esi*4]
inc esi
fadd st(1)
fstp dword [esp + 0x30]
cmp esi, edx
jge 0x43d704
fld dword [esp + 0x30]
jmp 0x43d6d7
fstp st(2)
jmp 0x43d704
fstp st(0)
fstp st(0)
fstp st(0)
mov eax, dword [esp + 0x40]
fld qword [0x4a7080]
fld qword [0x4a7090]
mov dword [esp + 0x38], eax
cmp eax, 0x57
jl 0x43d56d
mov dword [esp + 0x38], 0
fstp st(1)
fstp st(0)
test edi, edi
jle 0x43d9b6
mov eax, dword [ebp + 0x18]
lea ecx, [edi + edi]
cdq
idiv ecx
fld qword [0x4a6fc8]
mov ecx, eax
mov dword [esp + 0x34], eax
imul ecx, eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x30], ecx
xor ecx, ecx
mov dword [esp + 0x50], ecx
xor edx, edx
lea esi, [ecx + 1]
fild dword [esp + 0x40]
imul ecx, edx
fstp dword [esp + 0x4c]
fld dword [esp + 0x4c]
fstp dword [esp + 0x44]
mov dword [esp + 0x4c], ecx
fild dword [esp + 0x4c]
fstp dword [esp + 0x4c]
fmul dword [esp + 0x4c]
call sub.MSVCRT.dll__CIatan
fmul qword [0x4a6ff0]
fstp qword [esp + 0x58]
fld dword [esp + 0x44]
fmul qword [0x4a6fe0]
call sub.MSVCRT.dll__CIatan
fmul qword [0x4a6ff8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
fadd qword [esp + 0x58]
mov eax, dword [eax + 0x78]
add eax, ecx
mov dword [esp + 0x48], eax
fld dword [esp + 0x44]
fmul qword [0x4a6fd8]
faddp st(1)
fstp dword [esp + 0x4c]
fld dword [esp + 0x4c]
cmp eax, edx
jge 0x43d89c
mov eax, dword [ebp + 0xc]
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
imul ebx, ecx
fsub dword [eax + 0x70]
mov dword [esp + 0x44], ebx
fstp qword [esp + 0x78]
imul edi, ecx
nop
fild dword [esp + 0x44]
mov eax, edi
imul eax, ecx
fstp dword [esp + 0x44]
fld dword [esp + 0x44]
fstp dword [esp + 0x44]
mov dword [esp + 0x54], eax
fild dword [esp + 0x54]
fstp dword [esp + 0x54]
fld dword [esp + 0x54]
fmul qword [0x4a6fc8]
call sub.MSVCRT.dll__CIatan
fmul qword [0x4a6ff0]
fstp qword [esp + 0x58]
fld dword [esp + 0x44]
fmul qword [0x4a6fe0]
call sub.MSVCRT.dll__CIatan
fmul qword [0x4a6ff8]
mov edx, dword [esp + 0x38]
fadd qword [esp + 0x58]
fld dword [esp + 0x44]
fmul qword [0x4a6fd8]
faddp st(1)
fcomp qword [esp + 0x78]
fnstsw ax
test ah, 5
jp 0x43d894
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x3c]
inc eax
add ebx, dword [esp + 0x34]
inc ecx
add edi, dword [esp + 0x30]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], eax
cmp eax, edx
jl 0x43d800
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x14]
jmp 0x43d89e
fstp st(0)
cmp esi, edi
jg 0x43d970
mov eax, dword [ebp + 0xc]
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov eax, dword [eax + 0x7c]
add eax, edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x34]
imul eax, esi
imul ebx, esi
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
cmp esi, dword [esp + 0x54]
jl 0x43d958
fild dword [esp + 0x48]
mov eax, ebx
imul eax, esi
fstp dword [esp + 0x48]
fld dword [esp + 0x48]
fstp dword [esp + 0x48]
mov dword [esp + 0x58], eax
fild dword [esp + 0x58]
fstp dword [esp + 0x58]
fld dword [esp + 0x58]
fmul qword [0x4a6fc8]
call sub.MSVCRT.dll__CIatan
fmul qword [0x4a6ff0]
fstp qword [esp + 0x78]
fld dword [esp + 0x48]
fmul qword [0x4a6fe0]
call sub.MSVCRT.dll__CIatan
fmul qword [0x4a6ff8]
mov eax, dword [ebp + 0xc]
fadd qword [esp + 0x78]
fld dword [esp + 0x48]
fmul qword [0x4a6fd8]
faddp st(1)
fld dword [eax + 0x74]
fadd dword [esp + 0x4c]
fcompp
fnstsw ax
test ah, 0x41
jne 0x43d96d
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
add eax, ecx
inc esi
add ebx, edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
cmp esi, edi
jle 0x43d8d0
mov ebx, dword [ebp + 8]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov eax, dword [ebx + 0x18]
fld qword [0x4a6fc8]
shl ecx, 0x10
add ecx, 0xfffeffff
add ecx, esi
mov dword [eax + edx*4], ecx
inc edx
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x40]
add ecx, dword [esp + 0x30]
add eax, dword [esp + 0x34]
mov dword [esp + 0x38], edx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x40], eax
cmp edx, edi
jl 0x43d768
fstp st(0)
xor esi, esi
mov dword [esp + 0x38], esi
test edi, edi
jle 0x43da26
fild dword [esp + 0x38]
fstp dword [esp + 0x58]
fld dword [esp + 0x58]
fadd qword [0x4a6fe8]
fmul qword [0x4a6db8]
fmul qword [esp + 0x70]
fdiv qword [esp + 0x68]
call sub.MSVCRT.dll__CIlog
fmul qword [0x4a7098]
mov eax, 1
mov ecx, dword [ebx + 0x20]
inc ecx
shl eax, cl
mov dword [esp + 0x58], eax
fsub qword [0x4a70b8]
fild dword [esp + 0x58]
fstp qword [esp + 0x78]
fmul qword [esp + 0x78]
fadd qword [0x4a6db8]
call fcn.0041b330
mov ecx, dword [ebx + 0x14]
mov dword [ecx + esi*4], eax
inc esi
mov dword [esp + 0x38], esi
cmp esi, edi
jl 0x43d9c0
mov eax, dword [ebp + 0xc]
sub esp, 8
fld dword [eax + 0x1c]
fstp dword [esp + 4]
fld dword [eax + 0x18]
add eax, 0x24
fstp dword [esp]
fld qword [esp + 0x78]
fmul qword [0x4a6db8]
push edi
push ecx
fdiv qword [esp + 0x78]
fstp dword [esp + 0x68]
fld dword [esp + 0x68]
fstp dword [esp]
push eax
call fcn.0043f310
push 0xc
mov dword [ebx + 8], eax
call sub.MSVCRT.dll_malloc
mov edi, dword [esp + 0x7c]
add esp, 0x18
mov dword [ebx + 0xc], eax
xor esi, esi
push edi
call sub.MSVCRT.dll_malloc
mov ecx, dword [ebx + 0xc]
add esp, 4
mov dword [esi + ecx], eax
add esi, 4
cmp esi, 0xc
jl 0x43da73
mov edi, dword [ebp + 0x14]
xor esi, esi
mov dword [esp + 0x38], esi
test edi, edi
jle 0x43dbc5
fld qword [esp + 0x68]
fmul qword [0x4a6dc8]
fst qword [esp + 0x68]
fild dword [esp + 0x38]
fstp qword [esp + 0x78]
fld qword [esp + 0x78]
fadd qword [0x4a6db8]
fmul qword [esp + 0x70]
fdivrp st(1)
call sub.MSVCRT.dll__CIlog
fmul qword [0x4a7098]
fsub qword [0x4a70b8]
fmul qword [0x4a6dc8]
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fldz
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x43daf7
fstp st(1)
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
jmp 0x43db16
fstp st(0)
fld dword [0x4a70d8]
fcom st(1)
fnstsw ax
test ah, 0x41
jp 0x43db14
fstp st(1)
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
jmp 0x43db16
fstp st(0)
fld st(0)
call fcn.0041b330
mov edx, eax
mov dword [esp + 0x64], edx
fild dword [esp + 0x64]
fstp dword [esp + 0x64]
fsub dword [esp + 0x64]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 0xc]
fstp dword [esp + 0x64]
fld dword [esp + 0x64]
fld st(0)
mov eax, dword [eax]
fld1
fsubrp st(1)
fld dword [ecx + edx*4 + 0x88]
fmul st(2)
fld dword [ecx + edx*4 + 0x84]
fmul st(2)
faddp st(1)
fstp dword [esp + 0x64]
fld dword [esp + 0x64]
fstp dword [eax + esi*4]
mov eax, dword [ebx + 4]
fld dword [eax + edx*4 + 0xcc]
fmul st(2)
fld dword [eax + edx*4 + 0xc8]
mov eax, dword [ebx + 0xc]
fmul st(2)
mov eax, dword [eax + 4]
faddp st(1)
fstp dword [esp + 0x64]
fld dword [esp + 0x64]
fstp dword [eax + esi*4]
mov eax, dword [ebx + 4]
fld dword [eax + edx*4 + 0x110]
fmulp st(2)
fmul dword [eax + edx*4 + 0x10c]
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 8]
faddp st(1)
fstp dword [esp + 0x64]
fld dword [esp + 0x64]
fstp dword [eax + esi*4]
fld qword [esp + 0x68]
inc esi
mov dword [esp + 0x38], esi
cmp esi, edi
jl 0x43daa9
fstp st(0)
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret