Function at 0x4abfc0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
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 - 0x410], al
mov esi, edx
lea eax, [ebp - 0x40f]
mov edi, ecx
push 0
push eax
call fcn.006dca70
add esp, 0xc
mov dword [ebp - 0x414], 0
lea eax, [ebp - 0x410]
push 0x401
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
je 0x4ac1d1
mov eax, dword [0x7f02b8]
test eax, eax
je 0x4ac1be
cmp dword [eax + 0x14], 4
jl 0x4ac1be
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 0x438
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 - 0x414], edi
test edi, edi
je 0x4ac1be
mov edi, dword [0x7f02b8]
test edi, edi
je 0x4ac1b0
cmp byte [edi + 8], 0
je 0x4ac1b0
cmp dword [edi + 0x14], 4
jl 0x4ac1b0
mov esi, eax
lea ecx, [esi + 1]
nop dword [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x4ac0a0
mov eax, dword [edi + 0x20]
sub esi, ecx
add eax, esi
cmp dword [edi + 0x28], eax
jb 0x4ac1b0
test esi, esi
je 0x4ac1b0
push 8
push 1
call fcn.006e6b64
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4ac1b0
push 1
push esi
call fcn.006e6b64
add esp, 8
mov dword [ebx], eax
test eax, eax
jne 0x4ac10a
push dword [ebp - 0x414]
mov dword [ebx + 4], eax
call fcn.006e60fe
add esp, 4
xor eax, eax
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 - 0x414]
push eax
call fcn.006dccc0
mov eax, dword [edi + 0x24]
add esp, 0xc
mov dword [ebx + 4], esi
test eax, eax
je 0x4ac130
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 0x4ac140
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [edi + 0x1c]
test esi, esi
je 0x4ac1b0
cmp byte [esi + 0x10], 0
je 0x4ac15d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4ac15d
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 0x4ac18b
test eax, eax
je 0x4ac19a
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 0x4ac194
mov dword [ecx + 4], eax
jmp 0x4ac197
test eax, eax
je 0x4ac19a
mov dword [eax], ebx
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
inc dword [esi + 4]
cmp byte [esi + 0x10], 0
je 0x4ac1b0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4ac1b0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebp - 0x414]
call fcn.006e60fe
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006dbabd
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x414]
mov edx, esi
push eax
push 0
push 0
push 0
push ecx
lea eax, [ebp - 0x410]
mov ecx, edi
push eax
call fcn.004abb30
mov ecx, dword [ebp - 4]
add esp, 0x18
mov eax, dword [ebp - 0x414]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.006dbabd
mov esp, ebp
pop ebp
ret