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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
push esi
push edi
test ebx, ebx
je 0x45ed78
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [ebx + 0x48]
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
xorps xmm0, xmm0
mov dword [ebp - 0xc], eax
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 8], xmm0
test eax, eax
je 0x45d9ad
cmp dword [0x7efe40], 0
jne 0x45d8f3
cmp dword [0x7efe44], 0
je 0x45d9ad
lea eax, [ebp - 0x18]
push eax
call esi
lea eax, [ebp - 8]
push eax
call edi
mov ecx, dword [ebp - 0x18]
sub ecx, dword [0x7efe48]
mov ebx, dword [ebp - 0x14]
mov eax, ebx
sbb eax, dword [0x7efe4c]
push 0
push 0x3b9aca00
push eax
push ecx
call fcn.006dbcd0
push dword [0x7efe44]
push dword [0x7efe40]
push edx
push eax
call fcn.006dc0b0
add eax, dword [0x7efe38]
push 0
adc edx, dword [0x7efe3c]
push 0x3b9aca00
push edx
push eax
call fcn.006dc0b0
mov esi, eax
mov eax, dword [ebp - 0xc]
push 0
push 0x3b9aca00
mov dword [eax], esi
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x18]
sub eax, dword [0x7efe48]
sbb ebx, dword [0x7efe4c]
push ebx
push eax
call fcn.006dbcd0
push dword [0x7efe44]
push dword [0x7efe40]
push edx
push eax
call fcn.006dc0b0
mov ebx, dword [ebp - 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
imul ecx, esi, 0x3b9aca00
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
sub eax, ecx
mov ecx, dword [ebp - 0xc]
add eax, dword [0x7efe38]
mov dword [ecx + 8], eax
mov eax, ecx
mov ecx, dword [eax]
mov edx, 0x3b9aca00
sub ecx, dword [ebx + 0x28]
xorps xmm0, xmm0
mov eax, dword [eax + 4]
sbb eax, dword [ebx + 0x2c]
mul edx
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], eax
mov eax, ecx
mov ecx, 0x3b9aca00
mul ecx
mov ecx, dword [ebp - 0x1c]
add ecx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x30]
cdq
sub dword [ebp - 4], eax
mov eax, dword [ebx + 0x50]
sbb ecx, edx
cdq
add dword [ebp - 4], eax
adc ecx, edx
cmp byte [ebx + 0x160b], 0
mov dword [ebp - 0x1c], ecx
je 0x45db94
mov eax, dword [ebx + 0x1610]
test eax, eax
je 0x45da19
mov ecx, dword [ebx + 0x160c]
test ecx, ecx
je 0x45da19
cmp dword [ecx + 4], eax
jae 0x45db94
cmp dword [0x7efe40], 0
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
jne 0x45da40
cmp dword [0x7efe44], 0
jne 0x45da40
mov edi, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
jmp 0x45daae
lea eax, [ebp - 0x18]
push eax
call esi
lea eax, [ebp - 0x10]
push eax
call edi
mov ecx, dword [ebp - 0x18]
sub ecx, dword [0x7efe48]
mov eax, dword [ebp - 0x14]
sbb eax, dword [0x7efe4c]
push 0
push 0x3b9aca00
push eax
push ecx
call fcn.006dbcd0
push dword [0x7efe44]
push dword [0x7efe40]
push edx
push eax
call fcn.006dc0b0
mov edi, eax
add eax, dword [0x7efe38]
push 0
adc edx, dword [0x7efe3c]
push 0x3b9aca00
push edx
push eax
call fcn.006dc0b0
imul ecx, eax, 0x3b9aca00
mov dword [ebp - 0x14], eax
sub edi, ecx
mov ecx, eax
add edi, dword [0x7efe38]
mov eax, edx
mov esi, 0x3b9aca00
mul esi
push 0x18
mov esi, eax
mov eax, ecx
mov ecx, 0x3b9aca00
mul ecx
push 1
mov ecx, eax
add esi, edx
mov eax, edi
cdq
add ecx, eax
mov dword [ebp - 0x14], ecx
adc esi, edx
call fcn.006e6b64
mov edi, eax
add esp, 8
test edi, edi
je 0x45db94
mov eax, dword [edi + 0x10]
test eax, eax
je 0x45dafd
push eax
call fcn.006e60fe
add esp, 4
mov dword [edi + 0x10], 0
mov eax, dword [ebp - 0x14]
mov dword [edi + 0xc], esi
mov esi, dword [ebx + 0x160c]
mov dword [edi], 0x12
mov dword [edi + 8], eax
mov dword [edi + 0x14], 0
test esi, esi
je 0x45db94
cmp byte [esi + 0x10], 0
je 0x45db33
mov eax, dword [esi + 0x14]
test eax, eax
je 0x45db33
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x14], eax
push 0xc
push 1
test eax, eax
je 0x45db67
call fcn.006e6b64
add esp, 8
test eax, eax
je 0x45db7e
mov ecx, dword [ebp - 0x14]
mov dword [eax], edi
mov dword [eax + 4], ecx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov dword [ecx + 8], eax
test edx, edx
je 0x45db78
mov dword [edx + 4], eax
jmp 0x45db7b
call fcn.006e6b64
add esp, 8
test eax, eax
je 0x45db7e
mov dword [eax], edi
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
inc dword [esi + 4]
cmp byte [esi + 0x10], 0
je 0x45db94
mov eax, dword [esi + 0x14]
test eax, eax
je 0x45db94
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, ebx
call fcn.00459280
cmp dword [ebx + 0x15a0], 2
mov eax, dword [0x7efe24]
jne 0x45dd37
inc dword [0x7efe14]
test eax, eax
je 0x45ded7
cmp dword [eax + 0x14], 4
jl 0x45dd37
push dword [ebx + 0x9c]
push dword [ebx + 0x98]
push ebx
push 0x69d
push str.d:_srcmaster_2022ClientOSSServicecsproxy_srcconn.c
push str.__s:_d_:_n___s_n__client__03d__server__03d_n__upstream_proxy_failed
push 4
call fcn.00472f60
mov edi, eax
add esp, 0x1c
mov dword [ebp - 0x14], edi
test edi, edi
je 0x45dd32
mov edi, dword [0x7efe24]
test edi, edi
je 0x45dd27
cmp byte [edi + 8], 0
je 0x45dd27
cmp dword [edi + 0x14], 4
jl 0x45dd27
mov esi, eax
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x45dc20
mov eax, dword [edi + 0x20]
sub esi, ecx
add eax, esi
cmp dword [edi + 0x28], eax
jb 0x45dd27
test esi, esi
je 0x45dd27
push 8
push 1
call fcn.006e6b64
add esp, 8
mov dword [ebp - 0xc], eax
test eax, eax
je 0x45dd27
push 1
push esi
call fcn.006e6b64
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0xc]
mov dword [eax], ecx
test ecx, ecx
jne 0x45dc74
mov dword [eax + 4], ecx
jmp 0x45dd27
push esi
push dword [ebp - 0x14]
push ecx
call fcn.006dccc0
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov dword [eax + 4], esi
mov eax, dword [edi + 0x24]
test eax, eax
je 0x45dc9a
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x24]
add dword [edi + 0x20], esi
test eax, eax
je 0x45dcaa
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [edi + 0x1c]
test esi, esi
je 0x45dd27
cmp byte [esi + 0x10], 0
je 0x45dcc7
mov eax, dword [esi + 0x14]
test eax, eax
je 0x45dcc7
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esi + 0xc]
push 0xc
push 1
call fcn.006e6b64
add esp, 8
test edi, edi
je 0x45dcfd
test eax, eax
je 0x45dd11
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov ecx, dword [edi + 8]
mov dword [eax + 8], ecx
mov dword [edi + 8], eax
mov dword [eax + 4], edi
test ecx, ecx
je 0x45dcf8
mov dword [ecx + 4], eax
jmp 0x45dd0e
mov dword [esi + 0xc], eax
jmp 0x45dd0e
mov ecx, eax
test ecx, ecx
je 0x45dd11
mov eax, dword [ebp - 0xc]
mov dword [ecx], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ecx
inc dword [esi + 4]
cmp byte [esi + 0x10], 0
je 0x45dd27
mov eax, dword [esi + 0x14]
test eax, eax
je 0x45dd27
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebp - 0x14]
call fcn.006e60fe
add esp, 4
mov eax, dword [0x7efe24]
test eax, eax
je 0x45ded7
cmp dword [eax + 0x14], 6
jl 0x45ded7
push dword [ebx + 0x12c]
push dword [ebx + 0x1584]
push dword [ebx + 0x128]
push dword [ebx + 0x1580]
push dword [ebx + 0x15ac]
push dword [ebx + 0x9c]
push dword [ebx + 0x98]
push ebx
push 0x6a9
push str.d:_srcmaster_2022ClientOSSServicecsproxy_srcconn.c
push str.__s:_d_:_n___s_n__client__03d__server__03d_n__destroyed__server_count__03zu__n__req_ct__03zu___req_bytes__10zu___res_ct__03zu___res_bytes__10zu_
push 6
call fcn.00472f60
mov edi, eax
add esp, 0x30
mov dword [ebp - 0x14], edi
test edi, edi
je 0x45ded7
mov edi, dword [0x7efe24]
test edi, edi
je 0x45decc
cmp byte [edi + 8], 0
je 0x45decc
cmp dword [edi + 0x14], 6
jl 0x45decc
mov esi, eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x45ddc1
mov eax, dword [edi + 0x20]
sub esi, ecx
add eax, esi
cmp dword [edi + 0x28], eax
jb 0x45decc
test esi, esi
je 0x45decc
push 8
push 1
call fcn.006e6b64
add esp, 8
mov dword [ebp - 0xc], eax
test eax, eax
je 0x45decc
push 1
push esi
call fcn.006e6b64
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0xc]
mov dword [eax], ecx
test ecx, ecx
jne 0x45de15
mov dword [eax + 4], ecx
jmp 0x45decc
push esi
push dword [ebp - 0x14]
push ecx
call fcn.006dccc0
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov dword [eax + 4], esi
mov eax, dword [edi + 0x24]
test eax, eax
je 0x45de3b
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x24]
add dword [edi + 0x20], esi
test eax, eax
je 0x45de4b
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [edi + 0x1c]
test esi, esi
je 0x45decc
cmp byte [esi + 0x10], 0
je 0x45de6c
mov eax, dword [esi + 0x14]
test eax, eax
je 0x45de6c
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esi + 0xc]
push 0xc
push 1
call fcn.006e6b64
add esp, 8
test edi, edi
je 0x45dea2
test eax, eax
je 0x45deb6
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov ecx, dword [edi + 8]
mov dword [eax + 8], ecx
mov dword [edi + 8], eax
mov dword [eax + 4], edi
test ecx, ecx
je 0x45de9d
mov dword [ecx + 4], eax
jmp 0x45deb3
mov dword [esi + 0xc], eax
jmp 0x45deb3
mov ecx, eax
test ecx, ecx
je 0x45deb6
mov eax, dword [ebp - 0xc]
mov dword [ecx], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ecx
inc dword [esi + 4]
cmp byte [esi + 0x10], 0
je 0x45decc
mov eax, dword [esi + 0x14]
test eax, eax
je 0x45decc
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebp - 0x14]
call fcn.006e60fe
add esp, 4
mov eax, dword [ebx + 0x98]
cmp eax, 0xffffffff
jle 0x45e28b
push 2
push eax
call dword [sym.imp.WS2_32.dll_shutdown]
push dword [ebx + 0x98]
call dword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
jns 0x45e0a2
mov eax, dword [0x7efe24]
test eax, eax
je 0x45e0a2
cmp dword [eax + 0x14], 6
jl 0x45e0a2
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call esi
push eax
call fcn.006e72af
add esp, 4
push eax
call esi
push eax
push dword [ebx + 0x9c]
push dword [ebx + 0x98]
push ebx
push 0x762
push str.d:_srcmaster_2022ClientOSSServicecsproxy_srcconn.c
push str.__s:_d_:_n___s_n__client__03d__server__03d__client_close_message:__d:__s_
push 6
call fcn.00472f60
mov edi, eax
add esp, 0x24
mov dword [ebp - 0x14], edi
test edi, edi
je 0x45e0a2
mov edi, dword [0x7efe24]
test edi, edi
je 0x45e097
cmp byte [edi + 8], 0
je 0x45e097
cmp dword [edi + 0x14], 6
jl 0x45e097
mov esi, eax
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x45df90
mov eax, dword [edi + 0x20]
sub esi, ecx
add eax, esi
cmp dword [edi + 0x28], eax
jb 0x45e097
test esi, esi
je 0x45e097
push 8
push 1
call fcn.006e6b64
add esp, 8
mov dword [ebp - 0xc], eax
test eax, eax
je 0x45e097
push 1
push esi
call fcn.006e6b64
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0xc]
mov dword [eax], ecx
test ecx, ecx
jne 0x45dfe4
mov dword [eax + 4], ecx
jmp 0x45e097
push esi
push dword [ebp - 0x14]
push ecx
call fcn.006dccc0
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov dword [eax + 4], esi
mov eax, dword [edi + 0x24]
test eax, eax
je 0x45e00a
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x24]
add dword [edi + 0x20], esi
test eax, eax
je 0x45e01a
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [edi + 0x1c]
test esi, esi
je 0x45e097
cmp byte [esi + 0x10], 0
je 0x45e037
mov eax, dword [esi + 0x14]
test eax, eax
je 0x45e037
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esi + 0xc]
push 0xc
push 1
call fcn.006e6b64
add esp, 8
test edi, edi
je 0x45e06d
test eax, eax
je 0x45e081
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov ecx, dword [edi + 8]
mov dword [eax + 8], ecx
mov dword [edi + 8], eax
mov dword [eax + 4], edi
test ecx, ecx
je 0x45e068
mov dword [ecx + 4], eax
jmp 0x45e07e
mov dword [esi + 0xc], eax
jmp 0x45e07e
mov ecx, eax
test ecx, ecx
je 0x45e081
mov eax, dword [ebp - 0xc]
mov dword [ecx], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ecx
inc dword [esi + 4]
cmp byte [esi + 0x10], 0
je 0x45e097
mov eax, dword [esi + 0x14]
test eax, eax
je 0x45e097
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebp - 0x14]
call fcn.006e60fe
add esp, 4
mov eax, dword [ebx + 0x15bc]
test eax, eax
je 0x45e0be
push 0
push 0
push 4
push dword [ebx + 0x15c0]
push ebx
call eax
add esp, 0x14
cmp byte [ebx + 0x160b], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
je 0x45e272
mov eax, dword [ebx + 0x1610]
test eax, eax
je 0x45e0ef
mov ecx, dword [ebx + 0x160c]
test ecx, ecx
je 0x45e0ef
cmp dword [ecx + 4], eax
jae 0x45e272
cmp dword [0x7efe40], 0
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
jne 0x45e116
cmp dword [0x7efe44], 0
jne 0x45e116
mov edi, dword [ebp - 0x38]
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
jmp 0x45e18c
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [0x7efe48]
mov eax, dword [ebp - 0x14]
sbb eax, dword [0x7efe4c]
push 0
push 0x3b9aca00
push eax
push ecx
call fcn.006dbcd0
push dword [0x7efe44]
push dword [0x7efe40]
push edx
push eax
call fcn.006dc0b0
mov edi, eax
add eax, dword [0x7efe38]
push 0
adc edx, dword [0x7efe3c]
push 0x3b9aca00
push edx
push eax
call fcn.006dc0b0
imul ecx, eax, 0x3b9aca00
mov dword [ebp - 0x14], eax
sub edi, ecx
mov ecx, eax
add edi, dword [0x7efe38]
mov eax, edx
mov esi, 0x3b9aca00
mul esi
push 0x18
mov esi, eax
mov eax, ecx
mov ecx, 0x3b9aca00
mul ecx
push 1
mov ecx, eax
add esi, edx
mov eax, edi
cdq
add ecx, eax
mov dword [ebp - 0x14], ecx
adc esi, edx
call fcn.006e6b64
mov edi, eax
add esp, 8
test edi, edi
je 0x45e272
mov eax, dword [edi + 0x10]
test eax, eax
je 0x45e1db
push eax
call fcn.006e60fe
add esp, 4
mov dword [edi + 0x10], 0
mov eax, dword [ebp - 0x14]
mov dword [edi + 0xc], esi
mov esi, dword [ebx + 0x160c]
mov dword [edi], 4
mov dword [edi + 8], eax
mov dword [edi + 0x14], 0
test esi, esi
je 0x45e272
cmp byte [esi + 0x10], 0
je 0x45e211
mov eax, dword [esi + 0x14]
test eax, eax
je 0x45e211
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x14], eax
push 0xc
push 1
test eax, eax
je 0x45e245
call fcn.006e6b64
add esp, 8
test eax, eax
je 0x45e25c
mov ecx, dword [ebp - 0x14]
mov dword [eax], edi
mov dword [eax + 4], ecx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov dword [ecx + 8], eax
test edx, edx
je 0x45e256
mov dword [edx + 4], eax
jmp 0x45e259
call fcn.006e6b64
add esp, 8
test eax, eax
je 0x45e25c
mov dword [eax], edi
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
inc dword [esi + 4]
cmp byte [esi + 0x10], 0
je 0x45e272
mov eax, dword [esi + 0x14]
test eax, eax
je 0x45e272
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push 0
push 0
lea edx, [ebx + 0x150]
mov ecx, 4
call fcn.0049b8d0
add esp, 0xc
mov dword [ebx + 0x98], 0xffffffff
push dword [ebx + 0x15d0]
mov eax, dword [ebx + 0x15cc]
push ebx
call eax
mov ecx, dword [ebx + 0x9c]
add esp, 8
test ecx, ecx
jns 0x45e629
mov eax, dword [0x7efe24]
test eax, eax
je 0x45e433
cmp dword [eax + 0x14], 6
jl 0x45e433
push ecx
push dword [ebx + 0x98]
push ebx
push 0x6b3
push str.d:_srcmaster_2022ClientOSSServicecsproxy_srcconn.c
push str.__s:_d_:_n___s_n__client__03d__server__03d__closing_server
push 6
call fcn.00472f60
mov edi, eax
add esp, 0x1c
mov dword [ebp - 0x14], edi
test edi, edi
je 0x45e433
mov edi, dword [0x7efe24]
test edi, edi
je 0x45e428
cmp byte [edi + 8], 0
je 0x45e428
cmp dword [edi + 0x14], 6
jl 0x45e428
mov esi, eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x45e321
mov eax, dword [edi + 0x20]
sub esi, ecx
add eax, esi
cmp dword [edi + 0x28], eax
jb 0x45e428
test esi, esi
je 0x45e428
push 8
push 1
call fcn.006e6b64
add esp, 8
mov dword [ebp - 0xc], eax
test eax, eax
je 0x45e428
push 1
push esi
call fcn.006e6b64
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0xc]
mov dword [eax], ecx
test ecx, ecx
jne 0x45e375
mov dword [eax + 4], ecx
jmp 0x45e428
push esi
push dword [ebp - 0x14]
push ecx
call fcn.006dccc0
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov dword [eax + 4], esi
mov eax, dword [edi + 0x24]
test eax, eax
je 0x45e39b
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x24]
add dword [edi + 0x20], esi
test eax, eax
je 0x45e3ab
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [edi + 0x1c]
test esi, esi
je 0x45e428
cmp byte [esi + 0x10], 0
je 0x45e3c8
mov eax, dword [esi + 0x14]
test eax, eax
je 0x45e3c8
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esi + 0xc]
push 0xc
push 1
call fcn.006e6b64
add esp, 8
test edi, edi
je 0x45e3fe
test eax, eax
je 0x45e412
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov ecx, dword [edi + 8]
mov dword [eax + 8], ecx
mov dword [edi + 8], eax
mov dword [eax + 4], edi
test ecx, ecx
je 0x45e3f9
mov dword [ecx + 4], eax
jmp 0x45e40f
mov dword [esi + 0xc], eax
jmp 0x45e40f
mov ecx, eax
test ecx, ecx
je 0x45e412
mov eax, dword [ebp - 0xc]
mov dword [ecx], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ecx
inc dword [esi + 4]
cmp byte [esi + 0x10], 0
je 0x45e428
mov eax, dword [esi + 0x14]
test eax, eax
je 0x45e428
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebp - 0x14]
call fcn.006e60fe
add esp, 4
xor edx, edx
mov dword [ebx + 0x9c], 0xffffffff
push 0
lea eax, [ebx + 0xce8]
push 0
push eax
lea ecx, [edx + 5]
call fcn.0049b8d0
mov eax, dword [ebx + 0x15bc]
add esp, 0xc
test eax, eax
je 0x45e471
push 0
push 0
push 0xb
push dword [ebx + 0x15c0]
push ebx
call eax
add esp, 0x14
cmp byte [ebx + 0x160b], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x50], xmm0
je 0x45e629
mov eax, dword [ebx + 0x1610]
test eax, eax
je 0x45e4a2
mov ecx, dword [ebx + 0x160c]
test ecx, ecx
je 0x45e4a2
cmp dword [ecx + 4], eax
jae 0x45e629
cmp dword [0x7efe40], 0
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
jne 0x45e4c9
cmp dword [0x7efe44], 0
jne 0x45e4c9
mov edi, dword [ebp - 0x48]
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x50]
jmp 0x45e53f
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [0x7efe48]
mov eax, dword [ebp - 0x14]
sbb eax, dword [0x7efe4c]
push 0
push 0x3b9aca00
push eax
push ecx
call fcn.006dbcd0
push dword [0x7efe44]
push dword [0x7efe40]
push edx
push eax
call fcn.006dc0b0
mov edi, eax
add eax, dword [0x7efe38]
push 0
adc edx, dword [0x7efe3c]
push 0x3b9aca00
push edx
push eax
call fcn.006dc0b0
imul ecx, eax, 0x3b9aca00
mov dword [ebp - 0x14], eax
sub edi, ecx
mov ecx, eax
add edi, dword [0x7efe38]
mov eax, edx
mov esi, 0x3b9aca00
mul esi
push 0x18
mov esi, eax
mov eax, ecx
mov ecx, 0x3b9aca00
mul ecx
push 1
mov ecx, eax
add esi, edx
mov eax, edi
cdq
add ecx, eax
mov dword [ebp - 0x14], ecx
adc esi, edx
call fcn.006e6b64
mov edi, eax
add esp, 8
test edi, edi
je 0x45e629
mov eax, dword [edi + 0x10]
test eax, eax
je 0x45e58e
push eax
call fcn.006e60fe
add esp, 4
mov dword [edi + 0x10], 0
mov eax, dword [ebp - 0x14]
mov dword [edi + 0xc], esi
mov esi, dword [ebx + 0x160c]
mov dword [edi], 0xb
mov dword [edi + 8], eax
mov dword [edi + 0x14], 0
test esi, esi
je 0x45e629
cmp byte [esi + 0x10], 0
je 0x45e5c4
mov eax, dword [esi + 0x14]
test eax, eax
je 0x45e5c4
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x14], eax
push 0xc
push 1
test eax, eax
je 0x45e5f8
call fcn.006e6b64
add esp, 8
test eax, eax
je 0x45e60f
mov ecx, dword [ebp - 0x14]
mov dword [eax], edi
mov dword [eax + 4], ecx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov dword [ecx + 8], eax
test edx, edx
je 0x45e609
mov dword [edx + 4], eax
jmp 0x45e60c
call fcn.006e6b64
add esp, 8
test eax, eax
je 0x45e60f
mov dword [eax], edi
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
inc dword [esi + 4]
cmp byte [esi + 0x10], 0
je 0x45e629
mov eax, dword [esi + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test eax, eax
je 0x45e62f
push dword [eax + 4]
call esi
jmp 0x45e62f
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebx + 0x15bc]
test eax, eax
je 0x45e64b
push 0
push 0
push 0x12
push dword [ebx + 0x15c0]
push ebx
call eax
add esp, 0x14
mov eax, dword [ebx + 0xa4]
mov dword [ebx + 0x15bc], 0
mov dword [ebx + 0x15c0], 0
test eax, eax
je 0x45e67c
push eax
call fcn.006e60fe
add esp, 4
mov dword [ebx + 0xa4], 0
mov eax, dword [ebx + 0xa8]
test eax, eax
je 0x45e699
push eax
call fcn.006e60fe
add esp, 4
mov dword [ebx + 0xa8], 0
mov eax, dword [ebx + 0xb4]
test eax, eax
je 0x45e6b6
push eax
call fcn.006e60fe
add esp, 4
mov dword [ebx + 0xb4], 0
mov eax, dword [ebx + 0xc0]
test eax, eax
je 0x45e6d3
push eax
call fcn.006e60fe
add esp, 4
mov dword [ebx + 0xc0], 0
mov eax, dword [ebx + 0xcc]
test eax, eax
je 0x45e6f0
push eax
call fcn.006e60fe
add esp, 4
mov dword [ebx + 0xcc], 0
mov eax, dword [ebx + 0xd8]
test eax, eax
je 0x45e70d
push eax
call fcn.006e60fe
add esp, 4
mov dword [ebx + 0xd8], 0
mov eax, dword [ebx + 0xe4]
test eax, eax
je 0x45e72a
push eax
call fcn.006e60fe
add esp, 4
mov dword [ebx + 0xe4], 0
mov eax, dword [ebx + 0xf0]
test eax, eax
je 0x45e747
push eax
call fcn.006e60fe
add esp, 4
mov dword [ebx + 0xf0], 0
mov eax, dword [ebx + 0xfc]
test eax, eax
je 0x45e764
push eax
call fcn.006e60fe
add esp, 4
mov dword [ebx + 0xfc], 0
mov edi, dword [ebx + 0x10c]
test edi, edi
je 0x45e851
mov eax, dword [edi + 0x14]
test eax, eax
je 0x45e7da
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x14]
test eax, eax
je 0x45e7d3
push dword [eax + 4]
call esi
mov esi, dword [edi + 0x14]
test esi, esi
je 0x45e7d3
mov eax, dword [esi + 4]
test eax, eax
je 0x45e7b5
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push dword [esi + 4]
call fcn.006e60fe
add esp, 4
mov dword [esi + 4], 0
mov eax, dword [esi]
test eax, eax
je 0x45e7ca
push eax
call fcn.006e60fe
add esp, 4
mov dword [esi], 0
push esi
call fcn.006e60fe
add esp, 4
mov dword [edi + 0x14], 0
mov eax, dword [edi]
test eax, eax
je 0x45e7ef
push eax
call fcn.006e60fe
add esp, 4
mov dword [edi], 0
mov esi, dword [edi + 8]
test esi, esi
je 0x45e81e
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x14], esi
test eax, eax
je 0x45e80c
mov ecx, dword [esi]
test ecx, ecx
je 0x45e80c
push ecx
call eax
add esp, 4
push dword [ebp - 0x14]
mov esi, dword [esi + 8]
call fcn.006e60fe
add esp, 4
test esi, esi
jne 0x45e7f6
push edi
mov byte [edi + 0x10], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x18], 0
call fcn.006e60fe
add esp, 4
mov dword [ebx + 0x10c], 0
mov edi, dword [ebx + 0x110]
test edi, edi
je 0x45e942
mov eax, dword [edi + 0x14]
test eax, eax
je 0x45e8cb
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x14]
test eax, eax
je 0x45e8c4
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [edi + 0x14]
test esi, esi
je 0x45e8c4
mov eax, dword [esi + 4]
test eax, eax
je 0x45e8a6
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push dword [esi + 4]
call fcn.006e60fe
add esp, 4
mov dword [esi + 4], 0
mov eax, dword [esi]
test eax, eax
je 0x45e8bb
push eax
call fcn.006e60fe
add esp, 4
mov dword [esi], 0
push esi
call fcn.006e60fe
add esp, 4
mov dword [edi + 0x14], 0
mov eax, dword [edi]
test eax, eax
je 0x45e8e0
push eax
call fcn.006e60fe
add esp, 4
mov dword [edi], 0
mov esi, dword [edi + 8]
test esi, esi
je 0x45e90f
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x14], esi
test eax, eax
je 0x45e8fd
mov ecx, dword [esi]
test ecx, ecx
je 0x45e8fd
push ecx
call eax
add esp, 4
push dword [ebp - 0x14]
mov esi, dword [esi + 8]
call fcn.006e60fe
add esp, 4
test esi, esi
jne 0x45e8e7
push edi
mov byte [edi + 0x10], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x18], 0
call fcn.006e60fe
add esp, 4
mov dword [ebx + 0x110], 0
mov eax, dword [ebx + 0x148]
test eax, eax
je 0x45e95f
push eax
call fcn.006e60fe
add esp, 4
mov dword [ebx + 0x148], 0
mov eax, dword [ebx + 0xc98]
test eax, eax
je 0x45e97c
push eax
call fcn.006e60fe
add esp, 4
mov dword [ebx + 0xc98], 0
mov eax, dword [ebx + 0xc9c]
test eax, eax
je 0x45e999
push eax
call fcn.006e60fe
add esp, 4
mov dword [ebx + 0xc9c], 0
mov eax, dword [ebx + 0xca0]
test eax, eax
je 0x45e9b6
push eax
call fcn.006e60fe
add esp, 4
mov dword [ebx + 0xca0], 0
mov esi, dword [ebx + 0x1574]
test esi, esi
je 0x45eb54
mov eax, dword [esi + 8]
test eax, eax
je 0x45e9db
push eax
call fcn.006e60fe
add esp, 4
mov dword [esi + 8], 0
mov eax, dword [esi + 0x10]
mov dword [esi + 0xc], 0
test eax, eax
je 0x45ea03
push 3
push eax
call fcn.004e0790
push dword [esi + 0x10]
call fcn.004debb0
add esp, 0xc
mov dword [esi + 0x10], 0
mov eax, dword [esi]
test eax, eax
je 0x45ea18
push eax
call fcn.004dd4c0
add esp, 4
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x45ea2f
push eax
call fcn.004dd4c0
add esp, 4
mov dword [esi + 4], 0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x45ea46
push eax
call fcn.00535d50
add esp, 4
mov dword [esi + 0x14], 0
mov eax, dword [esi + 0x18]
test eax, eax
je 0x45ea5d
push eax
call fcn.00549c80
add esp, 4
mov dword [esi + 0x18], 0
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x45ea74
push eax
call fcn.006e60fe
add esp, 4
mov dword [esi + 0x1c], 0
mov eax, dword [esi + 0x20]
test eax, eax
je 0x45ea8b
push eax
call fcn.006e60fe
add esp, 4
mov dword [esi + 0x20], 0
mov eax, dword [esi + 0x24]
test eax, eax
je 0x45eaa3
cmp eax, dword [0x7efdcc]
je 0x45eaa3
push eax
call fcn.00535d50
add esp, 4
mov eax, dword [esi + 0x28]
mov dword [esi + 0x24], 0
test eax, eax
je 0x45eac1
push eax
call fcn.00535d50
add esp, 4
mov dword [esi + 0x28], 0
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x45ead8
push eax
call fcn.006e60fe
add esp, 4
mov dword [esi + 0x2c], 0
mov eax, dword [esi + 0x3c]
mov dword [esi + 0x38], 0
test eax, eax
je 0x45eaf6
push eax
call fcn.006e60fe
add esp, 4
mov dword [esi + 0x3c], 0
mov eax, dword [esi + 0x50]
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
test eax, eax
je 0x45eb22
push eax
call fcn.006e60fe
add esp, 4
mov dword [esi + 0x50], 0
push 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
call fcn.004e0740
add esp, 4
push esi
call fcn.006e60fe
add esp, 4
mov dword [ebx + 0x1574], 0
mov esi, dword [ebx + 0x1578]
test esi, esi
je 0x45ec49
mov eax, dword [esi + 8]
test eax, eax
je 0x45eb79
push eax
call fcn.006e60fe
add esp, 4
mov dword [esi + 8], 0
mov eax, dword [esi + 0x24]
mov dword [esi + 0xc], 0
test eax, eax
je 0x45eb97
push eax
call fcn.00535d50
add esp, 4
mov dword [esi + 0x24], 0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x45ebb8
push 3
push eax
call fcn.004e0790
push dword [esi + 0x10]
call fcn.004debb0
add esp, 0xc
mov dword [esi + 0x10], 0
mov eax, dword [esi]
test eax, eax
je 0x45ebcd
push eax
call fcn.004dd4c0
add esp, 4
mov dword [esi], 0
mov eax, dword [esi + 0x3c]
mov dword [esi + 0x38], 0
test eax, eax
je 0x45ebeb
push eax
call fcn.006e60fe
add esp, 4
mov dword [esi + 0x3c], 0
mov eax, dword [esi + 0x50]
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
test eax, eax
je 0x45ec17
push eax
call fcn.006e60fe
add esp, 4
mov dword [esi + 0x50], 0
push 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
call fcn.004e0740
add esp, 4
push esi
call fcn.006e60fe
add esp, 4
mov dword [ebx + 0x1578], 0
mov edi, dword [ebx + 0x160c]
test edi, edi
je 0x45ed3b
mov eax, dword [edi + 0x14]
test eax, eax
je 0x45ecc3
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x14]
test eax, eax
je 0x45ecbc
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [edi + 0x14]
test esi, esi
je 0x45ecbc
mov eax, dword [esi + 4]
test eax, eax
je 0x45ec9e
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push dword [esi + 4]
call fcn.006e60fe
add esp, 4
mov dword [esi + 4], 0
mov eax, dword [esi]
test eax, eax
je 0x45ecb3
push eax
call fcn.006e60fe
add esp, 4
mov dword [esi], 0
push esi
call fcn.006e60fe
add esp, 4
mov dword [edi + 0x14], 0
mov eax, dword [edi]
test eax, eax
je 0x45ecd8
push eax
call fcn.006e60fe
add esp, 4
mov dword [edi], 0
mov esi, dword [edi + 8]
test esi, esi
je 0x45ed08
nop
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x14], esi
test eax, eax
je 0x45ecf6
mov ecx, dword [esi]
test ecx, ecx
je 0x45ecf6
push ecx
call eax
add esp, 4
push dword [ebp - 0x14]
mov esi, dword [esi + 8]
call fcn.006e60fe
add esp, 4
test esi, esi
jne 0x45ece0
push edi
mov byte [edi + 0x10], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x18], 0
call fcn.006e60fe
add esp, 4
mov dword [ebx + 0x160c], 0
mov eax, dword [ebp - 0x1c]
lea edx, [ebx + 0x150]
push eax
push dword [ebp - 4]
lea eax, [ebx + 0xce8]
mov ecx, 0xa
push eax
call fcn.0049b8d0
add esp, 0xc
xor edx, edx
push 0
push 0
push 0
lea ecx, [edx + 3]
call fcn.0049b8d0
add esp, 0xc
push ebx
call fcn.006e60fe
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret