Function at 0x10341ee
Capabilities:
Resolve dns
Send icmp echo request

Disassembly:
mov eax, 0x10402d3
call fcn.0103cb58
sub esp, 0x48
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
inc ebx
mov dword [ebp - 0x18], ebx
xor edi, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 4], edi
cmp dword [ebp + 8], edi
je 0x10343c9
push dword [ebp + 8]
lea ecx, [ebp - 0x24]
call fcn.01007b57
mov byte [ebp - 4], bl
mov esi, 0x104a148
mov ecx, esi
call fcn.01035ea1
test eax, eax
jne 0x1034258
call fcn.01031f1e
mov dword [ebp - 0x18], eax
push eax
mov ecx, esi
call fcn.01035e8a
cmp dword [ebp - 0x18], ebx
jne 0x103439e
mov esi, dword [ebp - 0x24]
cmp esi, edi
je 0x1034268
mov ecx, esi
call fcn.01015c3b
jmp 0x103426a
xor eax, eax
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x28], eax
cmp eax, 0xffffffff
jne 0x10342a8
cmp esi, edi
je 0x1034286
mov ecx, esi
call fcn.01015c3b
jmp 0x1034288
xor eax, eax
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x48], eax
cmp eax, edi
jne 0x103429e
mov dword [ebp - 0x18], edi
jmp 0x103439e
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
call sub.iphlpapi.dll_IcmpCreateFile
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
jne 0x10342cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x30], eax
push 0x1042d04
lea eax, [ebp - 0x30]
jmp 0x1034382
push 0x20
push edi
mov esi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
call esi
mov edi, eax
mov dword [ebp - 0x1c], edi
test edi, edi
jne 0x10342f5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x34], eax
push 0x1042d04
lea eax, [ebp - 0x34]
jmp 0x1034382
xor ecx, ecx
mov dword [ebp - 0x38], ecx
push 0x20
pop eax
cmp ecx, eax
jae 0x1034312
mov eax, ecx
cdq
push 0x17
pop ebx
idiv ebx
add edx, 0x61
mov byte [ecx + edi], dl
inc ecx
jmp 0x10342f7
xor eax, eax
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x51], al
mov byte [ebp - 0x54], 0x80
mov byte [ebp - 0x53], al
xor al, al
mov byte [ebp - 0x52], al
mov eax, 0x1ff8
push eax
push 0
call esi
mov ebx, eax
mov dword [ebp - 0x20], ebx
test ebx, ebx
jne 0x103434c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x3c], eax
push 0x1042d04
lea eax, [ebp - 0x3c]
jmp 0x1034382
push dword [ebp + 0xc]
mov eax, 0x1ff8
push eax
push ebx
lea eax, [ebp - 0x54]
push eax
push 0x20
pop eax
push eax
push edi
push dword [ebp - 0x28]
push dword [ebp - 0x14]
call sub.iphlpapi.dll_IcmpSendEcho
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x1034388
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x40], eax
push 0x1042d04
lea eax, [ebp - 0x40]
push eax
call sub.msvcrt.dll__CxxThrowException
push edi
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
call esi
push ebx
call esi
push dword [ebp - 0x14]
call sub.iphlpapi.dll_IcmpCloseHandle
xor edi, edi
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x24]
cmp ecx, edi
je 0x10343b1
call fcn.01008084
mov dword [ebp - 0x24], edi
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 8
mov dword [ebp - 0x18], edi
jmp 0x10343b1