Function at 0x43f640
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 + 0x34]
push edi
mov edi, dword [esp + 0x34]
movzx ebp, byte [esi + 1]
mov dword [esp + 0x10], ebp
mov ecx, dword [edi + 0x54]
mov eax, dword [ecx + 0x10]
lea edx, [eax + ebp*8]
mov eax, dword [edi + 0x64]
mov dword [esp + 0x14], edx
lea ebx, [eax + ebp*4]
je 0x43f702
cmp dword [edi + 0x910], esi
jne 0x43f6c7
movzx eax, word [ebx]
mov ecx, eax
cmp ax, word [edi + 0x914]
jne 0x43f6c7
movzx eax, byte [edi + 0x91c]
movzx ebp, word [edi + 0x918]
mov dword [esp + 0x34], eax
or eax, 0x2900
mov word [edi + 0x7c], ax
mov ax, word [edi + 0x91a]
mov word [edi + 0x78], cx
mov ecx, edi
mov dword [esp + 0x18], ebp
mov word [edi + 0x7a], ax
call fcn.0045b770
mov dword [ebx], eax
mov dword [ebx + 0xc], eax
jmp 0x43f6ea
push 0
lea eax, [esp + 0x24]
push eax
push esi
push edi
call fcn.0043fb40
movzx eax, byte [esp + 0x3c]
add esp, 0x10
mov dword [esp + 0x34], eax
movzx eax, word [esp + 0x28]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x14]
movsd xmm1, qword [ecx + 0x10]
lea eax, [ecx + 0x14]
movaps xmm0, xmm1
addsd xmm0, qword [ecx]
jmp 0x43f7f9
call fcn.00411e10
mov eax, dword [ebx]
and eax, 0x1f000000
cmp eax, 0x13000000
je 0x43f71f
mov dword [esp + 0x34], 0xe
jmp 0x43f730
push dword [esp + 0x14]
push edi
call fcn.0045df20
add esp, 8
mov dword [esp + 0x34], eax
xor esi, esi
cmp dword [ebx + esi*4], 0
jne 0x43f745
lea eax, [esi + ebp]
push eax
push edi
call fcn.00441eb0
add esp, 8
mov ecx, dword [ebx + esi*4]
mov eax, ecx
and eax, 0x1f000000
cmp eax, 0x4000000
jne 0x43f76d
mov word [edi + 0x78], cx
mov ecx, edi
mov dword [edi + 0x7a], 0x5e8e0000
call fcn.0045b770
mov ecx, eax
mov dword [ebx + esi*4], ecx
mov edx, dword [esp + 0x34]
mov eax, ecx
cmp edx, 0x13
jne 0x43f78f
shr eax, 0x18
and eax, 0x1f
sub eax, 0xf
cmp eax, 4
jbe 0x43f7b4
mov dword [edi + 0x7a], 0x5b93326e
jmp 0x43f7a2
and eax, 0x1f000000
cmp eax, 0xe000000
je 0x43f7b4
mov dword [edi + 0x7a], 0x5b0e01d3
mov word [edi + 0x78], cx
mov ecx, edi
call fcn.0045b770
mov edx, dword [esp + 0x34]
mov dword [ebx + esi*4], eax
inc esi
cmp esi, 2
jbe 0x43f732
mov esi, dword [esp + 0x14]
mov eax, dword [ebx]
mov ebp, dword [ebx + 4]
push 1
push dword [ebx + 8]
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x14]
not eax
mov dword [esp + 0x20], ebp
push ebp
shr eax, 0x1f
push eax
push edx
push edi
call fcn.0043f930
mov ecx, esi
lea eax, [esi + 0x14]
mov esi, dword [esp + 0x50]
add esp, 0x18
movsd xmm0, qword [ecx]
movsd xmm1, qword [ecx + 0x10]
cmp dword [eax], 0
lea edx, [edi + 0x58]
movsd xmm2, qword [ecx + 8]
jl 0x43f841
comisd xmm2, xmm0
lea ebp, [edi + 0x6c]
jb 0x43f83a
addsd xmm1, xmm1
xor ecx, ecx
mov eax, 0x280
mov dword [esp + 0x14], eax
addsd xmm1, xmm0
comisd xmm1, xmm2
setbe cl
inc ecx
mov dword [esp + 0x1c], ecx
lea ecx, [esi + 4]
mov dword [esp + 0x3c], ecx
lea ecx, [edi + 0x6c]
jmp 0x43f872
mov eax, 0x380
jmp 0x43f893
comisd xmm0, xmm2
jb 0x43f88b
addsd xmm1, xmm1
xor eax, eax
lea ecx, [edi + 0x6c]
mov ebp, ecx
addsd xmm1, xmm0
comisd xmm2, xmm1
setbe al
inc eax
mov dword [esp + 0x1c], eax
mov eax, 0x180
mov dword [esp + 0x14], eax
lea eax, [esi + 4]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x10]
mov dword [ecx], eax
movzx eax, word [esi + 2]
add esi, 0xfffe0004
lea eax, [esi + eax*4]
mov esi, dword [esp + 0x1c]
jmp 0x43f8b3
mov eax, 0x80
lea ebp, [edi + 0x6c]
mov ecx, dword [esp + 0x10]
xor esi, esi
mov dword [esp + 0x14], eax
add ecx, 4
mov eax, dword [esp + 0x38]
add eax, 4
mov dword [esp + 0x3c], eax
mov eax, ebp
mov dword [eax], ecx
mov eax, dword [esp + 0x3c]
push edi
mov dword [edx], eax
call fcn.004394d0
movzx eax, word [ebx]
add esp, 4
mov ecx, dword [esp + 0x14]
or ecx, dword [esp + 0x34]
mov word [edi + 0x7c], cx
mov ecx, edi
mov word [edi + 0x78], ax
mov eax, dword [esp + 0x18]
mov word [edi + 0x7a], ax
call fcn.0045b770
mov eax, dword [esp + 0x10]
test esi, esi
jne 0x43f90c
mov ecx, dword [esp + 0x38]
mov dword [ebp], eax
movzx eax, word [ecx + 2]
add eax, 0xffff8001
lea eax, [ecx + eax*4]
mov dword [edi + 0x58], eax
mov eax, esi
mov byte [edi + 0x75], 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
add eax, 4
mov dword [ebp], eax
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x58], eax
mov eax, esi
mov byte [edi + 0x75], 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret