Function at 0x4641c0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc9c
mov eax, dword [0x7eba44]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x7d3deb]
push ebx
push esi
push edi
push 0x400
mov byte [ebp - 0x430], al
mov ebx, ecx
lea eax, [ebp - 0x42f]
mov byte [ebp - 0xc4d], 0
push 0
push eax
call fcn.006dca70
add esp, 0xc
test ebx, ebx
je 0x4654a7
cmp dword [ebx + 0x15a4], 4
jge 0x4654a7
cmp byte [ebx + 0x159c], 0
je 0x4654a7
mov ecx, ebx
call fcn.0045a3f0
push 0
push ecx
lea eax, [ebp - 0xc4d]
push eax
lea esi, [ebx + 0x15a8]
push esi
lea eax, [ebx + 0xa98]
push eax
lea eax, [ebx + 0x150]
push eax
lea eax, [ebx + 0x594]
push eax
push dword [ebx + 0xc9c]
lea edi, [ebx + 0xd70]
push dword [ebx + 0xc98]
mov edx, edi
push 0
call fcn.004860c0
mov al, byte [ebx + 0x160b]
add esp, 0x28
cmp byte [ebx + 0x160a], 0
je 0x46449b
test al, al
je 0x4647a9
mov al, byte [ebp - 0xc4d]
mov byte [ebx + 0x160b], al
test al, al
mov eax, dword [0x7efe24]
je 0x46431c
test eax, eax
je 0x4647a9
cmp dword [eax + 0x14], 7
jl 0x4647a9
push dword [ebx + 0x9c]
push dword [ebx + 0x98]
push ebx
push 0xdb7
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 - 0xc48], edi
test edi, edi
je 0x4647a3
mov edi, dword [0x7efe24]
test edi, edi
je 0x464795
cmp byte [edi + 8], 0
je 0x464795
cmp dword [edi + 0x14], 7
jl 0x464795
mov esi, eax
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x464310
jmp 0x464679
test eax, eax
je 0x4647a9
cmp dword [eax + 0x14], 6
jl 0x4647a9
push dword [ebx + 0x9c]
push dword [ebx + 0x98]
push ebx
push 0xdbc
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 - 0xc48], edi
test edi, edi
je 0x4647a3
mov edi, dword [0x7efe24]
test edi, edi
je 0x464795
cmp byte [edi + 8], 0
je 0x464795
cmp dword [edi + 0x14], 6
jl 0x464795
mov esi, eax
lea ecx, [esi + 1]
nop dword [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x464390
mov eax, dword [edi + 0x20]
sub esi, ecx
add eax, esi
cmp dword [edi + 0x28], eax
jb 0x46478f
test esi, esi
je 0x46478f
push 8
push 1
call fcn.006e6b64
add esp, 8
mov dword [ebp - 0xc44], eax
test eax, eax
je 0x46478f
push 1
push esi
call fcn.006e6b64
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0xc44]
mov dword [eax], ecx
test ecx, ecx
jne 0x4643ea
mov dword [eax + 4], ecx
jmp 0x46478f
push esi
push dword [ebp - 0xc48]
push ecx
call fcn.006dccc0
mov eax, dword [ebp - 0xc44]
add esp, 0xc
mov dword [eax + 4], esi
mov eax, dword [edi + 0x24]
test eax, eax
je 0x464416
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 0x464426
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [edi + 0x1c]
test esi, esi
je 0x46478f
cmp byte [esi + 0x10], 0
je 0x464447
mov eax, dword [esi + 0x14]
test eax, eax
je 0x464447
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 0x464486
test eax, eax
je 0x464779
mov ecx, dword [ebp - 0xc44]
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 0x46475d
mov dword [ecx + 4], eax
jmp 0x464776
mov ecx, eax
test ecx, ecx
je 0x464779
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ecx
jmp 0x46476e
test al, al
jne 0x4647a9
mov al, byte [ebp - 0xc4d]
mov byte [ebx + 0x160b], al
test al, al
mov eax, dword [0x7efe24]
je 0x464603
test eax, eax
je 0x4647a9
cmp dword [eax + 0x14], 6
jl 0x4647a9
push dword [ebx + 0x9c]
push dword [ebx + 0x98]
push ebx
push 0xdcc
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 - 0xc48], edi
test edi, edi
je 0x4647a3
mov edi, dword [0x7efe24]
test edi, edi
je 0x464795
cmp byte [edi + 8], 0
je 0x464795
cmp dword [edi + 0x14], 6
jl 0x464795
mov esi, eax
lea ecx, [esi + 1]
nop dword [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x464530
mov eax, dword [edi + 0x20]
sub esi, ecx
add eax, esi
cmp dword [edi + 0x28], eax
jb 0x46478f
test esi, esi
je 0x46478f
push 8
push 1
call fcn.006e6b64
add esp, 8
mov dword [ebp - 0xc44], eax
test eax, eax
je 0x46478f
push 1
push esi
call fcn.006e6b64
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0xc44]
mov dword [eax], ecx
test ecx, ecx
jne 0x46458a
mov dword [eax + 4], ecx
jmp 0x46478f
push esi
push dword [ebp - 0xc48]
push ecx
call fcn.006dccc0
mov eax, dword [ebp - 0xc44]
add esp, 0xc
mov dword [eax + 4], esi
mov eax, dword [edi + 0x24]
test eax, eax
je 0x4645b6
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 0x4645c6
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [edi + 0x1c]
test esi, esi
je 0x46478f
cmp byte [esi + 0x10], 0
je 0x4645e7
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4645e7
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
jne 0x46445a
jmp 0x464486
test eax, eax
je 0x4647a9
cmp dword [eax + 0x14], 7
jl 0x4647a9
push dword [ebx + 0x9c]
push dword [ebx + 0x98]
push ebx
push 0xdd1
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 - 0xc48], edi
test edi, edi
je 0x4647a3
mov edi, dword [0x7efe24]
test edi, edi
je 0x464795
cmp byte [edi + 8], 0
je 0x464795
cmp dword [edi + 0x14], 7
jl 0x464795
mov esi, eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x464672
mov eax, dword [edi + 0x20]
sub esi, ecx
add eax, esi
cmp dword [edi + 0x28], eax
jb 0x46478f
test esi, esi
je 0x46478f
push 8
push 1
call fcn.006e6b64
add esp, 8
mov dword [ebp - 0xc44], eax
test eax, eax
je 0x46478f
push 1
push esi
call fcn.006e6b64
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0xc44]
mov dword [eax], ecx
test ecx, ecx
jne 0x4646d0
mov dword [eax + 4], 0
jmp 0x46478f
push esi
push dword [ebp - 0xc48]
push ecx
call fcn.006dccc0
mov eax, dword [ebp - 0xc44]
add esp, 0xc
mov dword [eax + 4], esi
mov eax, dword [edi + 0x24]
test eax, eax
je 0x4646fc
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 0x46470c
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [edi + 0x1c]
test esi, esi
je 0x46478f
cmp byte [esi + 0x10], 0
je 0x464729
mov eax, dword [esi + 0x14]
test eax, eax
je 0x464729
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 0x464762
test eax, eax
je 0x464779
mov ecx, dword [ebp - 0xc44]
mov dword [eax], ecx
mov ecx, dword [edi + 8]
mov dword [eax + 4], edi
mov dword [edi + 8], eax
mov dword [eax + 8], ecx
test ecx, ecx
je 0x46475d
mov dword [ecx + 4], eax
jmp 0x464776
mov dword [esi + 0xc], eax
jmp 0x464776
mov ecx, eax
test ecx, ecx
je 0x464779
mov dword [esi + 0xc], ecx
mov dword [esi + 8], ecx
mov eax, dword [ebp - 0xc44]
mov dword [ecx], eax
inc dword [esi + 4]
cmp byte [esi + 0x10], 0
je 0x46478f
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46478f
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea esi, [ebx + 0x15a8]
push dword [ebp - 0xc48]
call fcn.006e60fe
add esp, 4
lea edi, [ebx + 0xd70]
cmp byte [esi], 0
je 0x4647fb
mov ax, word [0x7d8514]
movq xmm0, qword [str.localhost]
mov edx, dword [ebx + 0x14c]
mov word [ebp - 8], ax
lea eax, [ebp - 0xc4c]
push 0
push eax
push 0x401
lea eax, [ebp - 0x430]
movq qword [ebp - 0x10], xmm0
push eax
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc4c], 0
push eax
mov ecx, ebx
call fcn.004abb30
add esp, 0x18
jmp 0x464810
push 0x401
lea eax, [ebp - 0x430]
push edi
push eax
call fcn.006e6a40
add esp, 0xc
mov al, byte [0x7d3deb]
mov esi, dword [ebx + 0x14c]
push 0x400
mov byte [ebp - 0x838], al
lea eax, [ebp - 0x837]
push 0
push eax
mov dword [ebp - 0xc4c], esi
call fcn.006dca70
mov ax, word [0x7d8514]
add esp, 0xc
movq xmm0, qword [str.localhost]
mov edx, esi
mov word [ebp - 0x14], ax
lea eax, [ebp - 0xc54]
movq qword [ebp - 0x1c], xmm0
push eax
push 0
push 0
push 0
push ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0xc54], 0
push eax
mov ecx, ebx
call fcn.004abb30
mov edi, dword [ebp - 0xc54]
add esp, 0x18
xor esi, esi
test edi, edi
je 0x464919
nop dword [eax]
mov ax, word [0x7d8514]
movq xmm0, qword [str.localhost]
mov edx, dword [ebp - 0xc4c]
mov word [ebp - 0x20], ax
lea eax, [ebp - 0xc54]
push 0
push eax
push 0x401
lea eax, [ebp - 0x838]
movq qword [ebp - 0x28], xmm0
push eax
push ecx
lea eax, [ebp - 0x28]
mov dword [ebp - 0xc54], esi
push eax
mov ecx, ebx
call fcn.004abb30
add esp, 0x18
lea ecx, [ebp - 0x430]
lea eax, [ebp - 0x838]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x464903
test dl, dl
je 0x4648ff
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x464903
add eax, 2
add ecx, 2
test dl, dl
jne 0x4648e3
xor eax, eax
jmp 0x464908
sbb eax, eax
or eax, 1
test eax, eax
je 0x464d73
inc esi
cmp esi, edi
jb 0x464890
mov edx, dword [ebp - 0xc4c]
mov ecx, ebx
call fcn.004abfc0
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
xor esi, esi
mov dword [ebp - 0xc58], eax
mov dword [ebp - 0xc44], esi
test eax, eax
je 0x464bb1
nop dword [eax]
nop word [eax + eax]
mov al, byte [0x7d3deb]
push 0x400
mov byte [ebp - 0xc40], al
lea eax, [ebp - 0xc3f]
push 0
push eax
call fcn.006dca70
add esp, 0xc
mov dword [ebp - 0xc54], esi
lea eax, [ebp - 0xc40]
push 0x401
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
je 0x464b62
mov eax, dword [0x7f02b8]
test eax, eax
je 0x464b36
cmp dword [eax + 0x14], 4
jl 0x464b36
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 - 0xc54], edi
test edi, edi
je 0x464b30
mov edi, dword [0x7f02b8]
test edi, edi
je 0x464b22
cmp byte [edi + 8], 0
je 0x464b22
cmp dword [edi + 0x14], 4
jl 0x464b22
mov esi, eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x464a07
mov eax, dword [edi + 0x20]
sub esi, ecx
add eax, esi
cmp dword [edi + 0x28], eax
jb 0x464b1c
test esi, esi
je 0x464b1c
push 8
push 1
call fcn.006e6b64
add esp, 8
mov dword [ebp - 0xc48], eax
test eax, eax
je 0x464b1c
push 1
push esi
call fcn.006e6b64
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0xc48]
mov dword [eax], ecx
test ecx, ecx
jne 0x464a61
mov dword [eax + 4], ecx
jmp 0x464b1c
push esi
push dword [ebp - 0xc54]
push ecx
call fcn.006dccc0
mov eax, dword [ebp - 0xc48]
add esp, 0xc
mov dword [eax + 4], esi
mov eax, dword [edi + 0x24]
test eax, eax
je 0x464a8d
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 0x464a9d
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [edi + 0x1c]
test esi, esi
je 0x464b1c
cmp byte [esi + 0x10], 0
je 0x464aba
mov eax, dword [esi + 0x14]
test eax, eax
je 0x464aba
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 0x464af1
test eax, eax
je 0x464b06
mov ecx, dword [ebp - 0xc48]
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 0x464b00
mov dword [ecx + 4], eax
jmp 0x464b03
test eax, eax
je 0x464b06
mov ecx, dword [ebp - 0xc48]
mov dword [eax], ecx
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
inc dword [esi + 4]
cmp byte [esi + 0x10], 0
je 0x464b1c
mov eax, dword [esi + 0x14]
test eax, eax
je 0x464b1c
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [ebp - 0xc44]
push dword [ebp - 0xc54]
call fcn.006e60fe
add esp, 4
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
lea ecx, [ebp - 0x430]
lea eax, [ebp - 0x838]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x464b91
test dl, dl
je 0x464b5e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x464b91
add eax, 2
add ecx, 2
test dl, dl
jne 0x464b42
xor eax, eax
jmp 0x464b96
mov edx, dword [ebp - 0xc4c]
lea eax, [ebp - 0xc54]
push 0
push eax
push 0x401
lea eax, [ebp - 0x838]
push eax
push ecx
lea eax, [ebp - 0xc40]
mov ecx, ebx
push eax
call fcn.004abb30
add esp, 0x18
jmp 0x464b36
sbb eax, eax
or eax, 1
test eax, eax
je 0x464d73
inc esi
mov dword [ebp - 0xc44], esi
cmp esi, dword [ebp - 0xc58]
jb 0x464950
xorps xmm0, xmm0
mov dword [ebp - 0xc94], 0
lea eax, [ebx + 0xce8]
movlpd qword [ebp - 0xc70], xmm0
movlpd qword [ebp - 0xc68], xmm0
movlpd qword [ebp - 0xc60], xmm0
test eax, eax
je 0x465497
mov eax, dword [0x7f02bc]
mov dword [ebp - 0xc98], ebx
mov dword [ebp - 0xc78], 1
mov dword [ebp - 0xc80], 0
mov ecx, dword [eax + 0xc8]
mov eax, dword [eax + 0xcc]
mov dword [ebp - 0xc8c], eax
lea eax, [ebp - 0x430]
mov dword [ebp - 0xc88], eax
mov eax, dword [ebx + 0x14c]
mov dword [ebp - 0xc7c], eax
movzx eax, word [ebx + 0xd2a]
mov dword [ebp - 0xc90], ecx
lea ecx, [ebp - 0xc98]
mov dword [ebp - 0xc74], 0
mov dword [ebp - 0xc84], eax
call fcn.004a8860
mov edi, eax
test edi, edi
jne 0x465477
mov esi, dword [ebp - 0xc5c]
mov dword [ebp - 0xc44], esi
test esi, esi
je 0x465425
cmp esi, 0x277b
je 0x465246
mov eax, dword [0x7f02b8]
mov edi, esi
test eax, eax
je 0x465421
cmp dword [eax + 0x14], 4
jl 0x465421
push 0
push 0x400
push 0x7f05e0
push 0x400
push esi
push 0
push 0x12ff
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push 0x7f05e0
push esi
lea eax, [ebp - 0x430]
push eax
push ebx
push 0x4fd
push str.d:_srcmaster_2022ClientOSSServicecsproxy_src_sock.c
push str.__s:_d_:_n___s_n___csp_sock_resolve___for__s_failed__error__d:_s
push 4
call fcn.00472f60
mov edi, eax
add esp, 0x20
mov dword [ebp - 0xc4c], edi
test edi, edi
je 0x46523f
mov edi, dword [0x7f02b8]
test edi, edi
je 0x465231
cmp byte [edi + 8], 0
je 0x465231
cmp dword [edi + 0x14], 4
jl 0x465231
mov esi, eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x464d15
mov eax, dword [edi + 0x20]
sub esi, ecx
add eax, esi
cmp dword [edi + 0x28], eax
jb 0x46522b
test esi, esi
je 0x46522b
push 8
push 1
call fcn.006e6b64
add esp, 8
mov dword [ebp - 0xc48], eax
test eax, eax
je 0x46522b
push 1
push esi
call fcn.006e6b64
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0xc48]
mov dword [eax], ecx
test ecx, ecx
jne 0x465168
mov dword [eax + 4], ecx
jmp 0x46522b
mov eax, dword [0x7efe2c]
mov esi, dword [eax + 0x58]
test esi, esi
je 0x464f90
cmp esi, dword [ebx + 0xa0]
jb 0x464f90
je 0x46512f
lea edi, [esi + esi]
lea eax, [edi + 1]
push eax
push dword [ebx + 0xa4]
call fcn.006f0784
add esp, 8
test eax, eax
je 0x464f90
lea ecx, [edi + 1]
mov dword [ebx + 0xa4], eax
push ecx
push 0
push eax
call fcn.006dca70
add esp, 0xc
lea eax, [esi + 1]
push eax
push dword [ebx + 0xa8]
call fcn.006f0784
add esp, 8
test eax, eax
je 0x464f90
mov edx, dword [ebx + 0xb0]
mov ecx, esi
sub ecx, edx
mov dword [ebx + 0xa8], eax
inc ecx
add eax, edx
push ecx
push 0
push eax
call fcn.006dca70
add esp, 0xc
lea eax, [esi + 1]
push eax
push dword [ebx + 0xb4]
call fcn.006f0784
add esp, 8
test eax, eax
je 0x464f90
mov edx, dword [ebx + 0xbc]
mov ecx, esi
sub ecx, edx
mov dword [ebx + 0xb4], eax
inc ecx
add eax, edx
push ecx
push 0
push eax
call fcn.006dca70
add esp, 0xc
lea eax, [esi + 1]
push eax
push dword [ebx + 0xc0]
call fcn.006f0784
add esp, 8
test eax, eax
je 0x464f90
mov edx, dword [ebx + 0xc8]
mov ecx, esi
sub ecx, edx
mov dword [ebx + 0xc0], eax
inc ecx
add eax, edx
push ecx
push 0
push eax
call fcn.006dca70
add esp, 0xc
lea eax, [esi + 1]
push eax
push dword [ebx + 0xcc]
call fcn.006f0784
add esp, 8
test eax, eax
je 0x464f90
mov edx, dword [ebx + 0xd4]
mov ecx, esi
sub ecx, edx
mov dword [ebx + 0xcc], eax
inc ecx
add eax, edx
push ecx
push 0
push eax
call fcn.006dca70
add esp, 0xc
lea eax, [esi + 1]
push eax
push dword [ebx + 0xd8]
call fcn.006f0784
add esp, 8
test eax, eax
je 0x464f90
mov edx, dword [ebx + 0xe0]
mov ecx, esi
sub ecx, edx
mov dword [ebx + 0xd8], eax
inc ecx
add eax, edx
push ecx
push 0
push eax
call fcn.006dca70
add esp, 0xc
lea eax, [edi + 1]
push eax
push dword [ebx + 0xe4]
call fcn.006f0784
add esp, 8
test eax, eax
je 0x464f90
mov edx, dword [ebx + 0xec]
mov ecx, edi
sub ecx, edx
mov dword [ebx + 0xe4], eax
inc ecx
add eax, edx
push ecx
push 0
push eax
call fcn.006dca70
add esp, 0xc
lea eax, [esi + 1]
push eax
push dword [ebx + 0xf0]
call fcn.006f0784
add esp, 8
test eax, eax
je 0x464f90
mov edx, dword [ebx + 0xf8]
mov ecx, esi
sub ecx, edx
mov dword [ebx + 0xf0], eax
inc ecx
add eax, edx
push ecx
push 0
push eax
call fcn.006dca70
add esp, 0xc
lea eax, [edi + 1]
push eax
push dword [ebx + 0xfc]
call fcn.006f0784
add esp, 8
test eax, eax
je 0x464f90
mov ecx, dword [ebx + 0x104]
sub edi, ecx
inc edi
mov dword [ebx + 0xfc], eax
push edi
add eax, ecx
push 0
push eax
call fcn.006dca70
add esp, 0xc
mov dword [ebx + 0xa0], esi
jmp 0x46512f
mov eax, dword [0x7efe24]
test eax, eax
je 0x46512f
cmp dword [eax + 0x14], 4
jl 0x46512f
push dword [ebx + 0x9c]
push dword [ebx + 0x98]
push ebx
push 0xde2
push str.d:_srcmaster_2022ClientOSSServicecsproxy_srcconn.c
push str.__s:_d_:_n___s_n__client__03d__server__03d__Failed_to_allocated_memory
push 4
call fcn.00472f60
mov edi, eax
add esp, 0x1c
mov dword [ebp - 0xc4c], edi
test edi, edi
je 0x46512f
mov edi, dword [0x7efe24]
test edi, edi
je 0x465121
cmp byte [edi + 8], 0
je 0x465121
cmp dword [edi + 0x14], 4
jl 0x465121
mov esi, eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x465004
mov eax, dword [edi + 0x20]
sub esi, ecx
add eax, esi
cmp dword [edi + 0x28], eax
jb 0x465121
test esi, esi
je 0x465121
push 8
push 1
call fcn.006e6b64
add esp, 8
mov dword [ebp - 0xc48], eax
test eax, eax
je 0x465121
push 1
push esi
call fcn.006e6b64
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0xc48]
mov dword [eax], ecx
test ecx, ecx
jne 0x46505e
mov dword [eax + 4], ecx
jmp 0x465121
push esi
push dword [ebp - 0xc4c]
push ecx
call fcn.006dccc0
mov eax, dword [ebp - 0xc48]
add esp, 0xc
mov dword [eax + 4], esi
mov eax, dword [edi + 0x24]
test eax, eax
je 0x46508a
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 0x46509a
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [edi + 0x1c]
test esi, esi
je 0x465121
cmp byte [esi + 0x10], 0
je 0x4650bb
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4650bb
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 0x4650f4
test eax, eax
je 0x46510b
mov ecx, dword [ebp - 0xc48]
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 0x4650ef
mov dword [ecx + 4], eax
jmp 0x465108
mov dword [esi + 0xc], eax
jmp 0x465108
mov ecx, eax
test ecx, ecx
je 0x46510b
mov eax, dword [ebp - 0xc48]
mov dword [ecx], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ecx
inc dword [esi + 4]
cmp byte [esi + 0x10], 0
je 0x465121
mov eax, dword [esi + 0x14]
test eax, eax
je 0x465121
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebp - 0xc4c]
call fcn.006e60fe
add esp, 4
xor edx, edx
mov byte [ebx + 0x159d], 1
push 0
lea eax, [ebx + 0xd70]
mov word [ebx + 0x694], 0x101
push 0
push eax
lea ecx, [edx + 2]
call fcn.0049b8d0
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006dbabd
mov esp, ebp
pop ebp
ret
push esi
push dword [ebp - 0xc4c]
push ecx
call fcn.006dccc0
mov eax, dword [ebp - 0xc48]
add esp, 0xc
mov dword [eax + 4], esi
mov eax, dword [edi + 0x24]
test eax, eax
je 0x465194
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 0x4651a4
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [edi + 0x1c]
test esi, esi
je 0x46522b
cmp byte [esi + 0x10], 0
je 0x4651c5
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4651c5
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 0x4651fe
test eax, eax
je 0x465215
mov ecx, dword [ebp - 0xc48]
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 0x4651f9
mov dword [ecx + 4], eax
jmp 0x465212
mov dword [esi + 0xc], eax
jmp 0x465212
mov ecx, eax
test ecx, ecx
je 0x465215
mov eax, dword [ebp - 0xc48]
mov dword [ecx], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ecx
inc dword [esi + 4]
cmp byte [esi + 0x10], 0
je 0x46522b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46522b
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [ebp - 0xc44]
push dword [ebp - 0xc4c]
call fcn.006e60fe
add esp, 4
mov edi, esi
jmp 0x465421
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
mov eax, dword [0x7f02b8]
test eax, eax
je 0x465421
cmp dword [eax + 0x14], 4
jl 0x465421
push edi
call fcn.006e72af
add esp, 4
push eax
push edi
lea eax, [ebp - 0x430]
push eax
push ebx
push 0x4f7
push str.d:_srcmaster_2022ClientOSSServicecsproxy_src_sock.c
push str.__s:_d_:_n___s_n___csp_sock_resolve___for__s_failed__error__d:_s
push 4
call fcn.00472f60
mov ecx, eax
add esp, 0x20
mov dword [ebp - 0xc54], ecx
test ecx, ecx
je 0x465421
mov ecx, dword [0x7f02b8]
mov dword [ebp - 0xc4c], ecx
test ecx, ecx
je 0x465413
cmp byte [ecx + 8], 0
je 0x465413
cmp dword [ecx + 0x14], 4
jl 0x465413
mov esi, eax
lea edx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x4652d0
mov eax, dword [ecx + 0x20]
sub esi, edx
add eax, esi
cmp dword [ecx + 0x28], eax
jb 0x465413
test esi, esi
je 0x465413
push 8
push 1
call fcn.006e6b64
add esp, 8
mov dword [ebp - 0xc48], eax
test eax, eax
je 0x465413
push 1
push esi
call fcn.006e6b64
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0xc48]
mov dword [eax], ecx
test ecx, ecx
jne 0x46532a
mov dword [eax + 4], ecx
jmp 0x465413
push esi
push dword [ebp - 0xc54]
push ecx
call fcn.006dccc0
mov eax, dword [ebp - 0xc48]
add esp, 0xc
mov dword [eax + 4], esi
mov eax, dword [ebp - 0xc4c]
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x465362
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0xc4c]
mov ecx, dword [eax + 0x24]
add dword [eax + 0x20], esi
test ecx, ecx
je 0x465378
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0xc4c]
mov esi, dword [eax + 0x1c]
test esi, esi
je 0x465413
cmp byte [esi + 0x10], 0
je 0x465399
mov eax, dword [esi + 0x14]
test eax, eax
je 0x465399
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0xc]
mov dword [ebp - 0xc58], eax
push 0xc
push 1
test eax, eax
je 0x4653de
call fcn.006e6b64
add esp, 8
test eax, eax
je 0x4653fd
mov ecx, dword [ebp - 0xc48]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc58]
mov dword [eax + 4], ecx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov dword [ecx + 8], eax
test edx, edx
je 0x4653d9
mov dword [edx + 4], eax
jmp 0x4653fa
mov dword [esi + 0xc], eax
jmp 0x4653fa
call fcn.006e6b64
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x4653fd
mov eax, dword [ebp - 0xc48]
mov dword [ecx], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ecx
inc dword [esi + 4]
cmp byte [esi + 0x10], 0
je 0x465413
mov eax, dword [esi + 0x14]
test eax, eax
je 0x465413
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebp - 0xc54]
call fcn.006e60fe
add esp, 4
test edi, edi
jne 0x465477
mov eax, dword [ebp - 0xc60]
or edi, 0xffffffff
test eax, eax
je 0x465497
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x465442
mov eax, dword [eax + 0x1c]
test eax, eax
jne 0x465432
jmp 0x465477
mov eax, dword [eax + 4]
sub eax, 2
je 0x465460
sub eax, 0x15
jne 0x465475
push 0x41
lea eax, [ebx + 0xce8]
push eax
lea eax, [ecx + 8]
push eax
push 0x17
jmp 0x46546f
push 0x41
lea eax, [ebx + 0xce8]
push eax
lea eax, [ecx + 4]
push eax
push 2
call dword [sym.imp.WS2_32.dll_inet_ntop]
xor edi, edi
mov eax, dword [ebp - 0xc60]
test eax, eax
je 0x465488
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
test edi, edi
jne 0x465497
mov ecx, ebx
call fcn.0045f800
test eax, eax
je 0x4654a7
mov word [ebx + 0x15b3], 0x101
mov byte [ebx + 0x15b2], 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006dbabd
mov esp, ebp
pop ebp
ret