Function at 0x403280
Capabilities:
Get hostname

Disassembly:
sub esp, 0x310
push ebx
push ebp
mov ebp, dword [esp + 0x324]
xor eax, eax
push esi
cmp ebp, eax
push edi
mov ebx, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
jne 0x4032ae
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x310
ret 0x14
mov dword [ebp], eax
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x40]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x324]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x40]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x40]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x40d5d8
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x40]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x328]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x330]
test edi, edi
jne 0x403368
lea eax, [esp + 0x1c]
lea ecx, [esp + 0xa0]
push eax
push ecx
mov dword [esp + 0x24], 0x80
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
jmp 0x40338c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xa0]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x4033a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x310
ret 0x14
push str.LsaClose
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [esp + 0x20], eax
jne 0x4033c1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x310
ret 0x14
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [esp + 0x120]
push 0x80
push ecx
lea edx, [esp + 0xa8]
push 0xffffffffffffffff
push edx
push 1
push 0
call esi
mov ecx, dword [esp + 0x334]
lea eax, [esp + 0x220]
push 0x80
push eax
push 0xffffffffffffffff
push ecx
push 1
push 0
call esi
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x28]
lea edx, [esp + 0xa0]
rep stosd dword es:[edi], eax
push edx
mov ecx, ebx
call fcn.00403510
test eax, eax
je 0x40344d
lea eax, [esp + 0xa0]
push ebp
push eax
mov ecx, ebx
mov dword [ebx + 8], 1
call fcn.00403830
test eax, eax
mov dword [esp + 0x14], eax
jne 0x403481
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x310
ret 0x14
lea ecx, [esp + 0x14]
lea edx, [esp + 0x28]
push ecx
push 0x810
lea eax, [esp + 0x128]
push edx
push eax
mov ecx, ebx
call fcn.00402f50
test eax, eax
je 0x403481
mov dword [ebp], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x310
ret 0x14
lea ecx, [esp + 0x24]
lea edx, [esp + 0x10]
push ecx
push ebp
lea eax, [esp + 0x48]
push edx
lea ecx, [esp + 0xac]
push eax
push ecx
mov ecx, ebx
call fcn.00403010
test eax, eax
je 0x4034e8
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x220]
push 1
push edx
push eax
push ecx
mov ecx, ebx
call fcn.00403190
test eax, eax
je 0x4034c8
mov dword [ebp], eax
jmp 0x4034d0
mov dword [esp + 0x18], 1
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4034e8
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edx, dword [esp + 0x14]
push edx
call dword [esp + 0x24]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x310
ret 0x14