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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
fld qword [0x458488]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
xor eax, eax
mov al, byte [esi]
inc esi
push edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
cmp eax, 0xff
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0x3fee0000
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0x3ffcc000
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0xbfea0000
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0x3ff88000
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0xbfeb8000
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0x3ffe8000
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0xbfee0000
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
je 0x435e89
jmp 0x435b8d
mov ebx, dword [esp + 0x28]
mov ecx, dword [ebp + 0x10]
xor eax, eax
mov al, byte [esi]
inc esi
mov edi, eax
and edi, 0xf
sar eax, 4
cmp ecx, 2
jne 0x435d93
xor ecx, ecx
mov cl, byte [esi + 1]
add esi, 2
mov dword [esp + 0x14], ebx
mov dword [esp + 0x24], 0xe
mov edx, ecx
and edx, 0xf
sar ecx, 4
shl eax, 4
mov dword [esp + 0x44], edx
mov dword [esp + 0xac], ecx
lea ecx, [esp + eax + 0x50]
lea edx, [esp + eax + 0x48]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x2c]
xor ebx, ebx
mov bl, byte [esi]
mov cx, di
inc esi
mov eax, ebx
shl eax, 0xc
sar ax, cl
movsx ecx, ax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fld st(1)
fmul qword [edx]
faddp st(1)
fld qword [esp + 0x30]
fmul qword [eax]
faddp st(1)
fstp qword [esp + 0x18]
fstp qword [esp + 0x30]
fld qword [esp + 0x18]
fld qword [esp + 0x18]
fadd qword [0x458628]
call sub.MSVCRT.dll__ftol
mov ecx, dword [esp + 0x14]
xor edx, edx
and bl, 0xf0
mov dh, bl
mov word [ecx], ax
mov cx, di
sar dx, cl
mov ecx, dword [esp + 0x2c]
movsx eax, dx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fld qword [esp + 0x18]
fmul qword [ecx]
faddp st(1)
fld qword [esp + 0x30]
fmul qword [edx]
faddp st(1)
fstp qword [esp + 0x18]
fstp qword [esp + 0x30]
fld qword [esp + 0x18]
fld qword [esp + 0x18]
fadd qword [0x458628]
call sub.MSVCRT.dll__ftol
mov ecx, dword [esp + 0x14]
mov word [ecx + 4], ax
mov eax, dword [esp + 0x24]
add ecx, 8
dec eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], eax
jne 0x435be0
mov eax, dword [esp + 0xac]
fld qword [esp + 0xa0]
shl eax, 4
lea ecx, [esp + eax + 0x50]
lea edx, [esp + eax + 0x48]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], edx
lea edi, [eax + 6]
mov dword [esp + 0x20], 0xe
mov cx, word [esp + 0x44]
xor ebx, ebx
mov bl, byte [esi]
inc esi
mov edx, ebx
shl edx, 0xc
sar dx, cl
mov ecx, dword [esp + 0x24]
movsx eax, dx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fld st(1)
fmul qword [ecx]
faddp st(1)
fld qword [esp + 0x38]
fmul qword [edx]
faddp st(1)
fstp qword [esp + 0x18]
fstp qword [esp + 0x38]
fld qword [esp + 0x18]
fld qword [esp + 0x18]
fadd qword [0x458628]
call sub.MSVCRT.dll__ftol
mov cx, word [esp + 0x44]
mov edx, dword [esp + 0x24]
mov word [edi - 4], ax
xor eax, eax
and bl, 0xf0
mov ah, bl
sar ax, cl
movsx ecx, ax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fld qword [esp + 0x18]
fmul qword [edx]
faddp st(1)
fld qword [esp + 0x38]
fmul qword [eax]
faddp st(1)
fstp qword [esp + 0x18]
fstp qword [esp + 0x38]
fld qword [esp + 0x18]
fld qword [esp + 0x18]
fadd qword [0x458628]
call sub.MSVCRT.dll__ftol
mov word [edi], ax
mov eax, dword [esp + 0x20]
add edi, 8
dec eax
mov dword [esp + 0x20], eax
jne 0x435ccc
mov eax, dword [esp + 0x28]
fstp qword [esp + 0xa0]
add eax, 0x70
jmp 0x435e75
shl eax, 4
lea ecx, [esp + eax + 0x50]
lea edx, [esp + eax + 0x48]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x24], 0xe
mov edx, dword [esp + 0x2c]
xor ebx, ebx
mov bl, byte [esi]
mov cx, di
inc esi
mov eax, ebx
shl eax, 0xc
sar ax, cl
movsx ecx, ax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fld st(1)
fmul qword [edx]
faddp st(1)
fld qword [esp + 0x30]
fmul qword [eax]
faddp st(1)
fstp qword [esp + 0x18]
fstp qword [esp + 0x30]
fld qword [esp + 0x18]
fld qword [esp + 0x18]
fadd qword [0x458628]
call sub.MSVCRT.dll__ftol
mov ecx, dword [esp + 0x14]
xor edx, edx
and bl, 0xf0
mov dh, bl
mov word [ecx], ax
mov cx, di
sar dx, cl
mov ecx, dword [esp + 0x2c]
movsx eax, dx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fld qword [esp + 0x18]
fmul qword [ecx]
faddp st(1)
fld qword [esp + 0x30]
fmul qword [edx]
faddp st(1)
fstp qword [esp + 0x18]
fstp qword [esp + 0x30]
fld qword [esp + 0x18]
fld qword [esp + 0x18]
fadd qword [0x458628]
call sub.MSVCRT.dll__ftol
mov ecx, dword [esp + 0x14]
mov word [ecx + 2], ax
mov eax, dword [esp + 0x24]
add ecx, 4
dec eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], eax
jne 0x435db2
mov eax, dword [esp + 0x28]
add eax, 0x38
mov dword [esp + 0x28], eax
xor eax, eax
mov al, byte [esi]
inc esi
cmp eax, 0xff
jne 0x435b89
pop edi
fstp st(0)
pop esi
pop ebx
mov esp, ebp
pop ebp
ret