Function at 0x46bd20
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5684fd
mov eax, dword fs:[0]
push eax
sub esp, 0x8d0
mov eax, dword [0x5c5ebc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x894], ecx
mov dword [ebp - 0x890], 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x894]
add ecx, 4
call fcn.00415e60
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 0x894]
add ecx, 8
call fcn.00415e60
mov edx, dword [ebp + 0x14]
push edx
mov ecx, dword [ebp - 0x894]
add ecx, 0xc
call fcn.00415e60
mov dword [ebp - 0x844], 0x400
lea eax, [ebp - 0x844]
push eax
lea ecx, [ebp - 0x834]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea edx, [ebp - 0x834]
push edx
mov ecx, dword [ebp - 0x894]
call fcn.00415e60
mov ecx, dword [ebp - 0x894]
call fcn.00449550
push 0x20
push 0
lea eax, [ebp - 0x30]
push eax
call fcn.005281f0
add esp, 0xc
push 8
push 0x581308
lea ecx, [ebp - 0x30]
push ecx
call fcn.005289e0
add esp, 0xc
mov byte [ebp - 0x28], 1
mov edx, 0xb203
mov word [ebp - 0x24], dx
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x850]
push ecx
call fcn.00499e90
add esp, 8
mov dword [ebp - 0x898], eax
mov ecx, dword [ebp - 0x898]
call fcn.00412150
push eax
call fcn.00529140
add esp, 4
mov word [ebp - 0x20], ax
lea ecx, [ebp - 0x850]
call fcn.00412130
mov ecx, dword [ebp - 0x894]
call fcn.00415f60
push eax
lea edx, [ebp - 0x854]
push edx
call fcn.00499e90
add esp, 8
mov dword [ebp - 0x89c], eax
mov ecx, dword [ebp - 0x89c]
call fcn.00412150
push eax
call fcn.00529140
add esp, 4
add eax, 0x20
mov word [ebp - 0x1c], ax
lea ecx, [ebp - 0x854]
call fcn.00412130
mov ecx, dword [ebp - 0x894]
call fcn.00415f60
push eax
lea eax, [ebp - 0x858]
push eax
call fcn.00499e90
add esp, 8
mov dword [ebp - 0x8a0], eax
mov ecx, dword [ebp - 0x8a0]
call fcn.00412150
push eax
call fcn.00529140
add esp, 4
mov word [ebp - 0x18], ax
lea ecx, [ebp - 0x858]
call fcn.00412130
mov ecx, 0x20
mov word [ebp - 0x14], cx
mov ecx, dword [ebp - 0x894]
call fcn.00415f60
push eax
lea edx, [ebp - 0x860]
push edx
call fcn.00499e90
add esp, 8
mov dword [ebp - 0x8a4], eax
mov eax, dword [ebp - 0x8a4]
mov dword [ebp - 0x8a8], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x8a8]
call fcn.00412150
push eax
call fcn.00529140
add esp, 4
mov esi, eax
mov ecx, dword [ebp + 0x14]
push ecx
lea edx, [ebp - 0x864]
push edx
call fcn.00499e90
add esp, 8
mov dword [ebp - 0x8ac], eax
mov eax, dword [ebp - 0x8ac]
mov dword [ebp - 0x8b0], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x8b0]
call fcn.00412150
push eax
call fcn.00529140
add esp, 4
lea ecx, [esi + eax + 0x20]
push ecx
call fcn.004dea4c
add esp, 4
mov dword [ebp - 0x85c], eax
mov edx, dword [ebp - 0x85c]
mov dword [ebp - 0x84c], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x864]
call fcn.00412130
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x860]
call fcn.00412130
push 0x20
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x84c]
push ecx
call fcn.005289e0
add esp, 0xc
mov ecx, dword [ebp - 0x894]
call fcn.00415f60
push eax
lea edx, [ebp - 0x868]
push edx
call fcn.00499e90
add esp, 8
mov dword [ebp - 0x8b4], eax
mov eax, dword [ebp - 0x8b4]
mov dword [ebp - 0x8b8], eax
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x8b8]
call fcn.00412150
push eax
call fcn.00529140
add esp, 4
push eax
mov ecx, dword [ebp - 0x894]
call fcn.00415f60
push eax
lea ecx, [ebp - 0x86c]
push ecx
call fcn.00499e90
add esp, 8
mov dword [ebp - 0x8bc], eax
mov ecx, dword [ebp - 0x8bc]
call fcn.00412150
push eax
mov edx, dword [ebp - 0x84c]
add edx, 0x20
push edx
call fcn.005289e0
add esp, 0xc
lea ecx, [ebp - 0x86c]
call fcn.00412130
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x868]
call fcn.00412130
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x870]
push ecx
call fcn.00499e90
add esp, 8
mov dword [ebp - 0x8c0], eax
mov edx, dword [ebp - 0x8c0]
mov dword [ebp - 0x8c4], edx
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x8c4]
call fcn.00412150
push eax
call fcn.00529140
add esp, 4
push eax
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x874]
push ecx
call fcn.00499e90
add esp, 8
mov dword [ebp - 0x8c8], eax
mov edx, dword [ebp - 0x8c8]
mov dword [ebp - 0x8cc], edx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x8cc]
call fcn.00412150
push eax
mov ecx, dword [ebp - 0x894]
call fcn.00415f60
push eax
lea eax, [ebp - 0x878]
push eax
call fcn.00499e90
add esp, 8
mov dword [ebp - 0x8d0], eax
mov ecx, dword [ebp - 0x8d0]
call fcn.00412150
push eax
call fcn.00529140
add esp, 4
mov ecx, dword [ebp - 0x84c]
lea edx, [ecx + eax + 0x20]
push edx
call fcn.005289e0
add esp, 0xc
lea ecx, [ebp - 0x878]
call fcn.00412130
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x874]
call fcn.00412130
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x870]
call fcn.00412130
mov ecx, dword [ebp - 0x894]
call fcn.00415f60
push eax
lea eax, [ebp - 0x87c]
push eax
call fcn.00499e90
add esp, 8
mov dword [ebp - 0x8d4], eax
mov ecx, dword [ebp - 0x8d4]
mov dword [ebp - 0x8d8], ecx
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x8d8]
call fcn.00412150
push eax
call fcn.00529140
add esp, 4
mov esi, eax
mov edx, dword [ebp + 0x14]
push edx
lea eax, [ebp - 0x880]
push eax
call fcn.00499e90
add esp, 8
mov dword [ebp - 0x8dc], eax
mov ecx, dword [ebp - 0x8dc]
call fcn.00412150
push eax
call fcn.00529140
add esp, 4
lea ecx, [esi + eax + 0x20]
mov dword [ebp - 0x83c], ecx
lea ecx, [ebp - 0x880]
call fcn.00412130
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x87c]
call fcn.00412130
push 0
mov edx, dword [ebp - 0x83c]
push edx
call fcn.0046ba40
add esp, 8
mov dword [ebp - 0x848], eax
mov eax, dword [ebp - 0x848]
add eax, 1
push eax
call fcn.004dea4c
add esp, 4
mov dword [ebp - 0x884], eax
mov ecx, dword [ebp - 0x884]
mov dword [ebp - 0x840], ecx
push 2
lea edx, [ebp - 0x848]
push edx
mov eax, dword [ebp - 0x840]
push eax
mov ecx, dword [ebp - 0x83c]
push ecx
mov edx, dword [ebp - 0x84c]
push edx
call fcn.0046b740
add esp, 0x14
mov eax, dword [ebp - 0x840]
add eax, dword [ebp - 0x848]
mov byte [eax], 0
mov ecx, dword [ebp - 0x840]
push ecx
lea edx, [ebp - 0x838]
push edx
call fcn.00499f80
add esp, 8
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x840]
mov dword [ebp - 0x888], eax
mov ecx, dword [ebp - 0x888]
push ecx
call fcn.004dea57
add esp, 4
mov edx, dword [ebp - 0x84c]
mov dword [ebp - 0x88c], edx
mov eax, dword [ebp - 0x88c]
push eax
call fcn.004dea57
add esp, 4
lea ecx, [ebp - 0x838]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00415d80
mov edx, dword [ebp - 0x890]
or edx, 1
mov dword [ebp - 0x890], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x838]
call fcn.00415e20
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00527aad
mov esp, ebp
pop ebp
ret 0x10