Function at 0x40e1d0
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 - 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 dword [ebp - 0x36e4], 0
cmp dword [ebp + 8], 0
je 0x40e34e
mov eax, dword [ebp + 8]
push eax
call fcn.00448c50
add esp, 4
test eax, eax
jbe 0x40e34e
push 0x100
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x36c6]
push edx
call fcn.004227b0
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 0x40e385
mov eax, dword [ebp - 0x323c]
jmp 0x40e492
movzx eax, word [ebp - 0x198e]
test eax, eax
je 0x40e39c
movzx eax, word [ebp - 0x198e]
jmp 0x40e492
movzx ecx, word [ebp - 0x199e]
test ecx, ecx
jne 0x40e3ae
xor eax, eax
jmp 0x40e492
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 0x40e3d6
xor eax, eax
jmp 0x40e492
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 0x40e490
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], 0x53
je 0x40e441
jmp 0x40e475
mov edx, dword [ebp - 0x3238]
mov eax, dword [ebp - 0x3230]
lea ecx, [eax + edx + 3]
cmp ecx, dword [ebp - 0x3234]
ja 0x40e475
push 0x10
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x3230]
lea ecx, [ebp + eax - 0x1989]
push ecx
call fcn.00448ea0
add esp, 0xc
mov edx, dword [ebp - 0x3238]
mov eax, dword [ebp - 0x3230]
lea ecx, [eax + edx + 3]
mov dword [ebp - 0x3230], ecx
jmp 0x40e3ef
xor eax, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044892a
mov esp, ebp
pop ebp
ret