Function at 0x4b36b0
Capabilities:
Check for time delay via queryperformancecounter
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
mov esi, dword [0x7f0314]
mov ebx, ecx
mov byte [ebp - 1], dl
mov dword [ebp - 8], ebx
mov dword [ebp - 0x18], 0
push edi
test esi, esi
je 0x4b3839
cmp dword [esi + 0x14], 6
jl 0x4b3839
call fcn.004af470
push eax
push ebx
push 0x38c
push str.d:_srcmaster_2022ClientOSSServicecsproxy_srcconn_queue.c
push str.__s:_d_:_n__client__03d__conns__lu___connect
push 6
call fcn.00472f60
mov edi, eax
add esp, 0x18
mov dword [ebp - 0xc], edi
test edi, edi
je 0x4b3833
mov edi, dword [0x7f0314]
test edi, edi
je 0x4b3828
cmp byte [edi + 8], 0
je 0x4b3828
cmp dword [edi + 0x14], 6
jl 0x4b3828
mov esi, eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4b3734
mov eax, dword [edi + 0x20]
sub esi, ecx
add eax, esi
cmp dword [edi + 0x28], eax
jb 0x4b3828
test esi, esi
je 0x4b3828
push 8
push 1
call fcn.006e6b64
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4b3825
push 1
push esi
call fcn.006e6b64
add esp, 8
mov dword [ebx], eax
test eax, eax
jne 0x4b3782
mov dword [ebx + 4], eax
jmp 0x4b3825
push esi
push dword [ebp - 0xc]
push eax
call fcn.006dccc0
mov eax, dword [edi + 0x24]
add esp, 0xc
mov dword [ebx + 4], esi
test eax, eax
je 0x4b37a5
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 0x4b37b5
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [edi + 0x1c]
test esi, esi
je 0x4b3825
cmp byte [esi + 0x10], 0
je 0x4b37d2
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4b37d2
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 0x4b3800
test eax, eax
je 0x4b380f
mov ecx, dword [edi + 8]
mov dword [eax], ebx
mov dword [eax + 8], ecx
mov dword [edi + 8], eax
mov dword [eax + 4], edi
test ecx, ecx
je 0x4b3809
mov dword [ecx + 4], eax
jmp 0x4b380c
test eax, eax
je 0x4b380f
mov dword [eax], ebx
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
inc dword [esi + 4]
cmp byte [esi + 0x10], 0
je 0x4b3825
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4b3825
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [ebp - 8]
push dword [ebp - 0xc]
call fcn.006e60fe
add esp, 4
mov esi, dword [0x7f0314]
mov eax, dword [0x7f0310]
mov edi, dword [eax + 0x38]
test edi, edi
je 0x4b39c7
call fcn.004af470
cmp eax, edi
jb 0x4b39c7
test esi, esi
je 0x4b39b7
cmp dword [esi + 0x14], 4
jl 0x4b39b7
push edi
push eax
push ebx
push 0x396
push str.d:_srcmaster_2022ClientOSSServicecsproxy_srcconn_queue.c
push str.__s:_d_:_n__client__03d__conns__lu___the_connection_limit___lu__has_been_reached__closing_this_connection.
push 4
call fcn.00472f60
mov edi, eax
add esp, 0x1c
mov dword [ebp - 0xc], edi
test edi, edi
je 0x4b39b7
mov edi, dword [0x7f0314]
test edi, edi
je 0x4b39ac
cmp byte [edi + 8], 0
je 0x4b39ac
cmp dword [edi + 0x14], 4
jl 0x4b39ac
mov esi, eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4b38b8
mov eax, dword [edi + 0x20]
sub esi, ecx
add eax, esi
cmp dword [edi + 0x28], eax
jb 0x4b39ac
test esi, esi
je 0x4b39ac
push 8
push 1
call fcn.006e6b64
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4b39a9
push 1
push esi
call fcn.006e6b64
add esp, 8
mov dword [ebx], eax
test eax, eax
jne 0x4b3906
mov dword [ebx + 4], eax
jmp 0x4b39a9
push esi
push dword [ebp - 0xc]
push eax
call fcn.006dccc0
mov eax, dword [edi + 0x24]
add esp, 0xc
mov dword [ebx + 4], esi
test eax, eax
je 0x4b3929
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 0x4b3939
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [edi + 0x1c]
test esi, esi
je 0x4b39a9
cmp byte [esi + 0x10], 0
je 0x4b3956
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4b3956
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 0x4b3984
test eax, eax
je 0x4b3993
mov ecx, dword [edi + 8]
mov dword [eax], ebx
mov dword [eax + 8], ecx
mov dword [edi + 8], eax
mov dword [eax + 4], edi
test ecx, ecx
je 0x4b398d
mov dword [ecx + 4], eax
jmp 0x4b3990
test eax, eax
je 0x4b3993
mov dword [eax], ebx
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
inc dword [esi + 4]
cmp byte [esi + 0x10], 0
je 0x4b39a9
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4b39a9
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [ebp - 8]
push dword [ebp - 0xc]
call fcn.006e60fe
add esp, 4
push ebx
call fcn.006ee9f3
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, ebx
js 0x4b39e2
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 1
push eax
push 0x8004667e
push ebx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
call fcn.0045c5f0
mov edi, eax
mov dword [ebp - 0x14], edi
test edi, edi
je 0x4b39b7
mov eax, dword [edi + 0x98]
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
cmp eax, 0xffffffff
jle 0x4b3dae
push 2
push eax
call dword [sym.imp.WS2_32.dll_shutdown]
push dword [edi + 0x98]
call dword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
jns 0x4b3bc0
mov eax, dword [0x7efe24]
test eax, eax
je 0x4b3bc0
cmp dword [eax + 0x14], 6
jl 0x4b3bc0
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 [edi + 0x9c]
push dword [edi + 0x98]
push edi
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 ebx, eax
add esp, 0x24
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x4b3bba
mov ebx, dword [0x7efe24]
test ebx, ebx
je 0x4b3baf
cmp byte [ebx + 8], 0
je 0x4b3baf
cmp dword [ebx + 0x14], 6
jl 0x4b3baf
mov esi, eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4b3aa8
mov eax, dword [ebx + 0x20]
sub esi, ecx
add eax, esi
cmp dword [ebx + 0x28], eax
jb 0x4b3baf
test esi, esi
je 0x4b3baf
push 8
push 1
call fcn.006e6b64
add esp, 8
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4b3baf
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 0x4b3afc
mov dword [eax + 4], ecx
jmp 0x4b3baf
push esi
push dword [ebp - 0x10]
push ecx
call fcn.006dccc0
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov dword [eax + 4], esi
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x4b3b22
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 0x24]
add dword [ebx + 0x20], esi
test eax, eax
je 0x4b3b32
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [ebx + 0x1c]
test esi, esi
je 0x4b3baf
cmp byte [esi + 0x10], 0
je 0x4b3b4f
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4b3b4f
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [esi + 0xc]
push 0xc
push 1
call fcn.006e6b64
add esp, 8
test ebx, ebx
je 0x4b3b85
test eax, eax
je 0x4b3b99
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov ecx, dword [ebx + 8]
mov dword [eax + 8], ecx
mov dword [ebx + 8], eax
mov dword [eax + 4], ebx
test ecx, ecx
je 0x4b3b80
mov dword [ecx + 4], eax
jmp 0x4b3b96
mov dword [esi + 0xc], eax
jmp 0x4b3b96
mov ecx, eax
test ecx, ecx
je 0x4b3b99
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 0x4b3baf
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4b3baf
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebp - 0x10]
call fcn.006e60fe
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [edi + 0x15bc]
test eax, eax
je 0x4b3bdc
push 0
push 0
push 4
push dword [edi + 0x15c0]
push edi
call eax
add esp, 0x14
cmp byte [edi + 0x160b], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
je 0x4b3d8c
mov eax, dword [edi + 0x1610]
test eax, eax
je 0x4b3c0d
mov ecx, dword [edi + 0x160c]
test ecx, ecx
je 0x4b3c0d
cmp dword [ecx + 4], eax
jae 0x4b3d8c
cmp dword [0x7efe40], 0
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
jne 0x4b3c34
cmp dword [0x7efe44], 0
jne 0x4b3c34
mov ebx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
jmp 0x4b3ca6
lea eax, [ebp - 0x30]
push eax
call esi
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov ecx, dword [ebp - 0x30]
sub ecx, dword [0x7efe48]
mov eax, dword [ebp - 0x2c]
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 ebx, 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 - 0x10], eax
sub ebx, ecx
mov ecx, eax
add ebx, 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, ebx
cdq
add ecx, eax
mov dword [ebp - 0x10], ecx
adc esi, edx
call fcn.006e6b64
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4b3d8c
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x4b3cf5
push eax
call fcn.006e60fe
add esp, 4
mov dword [ebx + 0x10], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0xc], esi
mov esi, dword [edi + 0x160c]
mov dword [ebx], 4
mov dword [ebx + 8], eax
mov dword [ebx + 0x14], 0
test esi, esi
je 0x4b3d8c
cmp byte [esi + 0x10], 0
je 0x4b3d2b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4b3d2b
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x10], eax
push 0xc
push 1
test eax, eax
je 0x4b3d5f
call fcn.006e6b64
add esp, 8
test eax, eax
je 0x4b3d76
mov ecx, dword [ebp - 0x10]
mov dword [eax], ebx
mov dword [eax + 4], ecx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov dword [ecx + 8], eax
test edx, edx
je 0x4b3d70
mov dword [edx + 4], eax
jmp 0x4b3d73
call fcn.006e6b64
add esp, 8
test eax, eax
je 0x4b3d76
mov dword [eax], ebx
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
inc dword [esi + 4]
cmp byte [esi + 0x10], 0
je 0x4b3d8c
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4b3d8c
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push 0
push 0
lea edx, [edi + 0x150]
mov ecx, 4
call fcn.0049b8d0
mov ebx, dword [ebp - 8]
add esp, 0xc
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov dword [edi + 0x98], ebx
cmp ebx, 0xffffffff
jle 0x4b3f98
mov edx, ebx
mov ecx, edi
call fcn.004ac210
mov dword [edi + 0x14c], eax
mov eax, dword [edi + 0x15bc]
test eax, eax
je 0x4b3de8
push 0
push 0
push 3
push dword [edi + 0x15c0]
push edi
call eax
add esp, 0x14
cmp byte [edi + 0x160b], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x50], xmm0
je 0x4b3f98
mov eax, dword [edi + 0x1610]
test eax, eax
je 0x4b3e19
mov ecx, dword [edi + 0x160c]
test ecx, ecx
je 0x4b3e19
cmp dword [ecx + 4], eax
jae 0x4b3f98
cmp dword [0x7efe40], 0
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
jne 0x4b3e40
cmp dword [0x7efe44], 0
jne 0x4b3e40
mov ebx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x50]
jmp 0x4b3eb2
lea eax, [ebp - 0x30]
push eax
call esi
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov ecx, dword [ebp - 0x30]
sub ecx, dword [0x7efe48]
mov eax, dword [ebp - 0x2c]
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 ebx, 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 - 0x10], eax
sub ebx, ecx
mov ecx, eax
add ebx, 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, ebx
cdq
add ecx, eax
mov dword [ebp - 0x10], ecx
adc esi, edx
call fcn.006e6b64
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4b3f98
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x4b3f01
push eax
call fcn.006e60fe
add esp, 4
mov dword [ebx + 0x10], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0xc], esi
mov esi, dword [edi + 0x160c]
mov dword [ebx], 3
mov dword [ebx + 8], eax
mov dword [ebx + 0x14], 0
test esi, esi
je 0x4b3f98
cmp byte [esi + 0x10], 0
je 0x4b3f37
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4b3f37
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x10], eax
push 0xc
push 1
test eax, eax
je 0x4b3f6b
call fcn.006e6b64
add esp, 8
test eax, eax
je 0x4b3f82
mov ecx, dword [ebp - 0x10]
mov dword [eax], ebx
mov dword [eax + 4], ecx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov dword [ecx + 8], eax
test edx, edx
je 0x4b3f7c
mov dword [edx + 4], eax
jmp 0x4b3f7f
call fcn.006e6b64
add esp, 8
test eax, eax
je 0x4b3f82
mov dword [eax], ebx
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
inc dword [esi + 4]
cmp byte [esi + 0x10], 0
je 0x4b3f98
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4b3f98
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, edi
call fcn.0045edf0
mov al, byte [ebp - 1]
mov byte [edi + 0x1572], al
mov eax, dword [0x7f0310]
mov esi, dword [eax + 0x1c]
mov eax, dword [edi + 0x148]
test eax, eax
je 0x4b3fc3
push eax
call fcn.006e60fe
add esp, 4
mov dword [edi + 0x148], 0
test esi, esi
je 0x4b3fe0
push esi
call fcn.006e718e
add esp, 4
mov dword [edi + 0x148], eax
mov ecx, edi
call fcn.0045f800
mov edx, dword [0x7f030c]
xor ecx, ecx
cmp dword [0x7f0300], ecx
jbe 0x4b403a
xor edi, edi
nop dword [eax]
mov eax, dword [edx + edi*4]
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4b400e
xor ebx, ebx
jmp 0x4b4011
mov ebx, dword [eax + 4]
mov eax, dword [edx + ecx*4]
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4b401f
xor esi, esi
jmp 0x4b4022
mov esi, dword [eax + 4]
cmp ebx, esi
mov eax, ecx
cmovbe eax, edi
inc ecx
mov edi, eax
cmp ecx, dword [0x7f0300]
jb 0x4b4000
mov dword [ebp - 0x18], edi
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov eax, dword [edi + 0x98]
mov dword [ebp - 0x1c], eax
lea ebx, [ecx*4]
mov esi, dword [ebx + edx]
mov dword [ebp - 8], ebx
test esi, esi
je 0x4b42f4
test eax, eax
js 0x4b42f4
mov esi, dword [esi + 0x14]
test esi, esi
je 0x4b42f4
mov eax, dword [esi + 0x24]
test eax, eax
je 0x4b42f4
lea ecx, [ebp - 0x1c]
push 4
push ecx
call eax
xor edx, edx
add esp, 8
div dword [esi + 4]
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x2c], edx
lea ecx, [edx*4]
cmp dword [ecx + eax], 0
mov dword [ebp - 0x10], ecx
je 0x4b42ee
mov eax, dword [esi + 0x20]
push 0x10
push 1
mov dword [ebp - 0x24], eax
call fcn.006e6b64
mov ebx, eax
add esp, 8
mov dword [ebp - 0xc], ebx
test ebx, ebx
je 0x4b42ee
mov eax, dword [ebx]
test eax, eax
je 0x4b40d1
push eax
call fcn.006e60fe
add esp, 4
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x4b40ec
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x4b40ec
push ecx
call eax
add esp, 4
mov dword [ebx + 8], 0
push 1
push 4
call fcn.006e6b64
mov ecx, eax
add esp, 8
mov dword [ebx], ecx
test ecx, ecx
jne 0x4b4114
push ebx
mov dword [ebx + 4], eax
mov dword [ebx + 0xc], eax
call fcn.006e60fe
add esp, 4
jmp 0x4b42ee
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x24]
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x30]
mov dword [ebx + 4], 4
mov dword [ebx + 8], edi
test eax, eax
je 0x4b4139
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ecx + eax]
test ebx, ebx
je 0x4b414c
cmp dword [ebx + 4], 0
jne 0x4b4152
inc dword [esi + 8]
mov ebx, dword [ecx + eax]
test ebx, ebx
je 0x4b41db
cmp byte [ebx + 0x10], 0
je 0x4b4170
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x4b4170
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x24], eax
push 0xc
push 1
test eax, eax
je 0x4b41a9
call fcn.006e6b64
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x4b41c5
mov eax, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0x24]
mov dword [ecx + 4], eax
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov dword [eax + 8], ecx
test edx, edx
je 0x4b41bf
mov dword [edx + 4], ecx
jmp 0x4b41c2
call fcn.006e6b64
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x4b41c5
mov eax, dword [ebp - 0xc]
mov dword [ecx], eax
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
inc dword [ebx + 4]
cmp byte [ebx + 0x10], 0
je 0x4b41db
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x4b41db
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x2c]
cmp eax, dword [esi + 0xc]
jae 0x4b41e6
mov dword [esi + 0xc], eax
cmp eax, dword [esi + 0x10]
jbe 0x4b41ee
mov dword [esi + 0x10], eax
inc dword [esi + 0x14]
xor edx, edx
cmp dword [esi + 4], edx
jbe 0x4b4229
mov edi, dword [esi + 0x2c]
mov ecx, dword [esi + 0x1c]
nop
mov eax, dword [edi + edx*4]
test eax, eax
jne 0x4b420b
xor ebx, ebx
jmp 0x4b420e
mov ebx, dword [eax + 4]
cmp ebx, ecx
jae 0x4b4220
test eax, eax
jne 0x4b421a
xor ecx, ecx
jmp 0x4b421d
mov ecx, dword [eax + 4]
mov dword [esi + 0x1c], ecx
inc edx
cmp edx, dword [esi + 4]
jb 0x4b4200
mov edi, dword [ebp - 0x14]
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + eax]
test eax, eax
jne 0x4b423a
xor ecx, ecx
jmp 0x4b423d
mov ecx, dword [eax + 4]
cmp ecx, dword [esi + 0x18]
jbe 0x4b424c
test eax, eax
je 0x4b4249
mov eax, dword [eax + 4]
mov dword [esi + 0x18], eax
mov ebx, dword [esi + 0x28]
test ebx, ebx
je 0x4b42dc
cmp byte [ebx + 0x10], 0
je 0x4b426d
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x4b426d
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x2c], eax
push 0xc
push 1
test eax, eax
je 0x4b42a6
call fcn.006e6b64
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x4b42c2
mov eax, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0x2c]
mov dword [ecx + 4], eax
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov dword [eax + 8], ecx
test edx, edx
je 0x4b42bc
mov dword [edx + 4], ecx
jmp 0x4b42bf
call fcn.006e6b64
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x4b42c2
mov eax, dword [ebp - 0xc]
mov dword [ecx], eax
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
inc dword [ebx + 4]
cmp byte [ebx + 0x10], 0
je 0x4b42dc
mov eax, dword [ebx + 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test eax, eax
je 0x4b42e2
push dword [eax + 4]
call ebx
jmp 0x4b42e2
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esi + 0x30]
test eax, eax
je 0x4b42ee
push dword [eax + 4]
call ebx
mov edx, dword [0x7f030c]
mov esi, dword [ebp - 8]
mov eax, dword [edi + 0x9c]
mov dword [ebp - 0x20], eax
mov esi, dword [esi + edx]
test esi, esi
je 0x4b45a4
test eax, eax
js 0x4b45a4
mov esi, dword [esi + 0x14]
test esi, esi
je 0x4b45a4
mov eax, dword [esi + 0x24]
test eax, eax
je 0x4b45a4
lea ecx, [ebp - 0x20]
push 4
push ecx
call eax
xor edx, edx
add esp, 8
div dword [esi + 4]
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x24], edx
lea ecx, [edx*4]
cmp dword [ecx + eax], 0
mov dword [ebp - 0x10], ecx
je 0x4b459e
mov eax, dword [esi + 0x20]
push 0x10
push 1
mov dword [ebp - 0x2c], eax
call fcn.006e6b64
mov ebx, eax
add esp, 8
mov dword [ebp - 0xc], ebx
test ebx, ebx
je 0x4b459e
mov eax, dword [ebx]
test eax, eax
je 0x4b4381
push eax
call fcn.006e60fe
add esp, 4
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x4b439c
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x4b439c
push ecx
call eax
add esp, 4
mov dword [ebx + 8], 0
push 1
push 4
call fcn.006e6b64
mov ecx, eax
add esp, 8
mov dword [ebx], ecx
test ecx, ecx
jne 0x4b43c4
push ebx
mov dword [ebx + 4], eax
mov dword [ebx + 0xc], eax
call fcn.006e60fe
add esp, 4
jmp 0x4b459e
mov eax, dword [ebp - 0x20]
mov dword [ecx], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x30]
mov dword [ebx + 4], 4
mov dword [ebx + 8], edi
test eax, eax
je 0x4b43e9
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ecx + eax]
test ebx, ebx
je 0x4b43fc
cmp dword [ebx + 4], 0
jne 0x4b4402
inc dword [esi + 8]
mov ebx, dword [ecx + eax]
test ebx, ebx
je 0x4b448b
cmp byte [ebx + 0x10], 0
je 0x4b4420
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x4b4420
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x2c], eax
push 0xc
push 1
test eax, eax
je 0x4b4459
call fcn.006e6b64
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x4b4475
mov eax, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0x2c]
mov dword [ecx + 4], eax
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov dword [eax + 8], ecx
test edx, edx
je 0x4b446f
mov dword [edx + 4], ecx
jmp 0x4b4472
call fcn.006e6b64
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x4b4475
mov eax, dword [ebp - 0xc]
mov dword [ecx], eax
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
inc dword [ebx + 4]
cmp byte [ebx + 0x10], 0
je 0x4b448b
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x4b448b
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x24]
cmp eax, dword [esi + 0xc]
jae 0x4b4496
mov dword [esi + 0xc], eax
cmp eax, dword [esi + 0x10]
jbe 0x4b449e
mov dword [esi + 0x10], eax
inc dword [esi + 0x14]
xor edx, edx
cmp dword [esi + 4], edx
jbe 0x4b44d9
mov edi, dword [esi + 0x2c]
mov ecx, dword [esi + 0x1c]
nop
mov eax, dword [edi + edx*4]
test eax, eax
jne 0x4b44bb
xor ebx, ebx
jmp 0x4b44be
mov ebx, dword [eax + 4]
cmp ebx, ecx
jae 0x4b44d0
test eax, eax
jne 0x4b44ca
xor ecx, ecx
jmp 0x4b44cd
mov ecx, dword [eax + 4]
mov dword [esi + 0x1c], ecx
inc edx
cmp edx, dword [esi + 4]
jb 0x4b44b0
mov edi, dword [ebp - 0x14]
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + eax]
test eax, eax
jne 0x4b44ea
xor ecx, ecx
jmp 0x4b44ed
mov ecx, dword [eax + 4]
cmp ecx, dword [esi + 0x18]
jbe 0x4b44fc
test eax, eax
je 0x4b44f9
mov eax, dword [eax + 4]
mov dword [esi + 0x18], eax
mov ebx, dword [esi + 0x28]
test ebx, ebx
je 0x4b458c
cmp byte [ebx + 0x10], 0
je 0x4b451d
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x4b451d
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x2c], eax
push 0xc
push 1
test eax, eax
je 0x4b4556
call fcn.006e6b64
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x4b4572
mov eax, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0x2c]
mov dword [ecx + 4], eax
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov dword [eax + 8], ecx
test edx, edx
je 0x4b456c
mov dword [edx + 4], ecx
jmp 0x4b456f
call fcn.006e6b64
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x4b4572
mov eax, dword [ebp - 0xc]
mov dword [ecx], eax
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
inc dword [ebx + 4]
cmp byte [ebx + 0x10], 0
je 0x4b458c
mov eax, dword [ebx + 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test eax, eax
je 0x4b4592
push dword [eax + 4]
call ebx
jmp 0x4b4592
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esi + 0x30]
test eax, eax
je 0x4b459e
push dword [eax + 4]
call ebx
mov edx, dword [0x7f030c]
mov eax, dword [ebp - 8]
mov eax, dword [eax + edx]
mov esi, dword [eax + 0xc]
test esi, esi
je 0x4b461a
cmp byte [esi + 0x10], 0
je 0x4b45c7
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4b45c7
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [esi + 0xc]
push 0xc
push 1
call fcn.006e6b64
add esp, 8
test ebx, ebx
je 0x4b45f5
test eax, eax
je 0x4b4604
mov ecx, dword [ebx + 8]
mov dword [eax], edi
mov dword [eax + 8], ecx
mov dword [ebx + 8], eax
mov dword [eax + 4], ebx
test ecx, ecx
je 0x4b45fe
mov dword [ecx + 4], eax
jmp 0x4b4601
test eax, eax
je 0x4b4604
mov dword [eax], edi
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
inc dword [esi + 4]
cmp byte [esi + 0x10], 0
je 0x4b461a
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4b461a
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x7f0314]
test eax, eax
je 0x4b4799
cmp dword [eax + 0x14], 6
jl 0x4b4799
push dword [ebp - 0x18]
push dword [edi + 0x9c]
push dword [edi + 0x98]
push edi
push 0x3bc
push str.d:_srcmaster_2022ClientOSSServicecsproxy_srcconn_queue.c
push str.__s:_d_:_n___s_n__client__03d__server__03d__will_be_connected_by_est_thread__lu
push 6
call fcn.00472f60
mov edi, eax
add esp, 0x20
mov dword [ebp - 0x18], edi
test edi, edi
je 0x4b4799
mov edi, dword [0x7f0314]
test edi, edi
je 0x4b478e
cmp byte [edi + 8], 0
je 0x4b478e
cmp dword [edi + 0x14], 6
jl 0x4b478e
mov esi, eax
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x4b4690
mov eax, dword [edi + 0x20]
sub esi, ecx
add eax, esi
cmp dword [edi + 0x28], eax
jb 0x4b478e
test esi, esi
je 0x4b478e
push 8
push 1
call fcn.006e6b64
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4b478e
push 1
push esi
call fcn.006e6b64
add esp, 8
mov dword [ebx], eax
test eax, eax
jne 0x4b46eb
push dword [ebp - 0x18]
mov dword [ebx + 4], eax
call fcn.006e60fe
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push dword [ebp - 0x18]
push eax
call fcn.006dccc0
mov eax, dword [edi + 0x24]
add esp, 0xc
mov dword [ebx + 4], esi
test eax, eax
je 0x4b470e
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 0x4b471e
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [edi + 0x1c]
test esi, esi
je 0x4b478e
cmp byte [esi + 0x10], 0
je 0x4b473b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4b473b
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 0x4b4769
test eax, eax
je 0x4b4778
mov ecx, dword [edi + 8]
mov dword [eax], ebx
mov dword [eax + 8], ecx
mov dword [edi + 8], eax
mov dword [eax + 4], edi
test ecx, ecx
je 0x4b4772
mov dword [ecx + 4], eax
jmp 0x4b4775
test eax, eax
je 0x4b4778
mov dword [eax], ebx
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
inc dword [esi + 4]
cmp byte [esi + 0x10], 0
je 0x4b478e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4b478e
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebp - 0x18]
call fcn.006e60fe
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret