Function at 0x4425b0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0cda
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4e96d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebx + 4], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebp - 4], 0
mov dword [ebx], vtable.CAddRangeDlg.0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
call fcn.0040d990
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x442630
push 0x80004005
call fcn.0040abe0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx + 0x30], eax
mov byte [ebp - 4], 1
call fcn.0040d990
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x44265d
push 0x80004005
call fcn.0040abe0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx + 0x34], eax
mov byte [ebp - 4], 2
call fcn.0040d990
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x44268a
push 0x80004005
call fcn.0040abe0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx + 0x38], eax
mov byte [ebp - 4], 3
call fcn.0040d990
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4426b7
push 0x80004005
call fcn.0040abe0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx + 0x3c], eax
mov byte [ebp - 4], 4
call fcn.0040d990
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4426e4
push 0x80004005
call fcn.0040abe0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx + 0x40], eax
mov byte [ebp - 4], 5
call fcn.0040d990
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x442711
push 0x80004005
call fcn.0040abe0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx + 0x44], eax
mov byte [ebp - 4], 6
call fcn.0040d990
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x44273e
push 0x80004005
call fcn.0040abe0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 7
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x442773
push 0x104
lea ecx, [ebp - 0x10]
call fcn.0041ae80
mov esi, dword [ebp - 0x10]
cmp dword [esi - 8], 0x104
jge 0x442786
push 0x80070057
call fcn.0040abe0
push 0x104
mov dword [esi - 0xc], 0x104
push esi
mov byte [esi + 0x104], 0
call dword [sym.imp.WSOCK32.dll_gethostname]
push esi
lea ecx, [ebp - 0x18]
call fcn.00418f10
lea edx, [ebp - 0x1c]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x18]
call fcn.00469ad0
mov ebx, dword [ebp - 0x1c]
mov edi, dword [sym.imp.WSOCK32.dll_htonl]
push ebx
call edi
mov ecx, dword [ebp - 0x14]
and eax, 0xffffff00
inc eax
push ebx
mov dword [ecx + 0x20], eax
call edi
mov ebx, dword [ebp - 0x14]
and eax, 0xffffff00
mov byte [ebp - 4], 7
add eax, 0xff
mov edx, dword [ebp - 0x18]
or edi, 0xffffffff
add edx, 0xfffffff0
mov dword [ebx + 0x24], eax
mov eax, edi
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x442806
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x442821
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret