Function at 0x41cd58
Capabilities:
Get hostname

Disassembly:
push 0x264
mov eax, 0x446ea2
call fcn.0042bf20
mov edi, dword [ebp + 8]
push 7
pop eax
xor esi, esi
xor ecx, ecx
mov dword [ebp - 0x26c], edi
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 0x1ac], esi
mov word [ebp - 0x1bc], cx
mov dword [ebp - 4], esi
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x21c], esi
mov word [ebp - 0x22c], cx
mov dword [ebp - 0x234], eax
xor eax, eax
mov dword [ebp - 0x238], esi
mov word [ebp - 0x248], ax
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x1a0]
push eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x270], 0xc8
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x41cab5
lea eax, [ebp - 0x1a0]
push eax
call fcn.0042c331
pop ecx
push eax
lea eax, [ebp - 0x1a0]
push eax
lea ecx, [ebp - 0x248]
call fcn.00408e30
lea eax, [ebp - 0x1a0]
push eax
call fcn.0042c331
pop ecx
push eax
lea eax, [ebp - 0x1a0]
push eax
lea ecx, [ebp - 0x1bc]
call fcn.00408e30
test byte [ebp + 0xc], 4
je 0x41cacc
lea eax, [ebp - 0x22c]
push eax
push edi
call fcn.0041c480
pop ecx
pop ecx
jmp 0x41cb08
mov ebx, dword [ebp - 0x1ac]
cmp ebx, 8
jbe 0x41cada
push 8
pop ebx
cmp ebx, esi
je 0x41cb08
push ebx
mov ecx, edi
call fcn.0040d960
cmp dword [ebp - 0x1a8], 8
mov ecx, dword [ebp - 0x1bc]
jae 0x41cafb
lea ecx, [ebp - 0x1bc]
mov eax, dword [edi]
push ebx
push ecx
push eax
call fcn.0042b4d0
add esp, 0xc
mov ebx, dword [edi + 4]
sub ebx, dword [edi]
cmp ebx, 8
jae 0x41cb54
push 0xc
push 8
mov ecx, edi
call fcn.00413b60
push 8
pop eax
sub eax, ebx
cmp eax, dword [ebp - 0x1ac]
jbe 0x41cb30
mov eax, dword [ebp - 0x1ac]
cmp dword [ebp - 0x1a8], 8
mov edx, dword [ebp - 0x1bc]
jae 0x41cb45
lea edx, [ebp - 0x1bc]
mov ecx, dword [edi]
push eax
push edx
add ecx, ebx
push ecx
call fcn.0042b4d0
add esp, 0xc
push 7
pop edi
xor eax, eax
mov dword [ebp - 0x1fc], edi
mov dword [ebp - 0x200], esi
mov word [ebp - 0x210], ax
mov dword [ebp - 0x1c4], edi
mov dword [ebp - 0x1c8], esi
mov word [ebp - 0x1d8], ax
xor ebx, ebx
inc ebx
mov byte [ebp - 4], 4
test byte [ebp + 0xc], bl
je 0x41cbc6
lea eax, [ebp - 0x1f4]
push eax
call fcn.0041c682
pop ecx
push eax
lea ecx, [ebp - 0x210]
mov byte [ebp - 4], 5
call fcn.00408db0
push esi
push ebx
lea ecx, [ebp - 0x1f4]
mov byte [ebp - 4], 4
call fcn.00409e50
lea eax, [ebp - 0x210]
push eax
call fcn.004155e0
pop ecx
test byte [ebp + 0xc], 2
je 0x41cbfa
lea eax, [ebp - 0x1f4]
push eax
call fcn.0041d4b6
pop ecx
push eax
lea ecx, [ebp - 0x1d8]
mov byte [ebp - 4], 6
call fcn.00408db0
push esi
push ebx
lea ecx, [ebp - 0x1f4]
mov byte [ebp - 4], 4
call fcn.00409e50
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x1d8]
call fcn.00405780
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x1d8]
call fcn.00405780
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x1d8]
call fcn.00405780
cmp dword [ebp - 0x1c8], 0x10
jae 0x41cc98
push 0x61
xor eax, eax
push 0x10
mov word [ebp - 0x1f4], ax
pop eax
sub eax, dword [ebp - 0x1c8]
lea ecx, [ebp - 0x1f4]
push eax
mov dword [ebp - 0x1e0], edi
mov dword [ebp - 0x1e4], esi
call fcn.0041c431
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x1f4]
push eax
lea ecx, [ebp - 0x1d8]
mov byte [ebp - 4], 7
call fcn.00405780
push esi
push ebx
lea ecx, [ebp - 0x1f4]
mov byte [ebp - 4], 4
call fcn.00409e50
lea ecx, [ebp - 0x268]
call fcn.00421dcc
lea eax, [ebp - 0x1d8]
push eax
lea eax, [ebp - 0x1f4]
push eax
mov byte [ebp - 4], 8
call fcn.00408ad0
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 9
jb 0x41ccca
mov edi, dword [eax]
jmp 0x41cccc
mov edi, eax
push edi
call fcn.0042c6c0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x264]
call fcn.00409840
push esi
push ebx
lea ecx, [ebp - 0x1f4]
mov byte [ebp - 4], 8
call fcn.004097f0
push dword [ebp - 0x26c]
lea ecx, [ebp - 0x268]
call fcn.00421be6
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 4
call fcn.00421a83
push esi
push ebx
lea ecx, [ebp - 0x1d8]
call fcn.00409e50
push esi
push ebx
lea ecx, [ebp - 0x210]
call fcn.00409e50
push esi
push ebx
lea ecx, [ebp - 0x248]
call fcn.00409e50
push esi
push ebx
lea ecx, [ebp - 0x22c]
call fcn.00409e50
push esi
push ebx
lea ecx, [ebp - 0x1bc]
call fcn.00409e50
call fcn.0042bfa3
ret
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0xffffffff
je 0x41cd6d
cmp dword [ebp + 0xc], 7
je 0x41cd6d
pop ebp
jmp 0x41c9f2
push dword [ebp + 8]
call fcn.0041c73d
pop ecx
pop ebp
ret