Function at 0x45b700
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x854
mov eax, dword [0x7eba44]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov byte [ebp - 0x841], 0
mov byte [ebp - 0x842], 0
mov byte [ebp - 0x849], 0
push esi
push edi
test ebx, ebx
je 0x45c5da
mov ax, word [ebx + 0xce6]
lea ecx, [ebx + 0xca4]
mov word [ebx + 0xd2a], ax
lea esi, [ebx + 0x15a8]
lea eax, [ebp - 0x841]
xor edx, edx
push eax
push ecx
lea eax, [ebp - 0x842]
push eax
push esi
lea eax, [ebx + 0xa98]
push eax
lea eax, [ebx + 0x150]
push eax
lea eax, [ebx + 0x594]
push eax
push dword [ebx + 0xc9c]
push dword [ebx + 0xc98]
push ecx
call fcn.004860c0
add esp, 0x28
cmp byte [esi], 0
je 0x45b98b
movq xmm0, qword [str.localhost]
lea ecx, [ebx + 0xce8]
mov ax, word [0x7d8514]
movq qword [ebp - 0x10], xmm0
mov word [ebp - 8], ax
mov dword [ebp - 0x83c], 0
test ecx, ecx
je 0x45b7e0
mov edx, dword [ebx + 0x14c]
lea eax, [ebp - 0x83c]
push 0
push eax
push 0x41
push ecx
push ecx
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.004abb30
add esp, 0x18
mov esi, dword [0x7efe24]
test esi, esi
je 0x45b982
cmp dword [esi + 0x14], 6
jl 0x45b982
push dword [ebx + 0x9c]
push dword [ebx + 0x98]
push ebx
push 0x529
push str.d:_srcmaster_2022ClientOSSServicecsproxy_srcconn.c
push str.__s:_d_:_n___s_n__client__03d__server__03d__request_is_local
push 6
call fcn.00472f60
mov edi, eax
add esp, 0x1c
mov dword [ebp - 0x840], edi
test edi, edi
je 0x45b97c
mov edi, dword [0x7efe24]
test edi, edi
je 0x45b96e
cmp byte [edi + 8], 0
je 0x45b96e
cmp dword [edi + 0x14], 6
jl 0x45b96e
mov esi, eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x45b855
mov eax, dword [edi + 0x20]
sub esi, ecx
add eax, esi
cmp dword [edi + 0x28], eax
jb 0x45b96e
test esi, esi
je 0x45b96e
push 8
push 1
call fcn.006e6b64
add esp, 8
mov dword [ebp - 0x848], eax
test eax, eax
je 0x45b96e
push 1
push esi
call fcn.006e6b64
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x848]
mov dword [eax], ecx
test ecx, ecx
jne 0x45b8af
mov dword [eax + 4], ecx
jmp 0x45b96e
push esi
push dword [ebp - 0x840]
push ecx
call fcn.006dccc0
mov eax, dword [ebp - 0x848]
add esp, 0xc
mov dword [eax + 4], esi
mov eax, dword [edi + 0x24]
test eax, eax
je 0x45b8db
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 0x45b8eb
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [edi + 0x1c]
test esi, esi
je 0x45b96e
cmp byte [esi + 0x10], 0
je 0x45b908
mov eax, dword [esi + 0x14]
test eax, eax
je 0x45b908
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 0x45b941
test eax, eax
je 0x45b958
mov ecx, dword [ebp - 0x848]
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 0x45b93c
mov dword [ecx + 4], eax
jmp 0x45b955
mov dword [esi + 0xc], eax
jmp 0x45b955
mov ecx, eax
test ecx, ecx
je 0x45b958
mov eax, dword [ebp - 0x848]
mov dword [ecx], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ecx
inc dword [esi + 4]
cmp byte [esi + 0x10], 0
je 0x45b96e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x45b96e
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebp - 0x840]
call fcn.006e60fe
add esp, 4
mov esi, dword [0x7efe24]
mov byte [ebp - 0x849], 1
jmp 0x45b991
mov esi, dword [0x7efe24]
mov al, byte [0x7d3deb]
mov edi, dword [ebx + 0x14c]
push 0x400
mov byte [ebp - 0x430], al
lea eax, [ebp - 0x42f]
push 0
push eax
mov dword [ebp - 0x83c], edi
call fcn.006dca70
lea eax, [ebx + 0xca4]
add esp, 0xc
test eax, eax
je 0x45bd47
mov ax, word [0x7d8514]
mov edx, edi
movq xmm0, qword [str.localhost]
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x850]
push eax
push 0
push 0
push 0
push ecx
lea eax, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
push eax
mov ecx, ebx
mov dword [ebp - 0x850], 0
call fcn.004abb30
mov edi, dword [ebp - 0x850]
add esp, 0x18
xor esi, esi
test edi, edi
je 0x45baa9
nop dword [eax + eax]
mov ax, word [0x7d8514]
movq xmm0, qword [str.localhost]
mov edx, dword [ebp - 0x83c]
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x850]
push 0
push eax
push 0x401
lea eax, [ebp - 0x430]
movq qword [ebp - 0x28], xmm0
push eax
push ecx
lea eax, [ebp - 0x28]
mov dword [ebp - 0x850], esi
push eax
mov ecx, ebx
call fcn.004abb30
add esp, 0x18
lea ecx, [ebx + 0xca4]
lea eax, [ebp - 0x430]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x45ba93
test dl, dl
je 0x45ba8f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x45ba93
add eax, 2
add ecx, 2
test dl, dl
jne 0x45ba73
xor eax, eax
jmp 0x45ba98
sbb eax, eax
or eax, 1
test eax, eax
je 0x45bd75
inc esi
cmp esi, edi
jb 0x45ba20
mov edx, dword [ebp - 0x83c]
mov ecx, ebx
call fcn.004abfc0
xor esi, esi
mov dword [ebp - 0x854], eax
mov dword [ebp - 0x848], esi
test eax, eax
je 0x45bd41
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
nop dword [eax]
nop word [eax + eax]
mov al, byte [0x7d3deb]
push 0x400
mov byte [ebp - 0x838], al
lea eax, [ebp - 0x837]
push 0
push eax
call fcn.006dca70
add esp, 0xc
mov dword [ebp - 0x850], esi
lea eax, [ebp - 0x838]
push 0x401
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
je 0x45bcf6
mov eax, dword [0x7f02b8]
test eax, eax
je 0x45bcca
cmp dword [eax + 0x14], 4
jl 0x45bcca
call edi
push eax
call fcn.006e72af
add esp, 4
push eax
call edi
push eax
push 0x44e
push str.d:_srcmaster_2022ClientOSSServicecsproxy_src_sock.c
push str.__s:_d_:_n__gethostname___failed__error__d:_s
push 4
call fcn.00472f60
mov edi, eax
add esp, 0x18
mov dword [ebp - 0x850], edi
test edi, edi
je 0x45bcc4
mov edi, dword [0x7f02b8]
test edi, edi
je 0x45bcb6
cmp byte [edi + 8], 0
je 0x45bcb6
cmp dword [edi + 0x14], 4
jl 0x45bcb6
mov esi, eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x45bb97
mov eax, dword [edi + 0x20]
sub esi, ecx
add eax, esi
cmp dword [edi + 0x28], eax
jb 0x45bcb0
test esi, esi
je 0x45bcb0
push 8
push 1
call fcn.006e6b64
add esp, 8
mov dword [ebp - 0x840], eax
test eax, eax
je 0x45bcb0
push 1
push esi
call fcn.006e6b64
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x840]
mov dword [eax], ecx
test ecx, ecx
jne 0x45bbf1
mov dword [eax + 4], ecx
jmp 0x45bcb0
push esi
push dword [ebp - 0x850]
push ecx
call fcn.006dccc0
mov eax, dword [ebp - 0x840]
add esp, 0xc
mov dword [eax + 4], esi
mov eax, dword [edi + 0x24]
test eax, eax
je 0x45bc1d
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 0x45bc2d
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [edi + 0x1c]
test esi, esi
je 0x45bcb0
cmp byte [esi + 0x10], 0
je 0x45bc4e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x45bc4e
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 0x45bc85
test eax, eax
je 0x45bc9a
mov ecx, dword [ebp - 0x840]
mov dword [eax], ecx
mov ecx, dword [edi + 8]
mov dword [eax + 8], ecx
mov dword [edi + 8], eax
mov ecx, dword [eax + 8]
mov dword [eax + 4], edi
test ecx, ecx
je 0x45bc94
mov dword [ecx + 4], eax
jmp 0x45bc97
test eax, eax
je 0x45bc9a
mov ecx, dword [ebp - 0x840]
mov dword [eax], ecx
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
inc dword [esi + 4]
cmp byte [esi + 0x10], 0
je 0x45bcb0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x45bcb0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [ebp - 0x848]
push dword [ebp - 0x850]
call fcn.006e60fe
add esp, 4
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
lea ecx, [ebx + 0xca4]
lea eax, [ebp - 0x430]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x45bd25
test dl, dl
je 0x45bcf2
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x45bd25
add eax, 2
add ecx, 2
test dl, dl
jne 0x45bcd6
xor eax, eax
jmp 0x45bd2a
mov edx, dword [ebp - 0x83c]
lea eax, [ebp - 0x850]
push 0
push eax
push 0x401
lea eax, [ebp - 0x430]
push eax
push ecx
lea eax, [ebp - 0x838]
mov ecx, ebx
push eax
call fcn.004abb30
add esp, 0x18
jmp 0x45bcca
sbb eax, eax
or eax, 1
test eax, eax
je 0x45bd75
inc esi
mov dword [ebp - 0x848], esi
cmp esi, dword [ebp - 0x854]
jb 0x45bae0
mov esi, dword [0x7efe24]
cmp byte [ebp - 0x849], 0
je 0x45bf45
mov byte [ebx + 0x159c], 1
mov word [ebx + 0x694], 0x101
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006dbabd
mov esp, ebp
pop ebp
ret
push 0x41
lea eax, [ebx + 0xca4]
push eax
lea eax, [ebx + 0xce8]
push eax
call fcn.006e6a40
mov ax, word [ebx + 0xce6]
add esp, 0xc
mov word [ebx + 0xd2a], ax
mov eax, dword [0x7efe24]
test eax, eax
je 0x45bd54
cmp dword [eax + 0x14], 6
jl 0x45bd54
push dword [ebx + 0x9c]
push dword [ebx + 0x98]
push ebx
push 0x53a
push str.d:_srcmaster_2022ClientOSSServicecsproxy_srcconn.c
push str.__s:_d_:_n___s_n__client__03d__server__03d__request_is_non_transparent
push 6
call fcn.00472f60
mov edi, eax
add esp, 0x1c
mov dword [ebp - 0x83c], edi
test edi, edi
je 0x45bd54
mov edi, dword [0x7efe24]
test edi, edi
je 0x45bf32
cmp byte [edi + 8], 0
je 0x45bf32
cmp dword [edi + 0x14], 6
jl 0x45bf32
mov esi, eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x45be07
mov eax, dword [edi + 0x20]
sub esi, ecx
add eax, esi
cmp dword [edi + 0x28], eax
jb 0x45bf32
test esi, esi
je 0x45bf32
push 8
push 1
call fcn.006e6b64
add esp, 8
mov dword [ebp - 0x840], eax
test eax, eax
je 0x45bf32
push 1
push esi
call fcn.006e6b64
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x840]
mov dword [eax], ecx
test ecx, ecx
jne 0x45be6f
push dword [ebp - 0x83c]
mov dword [eax + 4], ecx
call fcn.006e60fe
add esp, 4
jmp 0x45bd54
push esi
push dword [ebp - 0x83c]
push ecx
call fcn.006dccc0
mov eax, dword [ebp - 0x840]
add esp, 0xc
mov dword [eax + 4], esi
mov eax, dword [edi + 0x24]
test eax, eax
je 0x45be9b
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 0x45beab
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [edi + 0x1c]
test esi, esi
je 0x45bf32
cmp byte [esi + 0x10], 0
je 0x45becc
mov eax, dword [esi + 0x14]
test eax, eax
je 0x45becc
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 0x45bf05
test eax, eax
je 0x45bf1c
mov ecx, dword [ebp - 0x840]
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 0x45bf00
mov dword [ecx + 4], eax
jmp 0x45bf19
mov dword [esi + 0xc], eax
jmp 0x45bf19
mov ecx, eax
test ecx, ecx
je 0x45bf1c
mov eax, dword [ebp - 0x840]
mov dword [ecx], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ecx
inc dword [esi + 4]
cmp byte [esi + 0x10], 0
je 0x45bf32
mov eax, dword [esi + 0x14]
test eax, eax
je 0x45bf32
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebp - 0x83c]
call fcn.006e60fe
add esp, 4
jmp 0x45bd54
cmp byte [ebx + 0x696], 0
je 0x45c14d
cmp byte [ebp - 0x841], 0
je 0x45c0d2
test esi, esi
je 0x45c27d
cmp dword [esi + 0x14], 7
jl 0x45c27d
push dword [ebx + 0x9c]
push dword [ebx + 0x98]
push ebx
push 0x54c
push str.d:_srcmaster_2022ClientOSSServicecsproxy_srcconn.c
push str.__s:_d_:_n___s_n__client__03d__server__03d__SSL_collection_for_server_is_enabled
push 7
call fcn.00472f60
mov edi, eax
add esp, 0x1c
mov dword [ebp - 0x83c], edi
test edi, edi
je 0x45c277
mov edi, dword [0x7efe24]
test edi, edi
je 0x45c269
cmp byte [edi + 8], 0
je 0x45c269
cmp dword [edi + 0x14], 7
jl 0x45c269
mov esi, eax
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x45bfd0
mov eax, dword [edi + 0x20]
sub esi, ecx
add eax, esi
cmp dword [edi + 0x28], eax
jb 0x45c269
test esi, esi
je 0x45c269
push 8
push 1
call fcn.006e6b64
add esp, 8
mov dword [ebp - 0x840], eax
test eax, eax
je 0x45c269
push 1
push esi
call fcn.006e6b64
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x840]
mov dword [eax], ecx
test ecx, ecx
jne 0x45c02e
mov dword [eax + 4], 0
jmp 0x45c269
push esi
push dword [ebp - 0x83c]
push ecx
call fcn.006dccc0
mov eax, dword [ebp - 0x840]
add esp, 0xc
mov dword [eax + 4], esi
mov eax, dword [edi + 0x24]
test eax, eax
je 0x45c05a
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 0x45c06a
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [edi + 0x1c]
test esi, esi
je 0x45c269
cmp byte [esi + 0x10], 0
je 0x45c08b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x45c08b
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 0x45c23c
test eax, eax
je 0x45c253
mov ecx, dword [ebp - 0x840]
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 0x45c0ca
mov dword [ecx + 4], eax
jmp 0x45c250
mov dword [esi + 0xc], eax
jmp 0x45c250
test esi, esi
je 0x45c27d
cmp dword [esi + 0x14], 6
jl 0x45c27d
push dword [ebx + 0x9c]
push dword [ebx + 0x98]
push ebx
push 0x551
push str.d:_srcmaster_2022ClientOSSServicecsproxy_srcconn.c
push str.__s:_d_:_n___s_n__client__03d__server__03d__SSL_collection_for_server_is_disabled
push 6
call fcn.00472f60
mov edi, eax
add esp, 0x1c
mov dword [ebp - 0x83c], edi
test edi, edi
je 0x45c277
mov edi, dword [0x7efe24]
test edi, edi
je 0x45c269
cmp byte [edi + 8], 0
je 0x45c269
cmp dword [edi + 0x14], 6
jl 0x45c269
mov esi, eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x45c141
jmp 0x45bfd7
cmp byte [ebp - 0x841], 0
je 0x45c1d1
test esi, esi
je 0x45c27d
cmp dword [esi + 0x14], 6
jl 0x45c27d
push dword [ebx + 0x9c]
push dword [ebx + 0x98]
push ebx
push 0x559
push str.d:_srcmaster_2022ClientOSSServicecsproxy_srcconn.c
push str.__s:_d_:_n___s_n__client__03d__server__03d__SSL_collection_for_server_is_enabled
push 6
call fcn.00472f60
mov edi, eax
add esp, 0x1c
mov dword [ebp - 0x83c], edi
test edi, edi
je 0x45c277
mov edi, dword [0x7efe24]
test edi, edi
je 0x45c269
cmp byte [edi + 8], 0
je 0x45c269
cmp dword [edi + 0x14], 6
jl 0x45c269
mov esi, eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x45c1c5
jmp 0x45bfd7
test esi, esi
je 0x45c27d
cmp dword [esi + 0x14], 7
jl 0x45c27d
push dword [ebx + 0x9c]
push dword [ebx + 0x98]
push ebx
push 0x55e
push str.d:_srcmaster_2022ClientOSSServicecsproxy_srcconn.c
push str.__s:_d_:_n___s_n__client__03d__server__03d__SSL_collection_for_server_is_disabled
push 7
call fcn.00472f60
mov edi, eax
add esp, 0x1c
mov dword [ebp - 0x83c], edi
test edi, edi
je 0x45c277
mov edi, dword [0x7efe24]
test edi, edi
je 0x45c269
cmp byte [edi + 8], 0
je 0x45c269
cmp dword [edi + 0x14], 7
jl 0x45c269
mov esi, eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x45c230
jmp 0x45bfd7
mov ecx, eax
test ecx, ecx
je 0x45c253
mov eax, dword [ebp - 0x840]
mov dword [esi + 0xc], ecx
mov dword [ecx], eax
mov dword [esi + 8], ecx
inc dword [esi + 4]
cmp byte [esi + 0x10], 0
je 0x45c269
mov eax, dword [esi + 0x14]
test eax, eax
je 0x45c269
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebp - 0x83c]
call fcn.006e60fe
add esp, 4
mov esi, dword [0x7efe24]
cmp byte [ebx + 0x160a], 0
je 0x45c45f
cmp byte [ebp - 0x842], 0
je 0x45c3e4
test esi, esi
je 0x45c5da
cmp dword [esi + 0x14], 7
jl 0x45c5da
push dword [ebx + 0x9c]
push dword [ebx + 0x98]
push ebx
push 0x567
push str.d:_srcmaster_2022ClientOSSServicecsproxy_srcconn.c
push str.__s:_d_:_n___s_n__client__03d__server__03d__io_events_collection_for_server_is_enabled
push 7
call fcn.00472f60
mov edi, eax
add esp, 0x1c
mov dword [ebp - 0x83c], edi
test edi, edi
je 0x45c5da
mov edi, dword [0x7efe24]
test edi, edi
je 0x45c5cc
cmp byte [edi + 8], 0
je 0x45c5cc
cmp dword [edi + 0x14], 7
jl 0x45c5cc
mov esi, eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x45c306
mov eax, dword [edi + 0x20]
sub esi, ecx
add eax, esi
cmp dword [edi + 0x28], eax
jb 0x45c5cc
test esi, esi
je 0x45c5cc
push 8
push 1
call fcn.006e6b64
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x45c5cc
push 1
push esi
call fcn.006e6b64
add esp, 8
mov dword [ebx], eax
test eax, eax
je 0x45c59e
push esi
push dword [ebp - 0x83c]
push eax
call fcn.006dccc0
mov eax, dword [edi + 0x24]
add esp, 0xc
mov dword [ebx + 4], esi
test eax, eax
je 0x45c376
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 0x45c386
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [edi + 0x1c]
test esi, esi
je 0x45c5cc
cmp byte [esi + 0x10], 0
je 0x45c3a7
mov eax, dword [esi + 0x14]
test eax, eax
je 0x45c3a7
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 0x45c5a7
test eax, eax
je 0x45c5b6
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 0x45c5b0
mov dword [ecx + 4], eax
jmp 0x45c5b3
test esi, esi
je 0x45c5da
cmp dword [esi + 0x14], 6
jl 0x45c5da
push dword [ebx + 0x9c]
push dword [ebx + 0x98]
push ebx
push 0x56c
push str.d:_srcmaster_2022ClientOSSServicecsproxy_srcconn.c
push str.__s:_d_:_n___s_n__client__03d__server__03d__io_events_collection_for_server_is_disabled
push 6
call fcn.00472f60
mov edi, eax
add esp, 0x1c
mov dword [ebp - 0x83c], edi
test edi, edi
je 0x45c5da
mov edi, dword [0x7efe24]
test edi, edi
je 0x45c5cc
cmp byte [edi + 8], 0
je 0x45c5cc
cmp dword [edi + 0x14], 6
jl 0x45c5cc
mov esi, eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x45c453
jmp 0x45c30d
cmp byte [ebp - 0x842], 0
je 0x45c4ec
test esi, esi
je 0x45c5da
cmp dword [esi + 0x14], 6
jl 0x45c5da
push dword [ebx + 0x9c]
push dword [ebx + 0x98]
push ebx
push 0x574
push str.d:_srcmaster_2022ClientOSSServicecsproxy_srcconn.c
push str.__s:_d_:_n___s_n__client__03d__server__03d__io_events_collection_for_server_is_enabled
push 6
call fcn.00472f60
mov edi, eax
add esp, 0x1c
mov dword [ebp - 0x83c], edi
test edi, edi
je 0x45c5da
mov edi, dword [0x7efe24]
test edi, edi
je 0x45c5cc
cmp byte [edi + 8], 0
je 0x45c5cc
cmp dword [edi + 0x14], 6
jl 0x45c5cc
mov esi, eax
lea ecx, [esi + 1]
nop dword [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x45c4e0
jmp 0x45c30d
test esi, esi
je 0x45c5da
cmp dword [esi + 0x14], 7
jl 0x45c5da
push dword [ebx + 0x9c]
push dword [ebx + 0x98]
push ebx
push 0x579
push str.d:_srcmaster_2022ClientOSSServicecsproxy_srcconn.c
push str.__s:_d_:_n___s_n__client__03d__server__03d__io_events_collection_for_server_is_disabled
push 7
call fcn.00472f60
mov edi, eax
add esp, 0x1c
mov dword [ebp - 0x83c], edi
test edi, edi
je 0x45c5da
mov edi, dword [0x7efe24]
test edi, edi
je 0x45c5cc
cmp byte [edi + 8], 0
je 0x45c5cc
cmp dword [edi + 0x14], 7
jl 0x45c5cc
mov esi, eax
lea ecx, [esi + 1]
nop dword [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x45c560
mov eax, dword [edi + 0x20]
sub esi, ecx
add eax, esi
cmp dword [edi + 0x28], eax
jb 0x45c5cc
test esi, esi
je 0x45c5cc
push 8
push 1
call fcn.006e6b64
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x45c5cc
push 1
push esi
call fcn.006e6b64
add esp, 8
mov dword [ebx], eax
test eax, eax
jne 0x45c350
mov dword [ebx + 4], 0
jmp 0x45c5cc
test eax, eax
je 0x45c5b6
mov dword [eax], ebx
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
inc dword [esi + 4]
cmp byte [esi + 0x10], 0
je 0x45c5cc
mov eax, dword [esi + 0x14]
test eax, eax
je 0x45c5cc
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebp - 0x83c]
call fcn.006e60fe
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006dbabd
mov esp, ebp
pop ebp
ret