Function at 0x44f7b0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56d3d6
mov eax, dword fs:[0]
push eax
sub esp, 0x594
mov eax, dword [0x676300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x598], esi
call fcn.00454150
cmp dword [eax + 0x660], 0
je 0x44fe1d
mov ecx, dword [0x67eb8c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
cmp eax, 2
je 0x44fe1d
mov ecx, dword [0x67eb8c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
cmp eax, 4
je 0x44fe1d
lea ecx, [ebp - 0x588]
lea ebx, [esi + 0xc]
call fcn.0044baa0
mov eax, dword [esi + 6]
push eax
lea ecx, [ebx + 0x48c]
push ecx
lea ecx, [ebp - 0x588]
mov dword [ebp - 4], 0
call fcn.0044c940
lea edx, [ebp - 0x4cc]
push edx
lea ecx, [ebp - 0x588]
call fcn.0044f280
cmp dword [ebp - 0x4b8], 8
mov eax, dword [eax + 0x10]
lea eax, [eax*4 + 2]
mov dword [ebp - 0x58c], eax
jb 0x44f88a
mov ecx, dword [ebp - 0x4cc]
push ecx
call fcn.00535f7c
add esp, 4
mov ecx, dword [0x67eb88]
mov edi, dword [ebp - 0x58c]
mov edx, dword [ecx]
mov eax, dword [edx]
add edi, 0x48e
push edi
call eax
mov esi, eax
mov dword [ebp - 0x590], esi
test esi, esi
je 0x44fe12
push edi
push 0
push esi
call fcn.00534b40
mov ecx, dword [ebx + 0x480]
mov dword [esi + 0x480], ecx
mov eax, dword [ebx + 0x484]
add esp, 0xc
mov dword [esi + 0x484], eax
cmp eax, 0xffffffff
jne 0x44f8ec
push 0
call fcn.005377d5
add esp, 4
mov dword [esi + 0x484], eax
push 0x7f
push esi
push ebx
call fcn.004f0931
lea eax, [esi + 0x80]
push 0x7f
push eax
lea edx, [ebx + 0x80]
push edx
call fcn.004f0931
lea eax, [esi + 0x100]
push 0x7f
push eax
lea eax, [ebx + 0x100]
push eax
call fcn.004f0931
push 0x7f
lea edi, [esi + 0x180]
lea ecx, [ebx + 0x180]
push edi
push ecx
call fcn.004f0931
lea eax, [esi + 0x200]
push 0x7f
push eax
lea edx, [ebx + 0x200]
push edx
call fcn.004f0931
push 0x7f
lea eax, [esi + 0x280]
push eax
lea ecx, [ebx + 0x280]
push ecx
call fcn.004f0931
add esp, 0x48
lea eax, [esi + 0x300]
push 0x7f
push eax
lea edx, [ebx + 0x300]
push edx
call fcn.004f0931
lea eax, [esi + 0x380]
push 0x7f
push eax
lea eax, [ebx + 0x380]
push eax
call fcn.004f0931
lea eax, [esi + 0x400]
push 0x7f
push eax
add ebx, 0x400
push ebx
call fcn.004f0931
add esp, 0x24
lea ecx, [ebp - 0x4cc]
push ecx
lea ecx, [ebp - 0x588]
call fcn.0044f280
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 1
jb 0x44f9c1
mov eax, dword [eax]
mov edx, dword [ebp - 0x58c]
push edx
lea ebx, [esi + 0x48c]
push ebx
push eax
mov dword [ebp - 0x59c], ebx
call fcn.004f0931
add esp, 0xc
lea ecx, [ebp - 0x4cc]
mov byte [ebp - 4], 0
call fcn.0044b260
mov eax, ebx
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x44f9f2
sub eax, ecx
mov dword [esi + 0x488], eax
push 0x7f
lea eax, [ebp - 0xaf]
push 0
push eax
mov byte [ebp - 0xb0], dl
call fcn.00534b40
push 0x3ff
lea ecx, [ebp - 0x4af]
push 0
push ecx
mov byte [ebp - 0x4b0], 0
call fcn.00534b40
lea eax, [esi + 0x80]
add esp, 0x18
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44fa40
sub eax, edx
jne 0x44fa5d
mov eax, esi
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [eax + 0x80], cl
inc eax
test cl, cl
jne 0x44fa50
lea eax, [esi + 0x200]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44fa66
sub eax, edx
jne 0x44fa8a
lea edx, [esi + 0x200]
mov eax, edi
sub edx, edi
jmp 0x44fa80
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x44fa80
lea eax, [esi + 0x380]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44fa93
sub eax, edx
jne 0x44faba
lea eax, [esi + 0x300]
lea edx, [esi + 0x380]
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x44fab0
push edi
lea edx, [ebp - 0xb0]
push 0x579720
push edx
call fcn.00535bfb
add esp, 0xc
lea ecx, [esi + 0x200]
lea eax, [ebp - 0xb0]
jmp 0x44fae0
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x44fb00
test dl, dl
je 0x44fafc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x44fb00
add eax, 2
add ecx, 2
test dl, dl
jne 0x44fae0
xor eax, eax
jmp 0x44fb05
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x44fbbc
push edi
lea eax, [ebp - 0xb0]
push str.__s_
push eax
call fcn.00535bfb
lea eax, [ebp - 0xb0]
add esp, 0xc
lea edx, [eax + 1]
jmp 0x44fb30
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44fb30
sub eax, edx
mov edx, eax
lea eax, [esi + 0x200]
lea ebx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44fb44
sub eax, ebx
sub eax, edx
lea ecx, [ebp - 0xb0]
lea eax, [eax + esi + 0x200]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x44fb80
test dl, dl
je 0x44fb7c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x44fb80
add eax, 2
add ecx, 2
test dl, dl
jne 0x44fb60
xor eax, eax
jmp 0x44fb85
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea edx, [ebp - 0x4b0]
lea eax, [esi + 0x200]
je 0x44fbad
lea ecx, [ebp - 0xb0]
push ecx
push eax
push 0x57c6f8
push edx
call fcn.00535bfb
add esp, 0x10
jmp 0x44fbda
sub edx, eax
nop
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x44fbb0
jmp 0x44fbda
lea eax, [esi + 0x200]
lea edx, [ebp - 0x4b0]
sub edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x44fbd0
lea eax, [ebp - 0x4b0]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44fbe3
mov ecx, dword [esi + 0x488]
sub eax, edx
lea edi, [eax + ecx + 0x41f]
mov ecx, dword [0x67eb88]
mov edx, dword [ecx]
mov eax, dword [edx]
push edi
call eax
mov ebx, eax
test ebx, ebx
jne 0x44fc1f
mov ecx, dword [0x67eb88]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
jmp 0x44fe12
push edi
push 0
push ebx
call fcn.00534b40
mov ecx, dword [ebp - 0x598]
mov eax, dword [ecx + 6]
lea edx, [eax + eax*4]
lea eax, [edx + edx + 1]
mov ecx, 8
add esp, 0xc
mov dword [ebx + 4], eax
mov word [ebx], cx
call fcn.00434a50
push eax
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [ebx + 0x194], eax
mov edx, dword [esi + 0x480]
push esi
lea eax, [ebx + 8]
push 0x579720
push eax
mov dword [ebx + 0x188], edx
call fcn.00535bfb
push 0x3f
lea eax, [esi + 0x80]
push eax
lea ecx, [ebx + 0x48]
push ecx
call fcn.00537970
push 0x3f
lea eax, [esi + 0x100]
push eax
lea edx, [ebx + 0x88]
push edx
call fcn.00537970
lea eax, [esi + 0x300]
push eax
lea eax, [ebx + 0xc8]
push 0x579720
push eax
call fcn.00535bfb
push 0x3f
lea eax, [esi + 0x380]
push eax
lea ecx, [ebx + 0x108]
push ecx
call fcn.00537970
push 0x3f
lea eax, [esi + 0x400]
push eax
lea edx, [ebx + 0x148]
push edx
call fcn.00537970
mov eax, dword [esi + 0x484]
mov dword [ebx + 0x18c], eax
xor eax, eax
mov byte [ebp - 0x30], 0
mov dword [ebp - 0x2f], eax
mov dword [ebp - 0x2b], eax
mov dword [ebp - 0x27], eax
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov byte [ebp - 0x13], al
mov ecx, dword [ebx + 0x18c]
lea edx, [ebp - 0x5a0]
add esp, 0x48
push edx
mov dword [ebp - 0x5a0], ecx
call fcn.00537ecb
push eax
push 0x57a9dc
lea eax, [ebp - 0x30]
push 0x1e
push eax
call fcn.00539617
lea ecx, [ebp - 0x30]
lea eax, [ebx + 0x21c]
push ecx
lea edx, [ebp - 0x4b0]
push edx
push str._s_t_s_n
push eax
call fcn.00535bfb
mov eax, dword [ebp - 0x59c]
add esp, 0x24
mov esi, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44fd60
sub eax, esi
lea edi, [ebx + 0x21b]
nop
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x44fd70
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x594]
push eax
lea ecx, [ebx + 0x1f0]
push ecx
mov dword [ebp - 0x594], 0x1c
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea eax, [ebx + 0x21c]
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44fdb0
sub eax, esi
inc eax
push ebx
mov dword [ebx + 0x190], eax
lea esi, [eax + 0x21f]
call fcn.0044ee00
add esp, 4
call fcn.00454150
mov eax, dword [eax + 0x660]
mov edx, dword [eax]
push esi
push ebx
mov ecx, eax
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [0x67eb88]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov ecx, dword [0x67eb88]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x590]
mov edx, dword [edx + 4]
push eax
call edx
push 1
call fcn.00434c00
add esp, 4
lea ecx, [ebp - 0x588]
call fcn.0044f1a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00534bba
mov esp, ebp
pop ebp
ret 4