Function at 0x46b4f8
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
mov edx, dword [0x4657d8]
call fcn.00404e68
xor eax, eax
push ebp
push 0x46b8b1
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x335], 0
je 0x46b5cd
xor ecx, ecx
mov dl, 1
mov eax, dword [0x469ba4]
call fcn.00456b10
mov edx, dword [0x46df34]
mov dword [edx], eax
mov eax, dword [0x46ffbc]
sub eax, 1
jb 0x46b56c
je 0x46b585
dec eax
je 0x46b59e
jmp 0x46b5b5
mov eax, dword [0x46df34]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f8]
mov edx, 0x46b8cc
call fcn.0043e6d8
jmp 0x46b5b5
mov eax, dword [0x46df34]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f8]
mov edx, 0x46b8e4
call fcn.0043e6d8
jmp 0x46b5b5
mov eax, dword [0x46df34]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f8]
mov edx, 0x46b8fc
call fcn.0043e6d8
mov eax, dword [0x46df34]
mov eax, dword [eax]
call fcn.0045ae80
mov eax, dword [0x46e200]
mov eax, dword [eax]
call fcn.0045e2a8
xor edx, edx
push ebp
push 0x46b866
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x32c]
cmp dword [eax + 0x218], 1
jne 0x46b766
lea eax, [ebp - 0x10]
call fcn.00465a30
xor edx, edx
push ebp
push 0x46b6a1
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x318]
call fcn.0043e6a8
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.00408620
cmp dword [ebp - 0x2c], 0
jne 0x46b648
lea edx, [ebp - 0x34]
movzx eax, word [ebp - 0xc]
call fcn.00408720
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x318]
call fcn.0043e6d8
jmp 0x46b665
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x318]
call fcn.0043e6a8
mov eax, dword [ebp - 0x38]
call fcn.0040885c
mov word [ebp - 0xc], ax
mov dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x25]
push eax
call sub.kernel32.dll_GetComputerNameA
lea edx, [ebp - 0x3c]
lea eax, [ebp - 0x25]
call fcn.00409418
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 0x10]
call fcn.00404544
lea eax, [ebp - 0x10]
call fcn.00465c74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46b6ec
mov eax, dword [0x46e364]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.0045c42c
mov al, 1
call fcn.00467964
xor eax, eax
push ebp
push 0x46b75f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2fc]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov dl, 1
mov eax, 0x46b920
call fcn.0045fef4
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b766
mov eax, dword [ebp - 4]
cmp byte [eax + 0x336], 0
jne 0x46b750
xor eax, eax
call fcn.00467964
mov eax, dword [0x46e364]
mov eax, dword [eax]
xor edx, edx
call fcn.0045c42c
ret
mov eax, 0x46b934
call fcn.004600e0
test al, al
je 0x46b798
mov eax, 0x46b934
call fcn.0045fdfc
test al, al
je 0x46b78e
xor edx, edx
mov eax, 0x46b934
call fcn.0045fef4
mov eax, 0x46b934
call fcn.004601bc
mov eax, dword [ebp - 4]
cmp byte [eax + 0x335], 0
jne 0x46b840
mov eax, dword [ebp - 4]
cmp byte [eax + 0x336], 0
jne 0x46b840
mov eax, dword [0x46e1b0]
cmp dword [eax], 0
jne 0x46b840
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4675ec]
call fcn.00456b10
mov edx, dword [0x46e1b0]
mov dword [edx], eax
xor eax, eax
push ebp
push 0x46b839
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x46e1b0]
mov eax, dword [eax]
xor edx, edx
call fcn.00468524
test al, al
jne 0x46b821
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x330]
mov cx, word [0x46b914]
mov dl, 2
call fcn.00428a9c
mov eax, dword [0x46e1b0]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0xec]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b840
mov eax, dword [0x46e1b0]
call fcn.0040e004
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b86d
mov eax, dword [ebp - 4]
cmp byte [eax + 0x335], 0
je 0x46b865
mov eax, dword [0x46df34]
mov eax, dword [eax]
call fcn.00403720
ret