Function at 0x43a7e0
Capabilities:
Check for time delay via queryperformancecounter
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x6b4
mov eax, dword [0x4e2204]
xor eax, esp
mov dword [esp + 0x6ac], eax
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea esi, [esp + 0x28]
mov dword [esp + 0x24], edi
call fcn.0044a610
movsd xmm0, qword [0x4d3638]
xor ebx, ebx
movsd qword [edi + 0xdd0], xmm0
movsd qword [edi + 0xdd8], xmm0
cmp byte [edi + 0xf0e], bl
jne 0x43ad25
cmp byte [edi + 0xf0c], bl
jne 0x43a855
movsd xmm0, qword [0x4c8920]
movsd qword [edi + 0xdd0], xmm0
movsd xmm0, qword [0x4d3a90]
movsd qword [edi + 0xdd8], xmm0
push 0x1964
push edi
mov eax, 0x320
call fcn.0043a760
cvtsi2sd xmm0, eax
push 0x186a0
mov ecx, edi
movsd qword [edi + 0xdd0], xmm0
call fcn.0043a640
test al, al
je 0x43a88b
movsd xmm0, qword [0x4d3a90]
jmp 0x43a89f
push 0x186a0
push edi
mov eax, 0x1964
call fcn.0043a760
cvtsi2sd xmm0, eax
movss xmm3, dword [0x4bb568]
movsd qword [edi + 0xdd8], xmm0
movss dword [esp + 0x10], xmm3
movss dword [esp + 0x14], xmm3
movq xmm0, qword [esp + 0x10]
movss dword [esp + 0x18], xmm3
mov eax, dword [esp + 0x18]
movq qword [edi + 0xde0], xmm0
mov dword [edi + 0xde8], eax
xor ebp, ebp
add edi, 0xe70
jmp 0x43a8f8
movss xmm3, dword [0x4bb568]
xorps xmm0, xmm0
xorps xmm1, xmm1
movsd xmm2, qword [0x4bab50]
movsd xmm4, qword [0x4d3638]
mov ecx, ebp
mov dword [esp + 0x20], ecx
fild dword [esp + 0x20]
movsd qword [esp + 0x40], xmm2
movsd qword [esp + 0x48], xmm4
movsd qword [esp + 0x50], xmm0
movsd qword [esp + 0x58], xmm0
movsd qword [esp + 0x60], xmm2
mov dword [esp + 0x68], ebx
movsd qword [esp + 0x70], xmm2
mov byte [esp + 0x78], bl
movss dword [esp + 0x7c], xmm1
movss dword [esp + 0x80], xmm1
movss dword [esp + 0x84], xmm1
movss dword [esp + 0x88], xmm1
movsd qword [esp + 0x90], xmm0
movsd qword [esp + 0x98], xmm0
movsd qword [esp + 0xb0], xmm0
test ecx, ecx
jge 0x43a98a
fadd dword [0x4d3380]
fmul qword [0x4d3840]
push ebx
lea edx, [esp + 0x3c]
push edx
fstp dword [esp + 0xa8]
movss dword [esp + 0xac], xmm3
movss dword [esp + 0xb0], xmm3
mov byte [esp + 0x40], 1
call fcn.00438ff0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0xbc]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call fcn.00459bb0
test eax, eax
je 0x43a9fd
mov esi, dword [esp + 0x10]
cmp esi, ebx
je 0x43a9e3
call fcn.0045f130
mov eax, dword [esp + 0x14]
inc ebp
and eax, 1
mov dword [esp + 0x10], ebx
cmp ebp, 0x100
jb 0x43a8f0
jmp 0x43aa2c
mov dword [esp + 0x20], ebp
fild dword [esp + 0x20]
test ebp, ebp
jge 0x43aa0f
fadd dword [0x4d3380]
fmul qword [0x4d3840]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
fstp dword [ecx + 0xde0]
cmp esi, ebx
je 0x43aa2c
call fcn.0045f130
xor ebp, ebp
movsd xmm1, qword [0x4bab50]
movsd xmm0, qword [0x4d3638]
movsd qword [esp + 0x48], xmm0
xorps xmm0, xmm0
mov edx, ebp
movsd qword [esp + 0x40], xmm1
movsd qword [esp + 0x50], xmm0
movsd qword [esp + 0x58], xmm0
movsd qword [esp + 0x60], xmm1
movsd qword [esp + 0x70], xmm1
xorps xmm1, xmm1
movsd qword [esp + 0x90], xmm0
movsd qword [esp + 0x98], xmm0
movsd qword [esp + 0xb0], xmm0
movss xmm0, dword [0x4bb568]
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
mov dword [esp + 0x68], ebx
mov byte [esp + 0x78], bl
movss dword [esp + 0x7c], xmm1
movss dword [esp + 0x80], xmm1
movss dword [esp + 0x84], xmm1
movss dword [esp + 0x88], xmm1
movss dword [esp + 0xa0], xmm0
test edx, edx
jge 0x43aad1
fadd dword [0x4d3380]
fmul qword [0x4d3840]
push ebx
lea eax, [esp + 0x3c]
push eax
fstp dword [esp + 0xac]
movss dword [esp + 0xb0], xmm0
mov byte [esp + 0x40], 1
call fcn.00438ff0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0xbc]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call fcn.00459bb0
test eax, eax
je 0x43ab3b
mov esi, dword [esp + 0x10]
cmp esi, ebx
je 0x43ab21
call fcn.0045f130
mov eax, dword [esp + 0x14]
inc ebp
and eax, 1
mov dword [esp + 0x10], ebx
cmp ebp, 0x100
jb 0x43aa2e
jmp 0x43ab6a
mov dword [esp + 0x20], ebp
fild dword [esp + 0x20]
test ebp, ebp
jge 0x43ab4d
fadd dword [0x4d3380]
fmul qword [0x4d3840]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
fstp dword [edx + 0xde4]
cmp esi, ebx
je 0x43ab6a
call fcn.0045f130
xor ebp, ebp
movsd xmm1, qword [0x4bab50]
movsd xmm0, qword [0x4d3638]
movsd qword [esp + 0x48], xmm0
xorps xmm0, xmm0
mov eax, ebp
movsd qword [esp + 0x40], xmm1
movsd qword [esp + 0x50], xmm0
movsd qword [esp + 0x58], xmm0
movsd qword [esp + 0x60], xmm1
movsd qword [esp + 0x70], xmm1
xorps xmm1, xmm1
movsd qword [esp + 0x90], xmm0
movsd qword [esp + 0x98], xmm0
movsd qword [esp + 0xb0], xmm0
movss xmm0, dword [0x4bb568]
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
mov dword [esp + 0x68], ebx
mov byte [esp + 0x78], bl
movss dword [esp + 0x7c], xmm1
movss dword [esp + 0x80], xmm1
movss dword [esp + 0x84], xmm1
movss dword [esp + 0x88], xmm1
movss dword [esp + 0xa0], xmm0
movss dword [esp + 0xa4], xmm0
test eax, eax
jge 0x43ac18
fadd dword [0x4d3380]
fmul qword [0x4d3840]
push ebx
lea ecx, [esp + 0x3c]
push ecx
fstp dword [esp + 0xb0]
mov byte [esp + 0x40], 1
call fcn.00438ff0
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0xbc]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call fcn.00459bb0
test eax, eax
je 0x43ac79
mov esi, dword [esp + 0x10]
cmp esi, ebx
je 0x43ac5f
call fcn.0045f130
mov eax, dword [esp + 0x14]
inc ebp
and eax, 1
mov dword [esp + 0x10], ebx
cmp ebp, 0x100
jb 0x43ab6c
jmp 0x43aca8
mov dword [esp + 0x20], ebp
fild dword [esp + 0x20]
test ebp, ebp
jge 0x43ac8b
fadd dword [0x4d3380]
fmul qword [0x4d3840]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
fstp dword [eax + 0xde8]
cmp esi, ebx
je 0x43aca8
call fcn.0045f130
mov ecx, dword [0x566ad8]
or ecx, dword [0x566adc]
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
jne 0x43ad14
call esi
lea edx, [esp + 0x10]
push edx
mov dword [0x566ad8], eax
mov dword [0x566adc], ebx
call edi
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
movsd xmm0, qword [0x4d3448]
lea edx, [esp + 0x10]
push edx
mov dword [0x566ae0], eax
mov dword [0x566ae4], ecx
movsd qword [0x566ae8], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
fild qword [esp + 0x10]
fdivr qword [0x4bab50]
fstp qword [0x566af0]
cmp byte [esp + 0x30], bl
je 0x43ad23
lea eax, [esp + 0x10]
push eax
call edi
jmp 0x43ad25
call esi
mov ecx, dword [esp + 0x6bc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0049ca20
add esp, 0x6b4
ret