Function at 0x40d570
Capabilities:
Get hostname

Disassembly:
push ebp
lea ebp, [esp - 0x414]
sub esp, 0x414
push 0xffffffffffffffff
push 0x420230
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x43f7ac]
xor eax, ebp
mov dword [ebp + 0x410], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
mov byte [ebp + 0x30c], bl
push 0x103
push ebx
lea eax, [ebp + 0x30d]
push eax
call fcn.0040feb0
mov byte [ebp + 0x208], bl
push 0x103
push ebx
lea ecx, [ebp + 0x209]
push ecx
call fcn.0040feb0
mov byte [ebp + 0x104], bl
push 0x103
push ebx
lea edx, [ebp + 0x105]
push edx
call fcn.0040feb0
mov byte [ebp + 0x208], bl
push 1
push 0x104
lea eax, [ebp + 0x208]
push eax
push str.SystemRoot
push str.SoftwareMicrosoftWindows_NTCurrentVersion
push SysReAllocStringLen
call fcn.004051f0
add esp, 0x3c
mov dword [ebp - 0x14], eax
cmp eax, ebx
jne 0x40d65e
push 1
push 0x104
lea ecx, [ebp + 0x208]
push ecx
push str.SystemRoot
push str.SoftwareMicrosoftWindowsCurrentVersion
push SysReAllocStringLen
call fcn.004051f0
add esp, 0x18
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x40d83b
mov edx, dword [str.Tasks]
mov dword [ebp + 0x30c], edx
mov ax, word [0x4353e4]
mov word [ebp + 0x310], ax
push 1
push 0x104
lea ecx, [ebp + 0x30c]
push ecx
push str.TasksFolder
push str.SoftwareMicrosoftSchedulingAgent
push SysReAllocStringLen
call fcn.004051f0
add esp, 0x18
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x30c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x40d6a8
sub eax, edx
xor esi, esi
mov cl, 0x5c
mov dword [ebp - 0x18], esi
cmp esi, eax
jge 0x40d83b
cmp byte [ebp + esi + 0x30c], cl
je 0x40d6d0
add esi, 1
jmp 0x40d6b7
lea ecx, [ebp + 0x208]
lea edx, [ebp + 0x104]
lea esp, [esp]
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
cmp al, bl
jne 0x40d6e0
lea eax, [ebp + esi + 0x30c]
mov edx, eax
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x40d6f7
sub eax, edx
lea edi, [ebp + 0x104]
add edi, 0xffffffff
jmp 0x40d710
mov cl, byte [edi + 1]
add edi, 1
cmp cl, bl
jne 0x40d710
mov ecx, eax
mov esi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp + 0x104]
lea edx, [ebp + 0x30c]
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
cmp al, bl
jne 0x40d736
lea edi, [ebp + 0x30c]
add edi, 0xffffffff
lea ecx, [ecx]
mov al, byte [edi + 1]
add edi, 1
cmp al, bl
jne 0x40d750
mov dx, word [0x421b3c]
mov word [edi], dx
mov dword [ebp - 0x1c], 0x103
mov byte [ebp], bl
push 0x103
push ebx
lea eax, [ebp + 1]
push eax
call fcn.0040feb0
add esp, 0xc
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea eax, [ebp]
mov ecx, eax
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x40d793
sub eax, ecx
mov esi, ecx
lea edi, [ebp + 0x30c]
add edi, 0xffffffff
lea esp, [esp]
mov cl, byte [edi + 1]
add edi, 1
cmp cl, bl
jne 0x40d7b0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp + 0x30c]
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
cmp cl, bl
jne 0x40d7d1
mov ecx, dword [str._uninstall]
mov dword [eax], ecx
mov edx, dword [0x4353a8]
mov dword [eax + 4], edx
mov cx, word [0x4353ac]
mov word [eax + 8], cx
mov dl, byte [0x4353ae]
mov byte [eax + 0xa], dl
lea eax, [ebp + 0x30c]
add eax, 0xffffffff
lea esp, [esp]
mov cl, byte [eax + 1]
add eax, 1
cmp cl, bl
jne 0x40d810
mov ecx, dword [str..job]
mov dword [eax], ecx
mov dl, byte [0x4353a0]
mov byte [eax + 4], dl
push ebx
lea eax, [ebp + 0x30c]
push eax
call fcn.0040f500
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.0040fe67
add ebp, 0x414
mov esp, ebp
pop ebp
ret