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

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x24], edx
lea edx, [esp + 0x10]
mov esi, dword [edi + 0x50]
mov eax, dword [edi + 0x78]
mov dword [edi + 0x14b08], eax
call fcn.0041247a
mov ecx, dword [esp + 0x40]
mov dword [edi + 0x14b08], 1
mov ebx, dword [edi + 0x4c]
mov ebp, ebx
imul ebp, dword [edi + 0x50]
mov dword [ecx], eax
mov ecx, edi
mov eax, dword [edi + 0x1c]
shl eax, 3
mov dword [esp + 0x1c], eax
call fcn.0041251c
sub eax, dword [esp + 0x1c]
cdq
idiv ebp
mov ecx, dword [esp + 0x3c]
mov dword [ecx], eax
mov eax, dword [edi + 0x70]
imul eax, esi
imul eax, eax, 0x8ca00
test byte [edi + 0x14c68], 1
mov dword [esp + 0x10], eax
je 0x43fbc7
fild dword [esp + 0x10]
fmul qword [0x460540]
call fcn.00430da0
cdq
idiv dword [edi + 0x44]
fld dword [0x452178]
sub eax, dword [esp + 0x1c]
cdq
idiv ebp
fsub dword [edi + 0xf8]
mov ecx, eax
mov dword [esp + 0x10], ecx
fmul qword [0x4604b0]
fadd qword [0x460530]
fcom qword [0x460528]
fnstsw ax
test ah, 5
jp 0x43fc05
fstp st(0)
fld dword [str.fff_]
fld1
fcom st(1)
fnstsw ax
test ah, 5
jp 0x43fc14
fstp st(1)
jmp 0x43fc16
fstp st(0)
mov ebp, dword [esp + 0x38]
xor eax, eax
mov dword [esp + 0x18], eax
cmp dword [edi + 0x50], eax
jle 0x43fd75
and dword [esp + 0x3c], eax
mov esi, ebp
fld dword [0x460614]
fld qword [0x460520]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x14], esi
and dword [esp + 0x1c], 0
and dword [esp + 0x20], 0
test ebx, ebx
jle 0x43fd4e
fild dword [esp + 0x10]
fmul st(3)
call fcn.00430da0
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
sub eax, ebp
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
jmp 0x43fc80
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [esi], ebp
mov ecx, ebp
fld dword [eax + esi]
fcom st(2)
fnstsw ax
test ah, 0x41
jne 0x43fcd4
fsub st(2)
fmul st(1)
call fcn.00430da0
mov dword [esi], ebp
mov ecx, eax
cmp dword [ebx + edi + 0x13e8], 2
jne 0x43fcb6
mov eax, dword [esp + 0x10]
cdq
sub eax, edx
sar eax, 1
cmp ecx, eax
jge 0x43fcb6
mov ecx, eax
imul eax, dword [esp + 0x10], 3
cdq
sub eax, edx
sar eax, 1
cmp ecx, eax
jle 0x43fcc8
mov ecx, eax
jmp 0x43fcce
test ecx, ecx
jns 0x43fcce
xor ecx, ecx
add ecx, ebp
mov dword [esi], ecx
jmp 0x43fcd6
fstp st(0)
mov eax, 0xfff
cmp ecx, eax
jle 0x43fce1
mov ecx, eax
mov edx, dword [esp + 0x1c]
add ebx, 0x1484
mov dword [esi], ecx
add edx, ecx
mov ecx, dword [esp + 0x20]
add esi, 4
inc ecx
mov dword [esp + 0x28], ebx
mov ebx, dword [edi + 0x4c]
mov eax, ebx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ecx
cmp ecx, ebx
jl 0x43fc78
mov ebp, dword [esp + 0x38]
cmp edx, 0x1e00
jle 0x43fd42
xor esi, esi
test eax, eax
jle 0x43fd42
mov ecx, dword [esp + 0x14]
mov ebp, edx
imul eax, dword [ecx], 0x1e00
cdq
idiv ebp
inc esi
mov dword [ecx], eax
lea ecx, [ecx + 4]
mov ebx, dword [edi + 0x4c]
cmp esi, ebx
jl 0x43fd28
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
inc eax
add ecx, 0x2908
add esi, 8
mov dword [esp + 0x18], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x14], esi
cmp eax, dword [edi + 0x50]
jl 0x43fc43
mov ecx, dword [esp + 0x10]
fstp st(2)
fstp st(0)
cmp dword [edi + 0x14b14], 2
fstp st(0)
jne 0x43fdba
xor esi, esi
cmp dword [edi + 0x50], esi
jle 0x43fdba
mov ebx, ebp
mov ebp, dword [esp + 0x34]
mov edx, dword [edi + 0x4c]
fld dword [ebp + esi*4]
imul edx, ecx
push 0x1e00
push ecx
mov ecx, ebx
fstp dword [esp]
call fcn.00407700
pop ecx
inc esi
add ebx, 8
pop ecx
mov ecx, dword [esp + 0x10]
cmp esi, dword [edi + 0x50]
jl 0x43fd8d
mov ebp, dword [esp + 0x38]
xor ecx, ecx
xor edx, edx
cmp dword [edi + 0x50], ecx
jle 0x43fdf3
mov esi, ebp
xor ebp, ebp
cmp dword [edi + 0x4c], ebp
jle 0x43fdea
mov eax, esi
mov ebx, dword [eax]
cmp ebx, 0xfff
jle 0x43fddf
mov ebx, 0xfff
mov dword [eax], ebx
add ecx, ebx
add eax, 4
inc ebp
cmp ebp, dword [edi + 0x4c]
jl 0x43fdce
inc edx
add esi, 8
cmp edx, dword [edi + 0x50]
jl 0x43fdc5
mov eax, dword [esp + 0x40]
cmp ecx, dword [eax]
jle 0x43fe4b
test ecx, ecx
jle 0x43fe4b
xor ebx, ebx
mov dword [esp + 0x3c], ebx
cmp dword [edi + 0x50], ebx
jle 0x43fe4b
mov eax, dword [edi + 0x4c]
mov edx, dword [esp + 0x38]
xor ebp, ebp
test eax, eax
jle 0x43fe3a
mov ebx, dword [esp + 0x40]
mov esi, edx
mov eax, dword [esi]
imul eax, dword [ebx]
cdq
idiv ecx
inc ebp
mov dword [esi], eax
lea esi, [esi + 4]
mov eax, dword [edi + 0x4c]
cmp ebp, eax
jl 0x43fe1d
mov ebx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
inc ebx
add edx, 8
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], edx
cmp ebx, dword [edi + 0x50]
jl 0x43fe11
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret