Function at 0x40deb0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x378c
call fcn.0044b470
mov eax, dword [0x46614c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov byte [ebp - 0x3228], 0
push 0x1787
push 0
lea eax, [ebp - 0x3227]
push eax
call fcn.00448bd0
add esp, 0xc
mov byte [ebp - 0x19a0], 0
push 0x1783
push 0
lea ecx, [ebp - 0x199f]
push ecx
call fcn.00448bd0
add esp, 0xc
mov byte [ebp - 0x1aa0], 0
push 0xff
push 0
lea edx, [ebp - 0x1a9f]
push edx
call fcn.00448bd0
add esp, 0xc
mov dword [ebp - 0x214], 0x100
mov byte [ebp - 0x210], 0
push 0x1ff
push 0
lea eax, [ebp - 0x20f]
push eax
call fcn.00448bd0
add esp, 0xc
mov dword [ebp - 0x322c], 0
xor ecx, ecx
mov word [ebp - 0x3788], cx
push 0x540
push 0
lea edx, [ebp - 0x3784]
push edx
call fcn.00448bd0
add esp, 0xc
lea eax, [ebp - 0x3210]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0x1770
mov dword [ebp - 8], 2
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x1aa0]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea eax, [ebp - 0x322c]
push eax
lea ecx, [ebp - 0x210]
push ecx
push 0
call fcn.0041f020
add esp, 0xc
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00448c50
add esp, 4
push eax
push 0x55
lea ecx, [ebp - 0xc]
push ecx
call fcn.0040a810
add esp, 0x10
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.00448c50
add esp, 4
push eax
push 0x50
lea ecx, [ebp - 0xc]
push ecx
call fcn.0040a810
add esp, 0x10
lea edx, [ebp - 0x1aa0]
push edx
lea eax, [ebp - 0x1aa0]
push eax
call fcn.00448c50
add esp, 4
push eax
push 0x4d
lea ecx, [ebp - 0xc]
push ecx
call fcn.0040a810
add esp, 0x10
lea edx, [ebp - 0x210]
push edx
mov eax, dword [ebp - 0x322c]
push eax
push 0x49
lea ecx, [ebp - 0xc]
push ecx
call fcn.0040a810
add esp, 0x10
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.00417450
add esp, 8
mov ecx, dword [ebp - 8]
add ecx, 2
mov word [ebp - 0x3226], cx
xor edx, edx
mov word [ebp - 0x199e], dx
mov eax, dword [ebp - 0x36e4]
or eax, 0x8000
mov dword [ebp - 0x36e4], eax
push 0x10
mov ecx, dword [ebp + 0x14]
push ecx
lea edx, [ebp - 0x3740]
push edx
call fcn.00448ea0
add esp, 0xc
lea eax, [ebp - 0x19a0]
push eax
lea ecx, [ebp - 0x3228]
push ecx
lea edx, [ebp - 0x3788]
push edx
call fcn.0040cb00
add esp, 0xc
mov dword [ebp - 0x323c], eax
cmp dword [ebp - 0x323c], 0
je 0x40e0b3
mov eax, dword [ebp - 0x323c]
jmp 0x40e1c2
movzx eax, word [ebp - 0x198e]
test eax, eax
je 0x40e0ca
movzx eax, word [ebp - 0x198e]
jmp 0x40e1c2
movzx ecx, word [ebp - 0x199e]
test ecx, ecx
jne 0x40e0dc
xor eax, eax
jmp 0x40e1c2
lea edx, [ebp - 0x198c]
push edx
call fcn.00417410
add esp, 4
movzx eax, ax
mov dword [ebp - 0x3234], eax
cmp dword [ebp - 0x3234], 4
jae 0x40e104
xor eax, eax
jmp 0x40e1c2
mov ecx, dword [ebp - 0x3234]
add ecx, 2
mov dword [ebp - 0x3234], ecx
mov dword [ebp - 0x3230], 2
mov edx, dword [ebp - 0x3230]
add edx, 3
cmp edx, dword [ebp - 0x3234]
jae 0x40e1c0
mov eax, dword [ebp - 0x3230]
lea ecx, [ebp + eax - 0x198b]
push ecx
call fcn.00417410
add esp, 4
movzx edx, ax
mov dword [ebp - 0x3238], edx
mov eax, dword [ebp - 0x3230]
mov cl, byte [ebp + eax - 0x198c]
mov byte [ebp - 0x378c], cl
cmp byte [ebp - 0x378c], 0x50
je 0x40e16f
jmp 0x40e1a5
mov edx, dword [ebp - 0x3238]
mov eax, dword [ebp - 0x3230]
lea ecx, [eax + edx + 3]
cmp ecx, dword [ebp - 0x3234]
ja 0x40e1a5
mov edx, dword [ebp - 0x3230]
lea eax, [ebp + edx - 0x1989]
push eax
call fcn.00417410
add esp, 4
movzx ecx, ax
mov edx, dword [ebp + 0x18]
mov dword [edx], ecx
mov eax, dword [ebp - 0x3238]
mov ecx, dword [ebp - 0x3230]
lea edx, [ecx + eax + 3]
mov dword [ebp - 0x3230], edx
jmp 0x40e11d
xor eax, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044892a
mov esp, ebp
pop ebp
ret