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

Disassembly:
sub esp, 0x20
cmp dword [esp + 0x2c], 0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
push edi
mov edi, dword [esp + 0x38]
mov ecx, dword [esi + 0x54]
movzx ebp, byte [edi + 1]
mov dword [esp + 0x14], ebp
mov eax, dword [ecx + 0x10]
lea edx, [eax + ebp*8]
mov eax, dword [esi + 0x64]
mov dword [esp + 0x10], edx
lea ebx, [eax + ebp*4]
je 0x43f8b0
cmp dword [esi + 0x910], edi
jne 0x43f877
movzx eax, word [ebx]
mov ecx, eax
cmp ax, word [esi + 0x914]
jne 0x43f877
movzx eax, byte [esi + 0x91c]
movzx ebp, word [esi + 0x918]
mov dword [esp + 0x3c], eax
or eax, 0x2900
mov word [esi + 0x7c], ax
mov ax, word [esi + 0x91a]
mov word [esi + 0x78], cx
mov ecx, esi
mov dword [esp + 0x18], ebp
mov word [esi + 0x7a], ax
call fcn.0045ba20
mov dword [ebx], eax
mov dword [ebx + 0xc], eax
jmp 0x43f89a
push 0
lea eax, [esp + 0x24]
push eax
push edi
push esi
call fcn.0043fcf0
movzx eax, byte [esp + 0x3c]
add esp, 0x10
mov dword [esp + 0x3c], eax
movzx eax, word [esp + 0x28]
mov dword [esp + 0x18], eax
mov ebp, dword [esp + 0x10]
movsd xmm0, qword [ebp + 0x10]
movaps xmm1, xmm0
addsd xmm1, qword [ebp]
jmp 0x43f9a3
call fcn.00411e10
mov eax, dword [ebx]
and eax, 0x1f000000
cmp eax, 0x13000000
je 0x43f8cd
mov dword [esp + 0x3c], 0xe
jmp 0x43f8de
push dword [esp + 0x10]
push esi
call fcn.0045e100
add esp, 8
mov dword [esp + 0x3c], eax
xor edi, edi
cmp dword [ebx + edi*4], 0
jne 0x43f8f3
lea eax, [edi + ebp]
push eax
push esi
call fcn.00442090
add esp, 8
mov ecx, dword [ebx + edi*4]
mov eax, ecx
and eax, 0x1f000000
cmp eax, 0x4000000
jne 0x43f91b
mov word [esi + 0x78], cx
mov ecx, esi
mov dword [esi + 0x7a], 0x5e8e0000
call fcn.0045ba20
mov ecx, eax
mov dword [ebx + edi*4], ecx
mov edx, dword [esp + 0x3c]
mov eax, ecx
cmp edx, 0x13
jne 0x43f93d
shr eax, 0x18
and eax, 0x1f
sub eax, 0xf
cmp eax, 4
jbe 0x43f962
mov dword [esi + 0x7a], 0x5b93326e
jmp 0x43f950
and eax, 0x1f000000
cmp eax, 0xe000000
je 0x43f962
mov dword [esi + 0x7a], 0x5b0e01d3
mov word [esi + 0x78], cx
mov ecx, esi
call fcn.0045ba20
mov edx, dword [esp + 0x3c]
mov dword [ebx + edi*4], eax
inc edi
cmp edi, 2
jbe 0x43f8e0
mov ebp, dword [ebx + 4]
mov eax, dword [ebx]
push 1
push dword [ebx + 8]
mov dword [esp + 0x20], ebp
push ebp
mov ebp, dword [esp + 0x1c]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp + 0x14]
not eax
shr eax, 0x1f
push eax
push edx
push esi
call fcn.0043fae0
movsd xmm1, qword [ebp]
add esp, 0x18
movsd xmm0, qword [ebp + 0x10]
mov edi, dword [esp + 0x38]
cmp dword [ebp + 0x14], 0
lea edx, [esi + 0x58]
movsd xmm2, qword [ebp + 8]
jl 0x43f9ec
comisd xmm2, xmm1
lea ebp, [esi + 0x6c]
jb 0x43f9e5
addsd xmm0, xmm0
xor ecx, ecx
mov eax, 0x280
mov dword [esp + 0x10], eax
addsd xmm0, xmm1
comisd xmm0, xmm2
setbe cl
inc ecx
mov dword [esp + 0x34], ecx
lea ecx, [edi + 4]
mov dword [esp + 0x1c], ecx
lea ecx, [esi + 0x6c]
jmp 0x43fa1d
mov eax, 0x380
jmp 0x43fa3e
comisd xmm1, xmm2
jb 0x43fa36
addsd xmm0, xmm0
xor eax, eax
lea ecx, [esi + 0x6c]
mov ebp, ecx
addsd xmm0, xmm1
comisd xmm2, xmm0
setbe al
inc eax
mov dword [esp + 0x34], eax
mov eax, 0x180
mov dword [esp + 0x10], eax
lea eax, [edi + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
mov dword [ecx], eax
movzx ecx, word [edi + 2]
add edi, 0xfffe0004
lea ecx, [edi + ecx*4]
mov edi, dword [esp + 0x34]
jmp 0x43fa5e
mov eax, 0x80
lea ebp, [esi + 0x6c]
mov ecx, dword [esp + 0x38]
mov esi, ebp
mov dword [esp + 0x10], eax
add ecx, 4
mov eax, dword [esp + 0x14]
xor edi, edi
add eax, 4
mov dword [esp + 0x1c], ecx
mov dword [esi], eax
mov esi, dword [esp + 0x34]
push esi
mov dword [edx], ecx
call fcn.004394e0
movzx eax, word [ebx]
add esp, 4
mov ecx, dword [esp + 0x10]
or ecx, dword [esp + 0x3c]
mov word [esi + 0x7c], cx
mov ecx, esi
mov word [esi + 0x78], ax
mov eax, dword [esp + 0x18]
mov word [esi + 0x7a], ax
call fcn.0045ba20
test edi, edi
jne 0x43fab7
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x14]
mov dword [ebp], eax
movzx eax, word [ecx + 2]
add eax, 0xffff8001
lea eax, [ecx + eax*4]
mov dword [esi + 0x58], eax
mov eax, edi
pop edi
mov byte [esi + 0x75], 1
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
add ecx, 4
mov dword [ebp], ecx
mov dword [esi + 0x58], eax
mov eax, edi
pop edi
mov byte [esi + 0x75], 1
pop esi
pop ebp
pop ebx
add esp, 0x20
ret