Function at 0x42d690
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445ea0
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x56211c]
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 - 0x34], ecx
mov ebx, dword [ebp + 0x10]
xor esi, esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x38], esi
mov dword [ebp - 4], esi
test edi, edi
jne 0x42d6dd
mov edi, 0x80070057
jmp 0x42d85e
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0x10
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x42d707
lea eax, [ebp - 0x20]
push 0x10
push eax
call dword [sym.imp.MSVCR120.dll__mbslwr_s]
add esp, 8
jmp 0x42d70b
mov byte [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x30]
push 0x10
push eax
call dword [sym.imp.MSVCR120.dll_strcpy_s]
mov al, byte [edi]
add esp, 0xc
mov ecx, edi
test al, al
je 0x42d732
cmp al, 0x5c
jne 0x42d732
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x42d726
lea eax, [ebp - 0x30]
push eax
push ecx
call dword [sym.imp.MSVCR120.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x42d761
push eax
push str.Atlas_Task_Window
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
jne 0x42d761
or eax, 0xffffffff
xor edi, edi
mov word [ebx], ax
jmp 0x42d85e
push edi
lea ecx, [ebp - 0x4c]
call fcn.0042c740
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
push eax
push 1
push 0
push 0x14
push 0
push 0x449f18
mov dword [ebp - 0x58], 0x449e08
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
call dword [sym.imp.ole32.dll_CoCreateInstanceEx]
mov edi, eax
test edi, edi
js 0x42d856
push dword [ebp - 0x54]
lea ecx, [ebp - 0x38]
call fcn.0042cb90
mov esi, dword [ebp - 0x38]
push 0x7530
push esi
mov eax, dword [esi]
call dword [eax + 0xc]
mov edi, eax
test edi, edi
js 0x42d856
mov edi, dword [ebp - 0x34]
lea ecx, [ebp - 0x34]
push dword [edi + 8]
call fcn.0042c740
lea eax, [edi + 0xc]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x3c]
call fcn.0042c740
cmp dword [ebp + 0xc], 0
mov byte [ebp - 4], 3
je 0x42d829
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x42d7fa
mov ebx, dword [eax]
jmp 0x42d7fc
xor ebx, ebx
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x42d80a
mov eax, dword [eax]
mov dword [ebp - 0x40], eax
jmp 0x42d811
mov dword [ebp - 0x40], 0
push dword [ebp - 0x48]
mov edi, dword [esi]
push 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push ebx
push dword [ebp - 0x40]
push esi
call dword [edi + 0x10]
jmp 0x42d833
movzx eax, word [ebx]
mov ecx, dword [esi]
push eax
push esi
call dword [ecx + 0x14]
mov eax, esi
xor esi, esi
mov dword [ebp - 0x38], esi
test eax, eax
je 0x42d844
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x3c]
xor edi, edi
call fcn.0042cb10
lea ecx, [ebp - 0x34]
call fcn.0042cb10
lea ecx, [ebp - 0x4c]
call fcn.0042cb10
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x42d86f
mov ecx, dword [esi]
push esi
call dword [ecx + 8]
mov eax, edi
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.0043babe
mov esp, ebp
pop ebp
ret 0xc