Function at 0x405a00
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ff23
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x443004]
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 dword [ebp - 0x9c], ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x24]
push esi
mov dword [ebp - 0xa0], eax
mov dword [0x4443e0], 0x401210
mov dword [0x4443e4], 0x401240
mov dword [0x4443c8], 0x401210
call fcn.00405840
mov bl, al
test bl, bl
je 0x405c91
mov ecx, dword [esi + 4]
xor eax, eax
sub ecx, dword [esi]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov eax, 0x92492493
imul ecx
add edx, ecx
lea ecx, [ebp - 0x60]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
call fcn.004079f0
mov dword [ebp - 4], 0
xor edi, edi
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x98], edi
mov dword [ebp - 0x94], eax
lea ecx, [ecx]
mov ecx, dword [esi + 4]
mov eax, 0x92492493
sub ecx, dword [esi]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x405b3c
mov al, byte [esi + 0xc]
inc edi
push edi
mov byte [ebp - 0x54], al
push str.Generating_requests_for_timespan__u._n
push dword [ebp - 0x54]
call fcn.00402860
mov eax, dword [esi]
add esp, 0xc
add eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x9c]
push dword [ebp - 0xa4]
push dword [ebp - 0x94]
push eax
push esi
call fcn.00405cc0
add dword [ebp - 0x94], 0x198
mov bl, al
add dword [ebp - 0x98], 0x38
test bl, bl
jne 0x405ad0
mov dword [ebp - 0x64], 0xf
mov dword [ebp - 0x68], 0
mov byte [ebp - 0x78], 0
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x54], 0x40
push eax
push 5
call dword [sym.imp.KERNEL32.dll_GetComputerNameExA]
test eax, eax
je 0x405b96
cmp byte [ebp - 0x50], 0
jne 0x405b77
xor ecx, ecx
jmp 0x405b89
lea ecx, [ebp - 0x50]
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405b80
sub ecx, edx
push ecx
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x78]
call fcn.00409270
sub esp, 0xc
mov byte [ebp - 4], 2
lea eax, [ebp - 0x60]
mov ecx, esp
push eax
call fcn.00407900
mov edi, dword [ebp - 0xa8]
lea ecx, [ebp - 0x78]
push ecx
push esi
lea ecx, [ebp - 0x90]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax]
mov byte [ebp - 4], 3
cmp dword [ebp - 0x7c], 0x10
mov eax, dword [ebp - 0x90]
jae 0x405bd6
lea eax, [ebp - 0x90]
push eax
push 0x4392b0
call fcn.004027e0
mov eax, dword [edi]
add esp, 8
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [ebp - 0xac]
lea eax, [eax + eax*4]
add eax, eax
mov dword [ecx], eax
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 8]
call eax
mov eax, dword [ebp - 0xa0]
fstp qword [eax]
mov eax, dword [ebp - 0x7c]
cmp eax, 0x10
jb 0x405c1e
inc eax
push eax
push dword [ebp - 0x90]
call fcn.00401970
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x7c], 0xf
mov dword [ebp - 0x80], 0
mov byte [ebp - 0x90], 0
cmp eax, 0x10
jb 0x405c45
inc eax
push eax
push dword [ebp - 0x78]
call fcn.00401970
mov esi, dword [ebp - 0x60]
mov dword [ebp - 0x64], 0xf
mov dword [ebp - 0x68], 0
mov byte [ebp - 0x78], 0
test esi, esi
je 0x405c91
push dword [ebp - 0xa0]
mov edx, dword [ebp - 0x5c]
push ecx
mov ecx, esi
call fcn.0040b000
mov ecx, dword [ebp - 0x58]
mov eax, 0xa0a0a0a1
sub ecx, esi
add esp, 8
imul ecx
add edx, ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.004095d0
mov al, bl
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.0041a002
mov esp, ebp
pop ebp
ret 0x20