Function at 0x1005eb8
Capabilities:
Get hostname
Read clipboard data
Write clipboard data

Disassembly:
sub esp, 0x28
mov eax, dword [0x10081b8]
push esi
mov esi, dword [sym.imp.USER32.dll_RegisterClipboardFormatA]
push 0x10023b4
mov dword [esp + 0x2c], eax
call esi
push 0x10023ac
mov dword [0x1008b88], eax
call esi
push 0x10023a0
mov dword [0x1008a74], eax
call esi
push 0x1002394
mov dword [0x1008a68], eax
call esi
push dword [0x1008a74]
mov esi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
mov dword [0x1008a70], eax
call esi
test eax, eax
je 0x1005f1f
push 0x1002378
call fcn.01004bf7
pop ecx
xor eax, eax
jmp 0x10061d9
push ebx
push ebp
push edi
push dword [0x1008b88]
call esi
test eax, eax
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
je 0x1006082
push dword [0x1008a74]
push dword [0x1008b88]
call fcn.010058be
push dword [0x1008428]
call fcn.01002a52
test eax, eax
jne 0x1005f65
xor eax, eax
jmp 0x10061d6
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x24], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0x1002364
call fcn.01004bf7
pop ecx
push dword [0x1008b88]
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
mov dword [esp + 0x18], edi
je 0x100607d
push edi
call ebp
test eax, eax
mov dword [esp + 0x14], eax
je 0x100607d
push edi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push dword [esp + 0x3c]
mov edi, eax
call esi
add edi, eax
lea eax, [esp + 0x24]
push eax
call esi
lea edi, [edi + eax + 0x14]
push edi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [esp + 0x14], eax
call ebp
mov ebx, eax
push 0x100235c
lea eax, [esp + 0x28]
push eax
push 0x1002354
push edi
push ebx
call fcn.01003933
add esp, 0x14
push ebx
call esi
or ecx, 0xffffffff
sub ecx, eax
push ebx
add edi, ecx
call esi
push dword [esp + 0x3c]
lea ebx, [ebx + eax + 1]
push edi
push ebx
call fcn.01003905
push ebx
mov byte [ebx], 0x24
call esi
sub edi, eax
cmp edi, 0x7fffffff
ja 0x1006030
push 0x100234c
push edi
push ebx
call fcn.0100598f
push ebx
call esi
lea eax, [ebx + eax + 1]
mov ebx, dword [esp + 0x14]
push ebx
mov dword [esp + 0x24], eax
call esi
lea ebx, [ebx + eax + 1]
push ebx
call esi
lea eax, [ebx + eax + 1]
push eax
add edi, 0xfffffffb
push edi
push dword [esp + 0x28]
call fcn.01003905
push dword [esp + 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call edi
push dword [esp + 0x10]
call edi
push dword [esp + 0x10]
push dword [0x1008b88]
call dword [sym.imp.USER32.dll_SetClipboardData]
call fcn.01002a8e
push dword [0x1008a68]
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x10061d3
push dword [0x1008a70]
push dword [0x1008a68]
call fcn.010058be
push dword [0x1008428]
call fcn.01002a52
test eax, eax
je 0x1005f5e
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x24], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0x1002334
call fcn.01004bf7
pop ecx
push dword [0x1008a68]
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
mov dword [esp + 0x18], edi
je 0x10061ce
push edi
call ebp
test eax, eax
mov dword [esp + 0x14], eax
je 0x10061ce
push edi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push dword [esp + 0x3c]
mov edi, eax
call esi
add edi, eax
lea eax, [esp + 0x24]
push eax
call esi
lea edi, [edi + eax + 0x14]
push edi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [esp + 0x14], eax
call ebp
mov ebx, eax
push 0x100235c
lea eax, [esp + 0x28]
push eax
push 0x1002354
push edi
push ebx
call fcn.01003933
add esp, 0x14
push ebx
call esi
or ecx, 0xffffffff
sub ecx, eax
push ebx
add edi, ecx
call esi
push dword [esp + 0x3c]
lea ebx, [ebx + eax + 1]
push edi
push ebx
call fcn.01003905
push dword [esp + 0x3c]
call esi
sub edi, eax
cmp edi, 0x7fffffff
mov byte [ebx], 0x24
ja 0x1006188
push 0x100232c
push edi
push ebx
call fcn.0100598f
push ebx
call esi
mov ebp, dword [esp + 0x14]
push ebp
lea ebx, [ebx + eax + 1]
call esi
lea ebp, [eax + ebp + 1]
push ebp
call esi
lea eax, [eax + ebp + 1]
push eax
add edi, 0xfffffffb
push edi
push ebx
call fcn.01003905
push dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call esi
push dword [esp + 0x10]
call esi
push dword [esp + 0x10]
push dword [0x1008a68]
call dword [sym.imp.USER32.dll_SetClipboardData]
call fcn.01002a8e
xor eax, eax
inc eax
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
pop esi
call fcn.01006d6c
add esp, 0x28
ret 4