Function at 0x4466b0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a79db
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x4cf084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
test ebx, ebx
jne 0x44671f
mov eax, dword [0x4cfa10]
cmp eax, 0x4cfa10
je 0x446715
test byte [eax + 0x1c], 1
je 0x446715
cmp byte [eax + 0x19], 1
jb 0x446715
push dword [eax + 0x14]
mov edx, 0x4bcc30
lea ecx, [ebx + 0xa]
push dword [eax + 0x10]
call fcn.00401940
add esp, 8
mov eax, 0xfffffffc
jmp 0x44691c
test edi, edi
jne 0x446759
mov eax, dword [0x4cfa10]
cmp eax, 0x4cfa10
je 0x446715
test byte [eax + 0x1c], 1
je 0x446715
cmp byte [eax + 0x19], 1
jb 0x446715
push dword [eax + 0x14]
mov edx, 0x4bcc30
lea ecx, [edi + 0xc]
push dword [eax + 0x10]
call fcn.00401940
add esp, 8
lea eax, [edi - 4]
jmp 0x44691c
push 0x40
push 0
push edi
call fcn.0047a210
add esp, 0xc
mov dword [ebp - 0x214], 0x40
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x4467c0
mov eax, dword [0x4cfa10]
cmp eax, 0x4cfa10
je 0x4467b8
test byte [eax + 0x1c], 1
je 0x4467b8
cmp byte [eax + 0x19], 1
jb 0x4467b8
push dword [eax + 0x14]
mov edx, 0x4bcc30
mov ecx, 0xe
push dword [eax + 0x10]
call fcn.00401940
add esp, 8
or eax, 0xffffffff
jmp 0x44691c
mov ecx, dword [ebp - 0x214]
cmp ecx, 0x40
jbe 0x446806
mov eax, dword [0x4cfa10]
cmp eax, 0x4cfa10
je 0x4467fe
test byte [eax + 0x1c], 1
je 0x4467fe
cmp byte [eax + 0x19], 1
jb 0x4467fe
push ecx
push 0x40
push dword [eax + 0x14]
mov edx, 0x4bcc30
mov ecx, 0xf
push dword [eax + 0x10]
call fcn.00401990
add esp, 0x10
or eax, 0xffffffff
jmp 0x44691c
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x22c]
call fcn.00448660
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x22c]
cmp dword [ebp - 0x218], 8
mov eax, dword [ebp - 0x21c]
cmovae ecx, dword [ebp - 0x22c]
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x22c]
cmovae ecx, dword [ebp - 0x22c]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x244]
call fcn.00441a90
cmp dword [ebp - 0x230], 0x10
lea eax, [ebp - 0x244]
push dword [ebp - 0x214]
mov esi, dword [ebp - 0x244]
cmovae eax, esi
push eax
push edi
call fcn.00479710
mov eax, dword [ebp - 0x230]
add esp, 0xc
cmp eax, 0x10
jb 0x4468b3
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x4468a9
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x446938
push ecx
push esi
call fcn.00477177
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x218]
cmp edx, 8
jb 0x4468f6
mov ecx, dword [ebp - 0x22c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4468ec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44693d
push edx
push ecx
call fcn.00477177
add esp, 8
xor eax, eax
mov dword [ebp - 0x21c], 0
mov ecx, ebx
mov dword [ebp - 0x218], 7
mov word [ebp - 0x22c], ax
call fcn.00446950
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00477136
mov esp, ebp
pop ebp
ret
call fcn.00482289
call fcn.00482289
int3