Function at 0x347abe44
Capabilities:
Get hostname

Disassembly:
sub esp, 0x43c
mov eax, dword [0x347765c8]
xor eax, esp
mov dword [esp + 0x438], eax
mov eax, dword [esp + 0x44c]
mov ecx, dword [esp + 0x45c]
push ebx
mov ebx, dword [esp + 0x458]
push ebp
mov ebp, dword [esp + 0x450]
cmp ebp, 0x31
push esi
mov esi, dword [esp + 0x44c]
push edi
mov edi, dword [esp + 0x454]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], 0x208
mov dword [esp + 0x10], 0
mov dword [esp + 0x20], 0x31
ja 0x347abeb7
mov dword [esp + 0x20], ebp
call fcn.3477734d
xor ecx, ecx
cmp ebp, ecx
mov word [esp + 0x30], cx
mov word [esp + 0x38], cx
je 0x347abed3
cmp edi, ecx
je 0x347abed3
mov word [edi], cx
cmp dword [esp + 0x460], ecx
je 0x347abee7
mov eax, dword [esp + 0x14]
cmp eax, ecx
je 0x347abee7
mov word [eax], cx
mov edi, dword [esp + 0x468]
cmp edi, ecx
je 0x347abef9
cmp ebx, ecx
je 0x347abef9
mov word [ebx], cx
push esi
call fcn.347777d4
test eax, eax
je 0x347abf51
push edi
push ebx
mov ebx, dword [sym.imp.MSO.dll_Ordinal_6877]
push esi
call ebx
lea edi, [esi + 4]
push 0x5c
push edi
call dword [sym.imp.msvcr80.dll_wcschr]
mov esi, eax
add esp, 8
test esi, esi
je 0x347ac10a
mov edx, dword [esp + 0x1c]
push ebp
push edx
push edi
mov word [esi], 0
call ebx
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x14]
mov word [esi], 0x5c
xor eax, eax
mov dword [esp + 0x10], 1
jmp 0x347ac0c6
push esi
call fcn.34777459
test eax, eax
je 0x347ac10a
mov ax, word [esi]
mov cx, word [esi + 2]
mov word [esp + 0x30], ax
mov word [esp + 0x32], cx
mov word [esp + 0x34], 0
call fcn.347ab0d6
test eax, eax
je 0x347ac10a
push 3
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x38]
push eax
call fcn.347772fe
test eax, eax
jne 0x347abfa0
xor eax, eax
jmp 0x347ac10e
push 0x208
lea ecx, [esp + 0x244]
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.347772fe
test eax, eax
je 0x347abf99
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x244]
push ecx
lea edx, [esp + 0x20]
push edx
call dword [0x347ed2e8]
mov edi, eax
push 3
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.347772e0
test eax, eax
je 0x347abf99
push 0x104
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x248]
push eax
call fcn.347772e0
test eax, eax
je 0x347abf99
test edi, edi
jne 0x347ac072
push 0x5c
lea ecx, [esp + 0x40]
push ecx
call fcn.347aadca
mov edi, eax
test edi, edi
je 0x347ac10a
mov edx, dword [esp + 0x1c]
push ebp
push edx
lea eax, [esp + 0x44]
push eax
mov word [edi], 0
call dword [sym.imp.MSO.dll_Ordinal_6877]
add esi, 4
push esi
mov esi, dword [esp + 0x46c]
lea ecx, [esp + 0x3c]
push ecx
push 0x347721fc
push esi
push ebx
mov word [edi], 0x5c
call fcn.3478258a
xor eax, eax
add esp, 0x14
cmp esi, eax
je 0x347ac064
mov word [ebx + esi*2 - 2], ax
mov edi, dword [esp + 0x14]
mov dword [esp + 0x10], 1
jmp 0x347ac0cd
cmp edi, 0x4c6
ja 0x347ac08e
je 0x347ac096
cmp edi, 0x1e7
je 0x347ac096
cmp edi, 0x4b3
je 0x347ac096
jmp 0x347ac10a
cmp edi, 0x8ca
jne 0x347ac10a
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x20]
push edx
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x347ac10a
mov ecx, dword [esp + 0x460]
mov edi, dword [esp + 0x14]
push ecx
push edi
push esi
call dword [sym.imp.MSO.dll_Ordinal_6877]
mov eax, 1
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x468]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x347ac0d7
mov dword [ecx], eax
test eax, eax
je 0x347ac0ec
push esi
push ebx
push edi
call fcn.347abd4e
test eax, eax
jne 0x347ac10a
mov word [ebx], ax
jmp 0x347ac10a
mov esi, dword [esp + 0x460]
push esi
push edi
push ebx
call fcn.347ab86b
test eax, eax
jne 0x347ac10a
test edi, edi
je 0x347ac10a
test esi, esi
je 0x347ac10a
mov word [edi], ax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x448]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.347ea89f
add esp, 0x43c
ret 0x20