Function at 0x1035d29
Capabilities:
Get hostname
Send icmp echo request

Disassembly:
push 0x364
mov eax, 0x1042318
call fcn.0103d928
mov eax, dword [ebp + 8]
mov dword [ebp - 0x338], eax
xor esi, esi
inc esi
mov dword [ebp - 0x330], esi
xor ebx, ebx
mov dword [ebp - 0x320], ebx
mov dword [ebp - 0x324], ebx
mov dword [ebp - 0x328], ebx
mov dword [ebp - 0x334], ebx
mov dword [ebp - 0x32c], esi
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x103610e
push eax
lea ecx, [ebp - 0x348]
call fcn.01007b81
mov byte [ebp - 4], 1
mov edi, 0x104c1b0
mov ecx, edi
call fcn.01037a17
test eax, eax
jne 0x1035db4
call fcn.01033364
mov dword [ebp - 0x330], eax
push eax
mov ecx, edi
call fcn.01037a00
cmp dword [ebp - 0x330], esi
jne 0x10360f4
push ebx
lea eax, [ebp - 0x32c]
push eax
lea eax, [ebp - 0x29c]
push eax
push dword [ebp - 0x338]
call fcn.010333c5
cmp eax, ebx
jne 0x10360f4
push 0x20
push ebx
mov esi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
call esi
mov dword [ebp - 0x324], eax
cmp eax, ebx
jne 0x1035e08
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x364], eax
push 0x1045960
lea eax, [ebp - 0x364]
push eax
call sub.msvcrt.dll__CxxThrowException
xor ecx, ecx
mov dword [ebp - 0x360], ecx
push 0x20
pop eax
cmp ecx, eax
jae 0x1035e2e
mov eax, ecx
cdq
push 0x17
pop edi
idiv edi
add edx, 0x61
mov eax, dword [ebp - 0x324]
mov byte [ecx + eax], dl
inc ecx
jmp 0x1035e0a
xor eax, eax
mov dword [ebp - 0x340], eax
mov byte [ebp - 0x341], al
mov byte [ebp - 0x344], 0x80
mov byte [ebp - 0x343], bl
xor al, al
mov byte [ebp - 0x342], al
mov edi, 0x1ff8
push edi
push ebx
call esi
mov dword [ebp - 0x328], eax
cmp eax, ebx
jne 0x1035e7d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x35c], eax
push 0x1045960
lea eax, [ebp - 0x35c]
jmp 0x1035e02
cmp dword [ebp - 0x32c], ebx
je 0x1035ff8
call sub.IPHLPAPI.DLL_IcmpCreateFile
mov dword [ebp - 0x320], eax
cmp eax, 0xffffffff
jne 0x1035eb5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x34c], eax
push 0x1045960
lea eax, [ebp - 0x34c]
jmp 0x1035e02
lea esi, [ebp - 0x298]
lea edi, [ebp - 0x33c]
xor eax, eax
mov dword [ebp - 0x36c], eax
cmp eax, 4
jge 0x1035ed7
mov cl, byte [eax + esi]
mov byte [eax + edi], cl
inc eax
jmp 0x1035ec3
push dword [ebp + 0xc]
mov edi, 0x1ff8
push edi
push dword [ebp - 0x328]
lea eax, [ebp - 0x344]
push eax
push 0x20
pop esi
push esi
push dword [ebp - 0x324]
push dword [ebp - 0x33c]
push dword [ebp - 0x320]
call sub.IPHLPAPI.DLL_IcmpSendEcho
mov dword [ebp - 0x334], eax
cmp dword [ebp - 0x32c], ebx
je 0x1035ff8
cmp eax, ebx
jne 0x10360d3
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x10360af
push 2
lea eax, [ebp - 0x32c]
push eax
lea eax, [ebp - 0x29c]
push eax
push dword [ebp - 0x338]
call fcn.010333c5
cmp eax, ebx
jne 0x10360af
cmp dword [ebp - 0x32c], ebx
jne 0x10360af
mov dword [ebp - 0x33c], 0x104
lea eax, [ebp - 0x33c]
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x10360af
call sub.IPHLPAPI.DLL_Icmp6CreateFile
mov dword [ebp - 0x320], eax
cmp eax, 0xffffffff
jne 0x1035fb1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x354], eax
push 0x1045960
lea eax, [ebp - 0x354]
jmp 0x1035e02
push 2
lea eax, [ebp - 0x32c]
push eax
lea eax, [ebp - 0x31c]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.010333c5
cmp eax, ebx
jne 0x10360af
cmp dword [ebp - 0x32c], ebx
jne 0x10360af
push dword [ebp + 0xc]
push edi
push dword [ebp - 0x328]
lea eax, [ebp - 0x344]
push eax
push esi
jmp 0x1036087
mov dword [ebp - 0x338], 0x104
lea eax, [ebp - 0x338]
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x10360af
call sub.IPHLPAPI.DLL_Icmp6CreateFile
mov dword [ebp - 0x320], eax
cmp eax, 0xffffffff
jne 0x103604a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x358], eax
push 0x1045960
lea eax, [ebp - 0x358]
jmp 0x1035e02
push 2
lea eax, [ebp - 0x32c]
push eax
lea eax, [ebp - 0x31c]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.010333c5
cmp eax, ebx
jne 0x10360af
cmp dword [ebp - 0x32c], ebx
jne 0x10360af
push dword [ebp + 0xc]
push edi
push dword [ebp - 0x328]
lea eax, [ebp - 0x344]
push eax
push 0x20
pop eax
push eax
push dword [ebp - 0x324]
lea eax, [ebp - 0x29c]
push eax
lea eax, [ebp - 0x31c]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x320]
call sub.IPHLPAPI.DLL_Icmp6SendEcho2
mov dword [ebp - 0x334], eax
cmp dword [ebp - 0x334], ebx
jne 0x10360d3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x368], eax
push 0x1045960
lea eax, [ebp - 0x368]
jmp 0x1035e02
push dword [ebp - 0x324]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
call esi
push dword [ebp - 0x328]
call esi
push dword [ebp - 0x320]
call sub.IPHLPAPI.DLL_IcmpCloseHandle
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x348]
cmp ecx, ebx
je 0x1036114
call fcn.0100830c
mov dword [ebp - 0x348], ebx
jmp 0x1036114
mov dword [ebp - 0x330], ebx
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x330]
call fcn.0103d993
ret 8