Function at 0x43b0f0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x519008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor eax, eax
lea ebx, [esi + 0x97c]
mov dword [ebp - 0x44], esi
push edi
xor edi, edi
mov dword [esi + 0x96c], 0x6a
mov word [esi + 0x970], 0
mov dword [ebx], eax
mov dword [ebx + 4], eax
cmp dword [esi + 0xaa8], eax
jbe 0x43b18c
movzx eax, word [esi + 0x974]
xor edx, edx
push eax
movzx eax, byte [esi + 0x971]
push eax
movzx eax, byte [esi + 0x970]
push eax
mov eax, dword [esi + 0xa9c]
push dword [esi + 0x96c]
push dword [esi + 4]
mov ecx, dword [eax + edi*4]
add ecx, 4
call fcn.00438230
mov eax, dword [esi + 0xa9c]
add esp, 0x14
xor edx, edx
mov ecx, dword [eax + edi*4]
push ebx
push dword [esi + 4]
add ecx, 4
call fcn.00437de0
inc edi
add esp, 8
cmp edi, dword [esi + 0xaa8]
jb 0x43b132
movzx eax, byte [esi + 0xbb9]
xor bl, bl
imul ecx, eax, 0x3e8
mov al, byte [esi + 0xbb8]
mov byte [ebp - 0x4c], al
mov eax, 0x51eb851f
mov word [ebp - 0x4a], 1
mov byte [ebp - 0x34], 0xc
mul ecx
mov dword [ebp - 0x50], ecx
xor cl, cl
shr edx, 5
mov byte [ebp - 0x4b], dl
xor dl, dl
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x33], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x11], eax
mov al, byte [ebp - 0x30]
mov byte [ebp - 0xd], al
xor eax, eax
mov word [ebp - 0x14], 0x5023
mov byte [ebp - 0x12], 9
add cl, byte [ebp + eax - 0x14]
add dl, byte [ebp + eax - 0x13]
add eax, 2
cmp eax, 7
jb 0x43b1e0
cmp eax, 8
jae 0x43b1f9
mov bl, byte [ebp + eax - 0x14]
push 0
push 0xfa0
push dword [esi + 4]
add cl, dl
mov dword [ebp - 0x48], 0x800
add cl, bl
lea edx, [ebp - 0x48]
push edx
mov byte [ebp - 0xc], cl
lea eax, [esi + 0xe4]
mov ecx, dword [esi + 8]
push eax
push 9
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test al, al
je 0x43b391
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push dword [0x51dbec]
mov ecx, dword [ebp - 0x40]
sub ecx, dword [0x51dbf0]
push dword [0x51dbe8]
mov eax, dword [ebp - 0x3c]
sbb eax, dword [0x51dbf4]
push eax
push ecx
call fcn.004fce10
mov edi, eax
mov ebx, edx
add edi, dword [ebp - 0x50]
lea eax, [ebp - 0x40]
push eax
adc ebx, 0
add edi, 0x5dc
adc ebx, 0
mov dword [ebp - 0x50], ebx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push dword [0x51dbec]
mov ecx, dword [ebp - 0x40]
sub ecx, dword [0x51dbf0]
push dword [0x51dbe8]
mov eax, dword [ebp - 0x3c]
sbb eax, dword [0x51dbf4]
push eax
push ecx
call fcn.004fce10
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
cmp edx, ebx
ja 0x43b30a
jb 0x43b2b8
cmp eax, edi
jae 0x43b30a
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [ebp - 0x50]
push 0x1f4
call ebx
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push dword [0x51dbec]
mov ecx, dword [ebp - 0x40]
sub ecx, dword [0x51dbf0]
push dword [0x51dbe8]
mov eax, dword [ebp - 0x3c]
sbb eax, dword [0x51dbf4]
push eax
push ecx
call fcn.004fce10
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
cmp edx, esi
jb 0x43b2c1
ja 0x43b307
cmp eax, edi
jb 0x43b2c1
mov esi, dword [ebp - 0x44]
mov bl, 5
lea edi, [esi + 0xe4]
dec bl
mov dword [ebp - 0x14], 0x23055023
xor cl, cl
xor dl, dl
xor ch, ch
xor eax, eax
add cl, byte [ebp + eax - 0x14]
add dl, byte [ebp + eax - 0x13]
add eax, 2
cmp eax, 3
jb 0x43b323
cmp eax, 4
jae 0x43b33c
mov ch, byte [ebp + eax - 0x14]
push 0
push 0x1f4
push dword [esi + 4]
add cl, ch
mov dword [ebp - 0x44], 0x800
add cl, dl
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 0x10], cl
lea eax, [ebp - 0x14]
mov ecx, dword [esi + 8]
push edi
push 5
push eax
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test al, al
jne 0x43b373
test bl, bl
jne 0x43b312
jmp 0x43b39c
movzx ecx, byte [esi + 0xe9]
movzx eax, byte [esi + 0xe8]
shl cx, 8
or cx, ax
mov word [esi + 0xbba], cx
jmp 0x43b39c
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 4]
push str.CPUBridgeServer::priv_enterState_normal___n
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov ecx, dword [ebp - 4]
add esp, 8
mov dword [esi + 0xe0], 1
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00403d8c
mov esp, ebp
pop ebp
ret