Function at 0x401b10
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x458ce3
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x46a36c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x21c], eax
xor ecx, ecx
mov dword [ebp - 4], 0
mov edi, dword [eax]
mov edx, 0x18
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.00457c10
add esp, 4
lea esi, [eax + 4]
mov dword [eax], edi
push 0x403d10
push 0x403e60
push edi
push 0x18
push esi
call fcn.00457c3c
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00403d60
mov edi, dword [ebp - 0x21c]
mov ecx, esi
mov edx, edi
call fcn.004019a0
mov dword [ebp - 0x23c], eax
mov esi, esp
lea eax, [ebp - 0x218]
mov dword [ebp - 0x218], esi
push eax
lea eax, [ebp - 0x214]
mov dword [ebp - 0x218], 0x101
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x238]
call fcn.00403be0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x238]
cmp dword [ebp - 0x224], 8
mov eax, dword [ebp - 0x228]
jb 0x401c0c
mov ecx, dword [ebp - 0x238]
lea eax, [ecx + eax*2]
jmp 0x401c15
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x238]
push ecx
push eax
push ecx
mov ecx, esi
call fcn.004042b0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x224]
cmp ecx, 8
jb 0x401c65
mov edx, dword [ebp - 0x238]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401c5b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401c5b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00457c02
add esp, 8
mov ecx, dword [ebp - 0x23c]
mov edx, edi
call fcn.004019a0
mov esi, esp
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x218], esi
lea ecx, [ebp - 0x238]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x228], 0
push 0x4664a1
movups xmmword [ebp - 0x238], xmm0
mov dword [ebp - 0x224], 0
call fcn.00404830
mov byte [ebp - 4], 2
call fcn.00404c90
mov edi, eax
test edi, edi
je 0x401d6f
push str.https:__api.ipify.org
push 0x2712
push edi
call fcn.00408400
push 0x401ed0
push 0x4e2b
push edi
call fcn.00408400
lea eax, [ebp - 0x238]
push eax
push 0x2711
push edi
call fcn.00408400
push edi
call fcn.00404cf0
add esp, 0x28
test eax, eax
je 0x401d66
xorps xmm0, xmm0
mov ecx, esi
push 0xe
movups xmmword [esi], xmm0
push str.Error___734
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00404830
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x224]
cmp ecx, 0x10
jb 0x401d9e
mov edx, dword [ebp - 0x238]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401d5a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401d5a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00457c02
add esp, 8
jmp 0x401d9e
push edi
call fcn.00404c70
add esp, 4
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
movups xmm0, xmmword [ebp - 0x238]
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x228]
movq qword [esi + 0x10], xmm0
mov byte [ebp - 4], 0
mov edi, dword [ebp - 0x21c]
mov edx, edi
mov ecx, dword [ebp - 0x23c]
call fcn.004019a0
mov ecx, esp
mov esi, eax
call fcn.00401f30
mov edx, edi
mov ecx, esi
call fcn.004019a0
mov esi, esp
mov dword [ebp - 0x218], eax
push 0
mov dword [ebp - 0x23c], esi
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x220]
push eax
mov dword [ebp - 0x21c], edx
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__ctime64]
mov ecx, eax
xorps xmm0, xmm0
mov edx, ecx
add esp, 8
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
lea eax, [edx + 1]
mov dword [ebp - 0x23c], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x401e16
sub edx, dword [ebp - 0x23c]
push edx
push ecx
mov ecx, esi
call fcn.00404830
mov ecx, dword [ebp - 0x218]
mov edx, edi
call fcn.004019a0
mov ecx, esp
mov esi, eax
call fcn.00402640
mov edx, edi
mov ecx, esi
call fcn.004019a0
mov ecx, esp
xorps xmm0, xmm0
push 7
push str.english
mov esi, eax
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00404830
mov edx, edi
mov ecx, esi
call fcn.004019a0
mov ecx, dword [ebp + 0x1c]
add esp, 0x18
mov esi, eax
cmp ecx, 0x10
jb 0x401eb3
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401ea9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401ea9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00457c02
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00457aa1
mov esp, ebp
pop ebp
ret