Function at 0x41f05d
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44867a
mov eax, dword fs:[0]
push eax
mov eax, 0x1178
call fcn.00444cc0
mov eax, dword [0x492890]
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
xor eax, eax
inc eax
cmp word [ebp + 8], ax
jne 0x41f3ca
push 0x70
xor esi, esi
lea eax, [ebp - 0x10e8]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebx + 0x334]
add esp, 0xc
shr eax, 2
mov ecx, ebx
and al, 1
mov byte [ebp - 0x10e8], al
call fcn.0041f9c5
mov ecx, dword [ebx + 0x108]
mov byte [ebp - 0x10e7], al
mov al, byte [ecx + 0xb8]
mov byte [ebp - 0x10e5], al
mov al, byte [ecx]
mov byte [ebp - 0x10df], al
mov al, byte [0x493fa4]
mov byte [ebp - 0x10e0], al
mov al, byte [0x493d94]
shl al, 4
or al, byte [0x493fa0]
mov byte [ebp - 0x10e6], al
mov eax, dword [0x493d7c]
mov dword [ebp - 0x10d8], eax
mov eax, dword [0x493d80]
mov dword [ebp - 0x10d4], eax
lea eax, [ebp - 0x1068]
push eax
lea eax, [ebp - 0x1050]
mov dword [ebp - 0x1068], 0x800
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea eax, [ebp - 0x1180]
mov dword [ebp - 0x1184], eax
lea ecx, [ebp - 0x1184]
push 3
lea eax, [ebp - 0x1050]
push eax
call fcn.00416318
mov dword [ebp - 4], esi
lea eax, [ebp - 0x10bc]
push dword [ebp - 0x1184]
push 0x40
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x1180]
cmp dword [ebp - 0x1184], eax
je 0x41f197
push dword [ebp - 0x1184]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
mov ecx, dword [ebx + 0x108]
cmp dword [ecx], 1
jne 0x41f1f5
lea eax, [ebp - 0x1078]
push eax
push dword [ecx + 0x38]
call fcn.004081b6
mov ecx, eax
call fcn.004014be
lea eax, [ebp - 0x1078]
push eax
lea eax, [ebp - 0x1100]
push eax
call fcn.0043cbed
mov esi, eax
lea edi, [ebp - 0x10cc]
pop ecx
pop ecx
mov ecx, dword [ebx + 0x108]
movsd dword es:[edi], dword [esi]
push 0xc
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ecx + 0x84]
sub eax, dword [ecx + 0x80]
cdq
pop ecx
idiv ecx
xor esi, esi
jmp 0x41f203
cmp dword [ecx], 4
jne 0x41f209
mov eax, dword [ecx + 0x78]
sub eax, dword [ecx + 0x74]
sar eax, 2
mov dword [ebp - 0x10d0], eax
xor eax, eax
lea edi, [ebp - 0x105c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x105c], esi
mov dword [ebp - 0x1058], esi
mov dword [ebp - 0x1054], esi
mov dword [ebp - 4], 1
xorps xmm0, xmm0
movlpd qword [ebp - 0x1064], xmm0
call fcn.0040421b
lea ecx, [ebp - 0x10e9]
push ecx
push eax
lea ecx, [ebp - 0x1064]
call fcn.0041c610
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x1064]
mov eax, dword [ecx]
mov dword [ebp - 0x10f0], eax
cmp eax, ecx
je 0x41f2be
mov edi, dword [ebp - 0x1058]
add eax, 0x38c
cmp edi, dword [ebp - 0x1054]
je 0x41f290
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x1058]
add edi, 0x10
mov dword [ebp - 0x1058], edi
jmp 0x41f2a3
push eax
push edi
lea ecx, [ebp - 0x105c]
call fcn.00411a0a
mov edi, dword [ebp - 0x1058]
lea ecx, [ebp - 0x10f0]
call fcn.00412108
mov eax, dword [ebp - 0x10f0]
cmp eax, dword [ebp - 0x1064]
jne 0x41f26c
xor esi, esi
lea eax, [ebp - 0x105c]
mov dword [ebp - 0x10e4], eax
call fcn.0040421b
mov ecx, eax
call fcn.0041731f
movzx eax, al
push 0x40
mov dword [ebp - 0x107c], eax
lea eax, [ebp - 0x50]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [ebx + 0x108]
lea eax, [ebp - 0x50]
add esp, 0xc
push 0x40
push eax
call fcn.00420ba2
test al, al
lea ecx, [ebp - 0x50]
push 1
cmove ecx, dword [ebp - 0x10dc]
lea eax, [ebp - 0x10e8]
mov dword [ebp - 0x10dc], ecx
lea ecx, [ebx + 0x280]
push eax
call fcn.00401a78
mov ecx, dword [ebp - 0x105c]
mov byte [ebp - 0x10e9], al
mov dword [ebp - 0x1058], ecx
mov byte [ebp - 4], 1
lea eax, [ebp - 0x1064]
push eax
mov ecx, eax
call fcn.00403cb8
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x105c]
test ecx, ecx
je 0x41f37d
mov eax, dword [ebp - 0x1054]
sub eax, ecx
and eax, 0xfffffff0
push eax
push ecx
call fcn.00402141
pop ecx
pop ecx
mov dword [ebp - 0x105c], esi
mov dword [ebp - 0x1058], esi
mov dword [ebp - 0x1054], esi
mov al, byte [ebp - 0x10e9]
test al, al
je 0x41f3ae
call fcn.004019b3
mov ecx, ebx
lea edx, [eax + 4]
movzx eax, word [edx]
push eax
push edx
call fcn.0041f74b
cmp word [ebp + 8], 0
jne 0x41f3ae
call fcn.004019b3
mov ecx, eax
call fcn.00401b7b
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.00444460
leave
ret 0x18
xor eax, eax
mov byte [ebp - 0x3d], 0
mov word [ebp - 0x32], ax
mov al, byte [ebp + 0xc]
mov byte [ebp - 0x40], al
mov al, byte [ebp + 0x10]
mov byte [ebp - 0x3f], al
mov al, byte [ebx + 0x34e]
mov byte [ebp - 0x33], al
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x30], eax
mov al, byte [ebp + 0x1c]
mov byte [ebp - 0x34], al
mov eax, dword [ebx + 0x334]
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 0x10c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0x110]
mov dword [ebp - 0x18], eax
lea eax, [ebx + 0xc4]
push eax
lea eax, [ebp - 0x1100]
push eax
call fcn.0043cbed
mov esi, eax
lea edi, [ebp - 0x28]
mov eax, dword [ebx + 0xb0]
pop ecx
pop ecx
push dword [ebp + 8]
movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0x280]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x14], eax
mov al, byte [ebx + 0x334]
and al, 1
mov byte [ebp - 0x3e], al
lea eax, [ebp - 0x40]
push eax
call fcn.00401a78
jmp 0x41f383