Function at 0x347da358
Capabilities:
Get hostname

Disassembly:
sub esp, 0xd8
mov eax, dword [0x347765c8]
xor eax, esp
mov dword [esp + 0xd4], eax
mov ecx, dword [0x34775b80]
mov eax, dword [0x34775b7c]
mov edx, dword [0x34775b84]
push 0x52
mov dword [esp + 0x78], ecx
mov dword [esp + 0x74], eax
mov eax, dword [0x34775b88]
lea ecx, [esp + 0x84]
push 0
push ecx
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], eax
call sub.msvcr80.dll_memset
add esp, 0xc
lea edx, [esp + 8]
push edx
push 0x10
lea eax, [esp + 0x14]
push eax
push 0
push 0
mov dword [esp + 0x18], 0x62
call sym.acerep.dll_Ordinal_2044
test eax, eax
jge 0x347da5fd
cmp eax, 0xffffb1c6
je 0x347da3e3
cmp eax, 0xffffb1d3
jne 0x347da5ff
lea ecx, [esp + 0xc]
push ecx
call fcn.347e069c
test eax, eax
jl 0x347da5ff
push 0x10
lea edx, [esp + 0x10]
push edx
push 0
push 0
call fcn.347a031e
test eax, eax
jl 0x347da5ff
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x74]
push ecx
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x347da452
lea eax, [esp + 0x70]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x347da428
sub eax, edx
sar eax, 1
lea edx, [eax + eax + 1]
push edx
lea eax, [esp + 0x74]
push eax
push 0x14
push 0
call fcn.347a031e
test eax, eax
jl 0x347da5ff
push 4
lea ecx, [esp + 4]
push ecx
push 0xb
push 0
mov dword [esp + 0x10], 0
call fcn.347a031e
test eax, eax
jl 0x347da5ff
push 4
lea edx, [esp + 4]
push edx
push 0xc
push 0
call fcn.347a031e
test eax, eax
jl 0x347da5ff
push 4
lea eax, [esp + 4]
push eax
push 0x18
push 0
call fcn.347a031e
test eax, eax
jl 0x347da5ff
push 4
lea ecx, [esp + 4]
push ecx
push 2
push 0
mov dword [esp + 0x10], 1
call fcn.347a031e
test eax, eax
jl 0x347da5ff
push 4
lea edx, [esp + 4]
push edx
push 1
push 0
mov dword [esp + 0x10], 1
call fcn.347a031e
test eax, eax
jl 0x347da5ff
push 0x54
lea eax, [esp + 0x20]
push 0
push eax
call sub.msvcr80.dll_memset
add esp, 0xc
push 0x54
mov al, 8
or byte [esp + 0x21], al
or byte [esp + 0x2d], al
or byte [esp + 0x39], al
or byte [esp + 0x45], al
or byte [esp + 0x51], al
or byte [esp + 0x5d], al
or byte [esp + 0x69], al
lea ecx, [esp + 0x20]
push ecx
push 0xf
push 0
call fcn.347a031e
test eax, eax
jl 0x347da5ff
push 0x54
lea edx, [esp + 0x20]
push 0
push edx
call sub.msvcr80.dll_memset
add esp, 0xc
mov eax, 0x40
lea ecx, [eax - 0x40]
shr ecx, 3
or byte [esp + ecx + 0x1c], 0x80
lea ecx, [esp + ecx + 0x1c]
lea ecx, [eax - 0x20]
shr ecx, 3
or byte [esp + ecx + 0x1c], 0x80
lea ecx, [esp + ecx + 0x1c]
mov ecx, eax
shr ecx, 3
or byte [esp + ecx + 0x1c], 0x80
lea ecx, [esp + ecx + 0x1c]
add eax, 0x60
cmp eax, 0x2e0
jb 0x347da53f
push 0x54
lea edx, [esp + 0x20]
push edx
push 0x15
push 0
call fcn.347a031e
test eax, eax
jl 0x347da5ff
push 4
lea eax, [esp + 4]
push eax
push 0x24
push 0
mov dword [esp + 0x10], 0x78
call fcn.347a031e
test eax, eax
jl 0x347da5ff
push 4
lea ecx, [esp + 4]
push ecx
push 0x25
push 0
call fcn.347a031e
test eax, eax
jl 0x347da5ff
push 4
lea edx, [esp + 4]
push edx
push 0x26
push 0
mov dword [esp + 0x10], 0xe10
call fcn.347a031e
test eax, eax
jl 0x347da5ff
push 4
lea eax, [esp + 4]
push eax
push 0x27
push 0
call fcn.347a031e
test eax, eax
jl 0x347da5ff
push 4
lea ecx, [esp + 4]
push ecx
push 0x28
push 0
call fcn.347a031e
test eax, eax
jl 0x347da5ff
xor eax, eax
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.347ea89f
add esp, 0xd8
ret