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

Disassembly:
mov eax, 0x103fc90
call fcn.0103c428
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 0x1033fb4
push dword [ebp + 8]
lea ecx, [ebp - 0x24]
call fcn.01007727
mov byte [ebp - 4], bl
mov esi, 0x1049118
mov ecx, esi
call fcn.01035739
test eax, eax
jne 0x1033e43
call fcn.010319a4
mov dword [ebp - 0x18], eax
push eax
mov ecx, esi
call fcn.01035722
cmp dword [ebp - 0x18], ebx
jne 0x1033f89
mov esi, dword [ebp - 0x24]
cmp esi, edi
je 0x1033e53
mov ecx, esi
call fcn.010157e0
jmp 0x1033e55
xor eax, eax
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x28], eax
cmp eax, 0xffffffff
jne 0x1033e93
cmp esi, edi
je 0x1033e71
mov ecx, esi
call fcn.010157e0
jmp 0x1033e73
xor eax, eax
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x48], eax
cmp eax, edi
jne 0x1033e89
mov dword [ebp - 0x18], edi
jmp 0x1033f89
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 0x1033eb6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x30], eax
push 0x10425f0
lea eax, [ebp - 0x30]
jmp 0x1033f6d
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 0x1033ee0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x34], eax
push 0x10425f0
lea eax, [ebp - 0x34]
jmp 0x1033f6d
xor ecx, ecx
mov dword [ebp - 0x38], ecx
push 0x20
pop eax
cmp ecx, eax
jae 0x1033efd
mov eax, ecx
cdq
push 0x17
pop ebx
idiv ebx
add edx, 0x61
mov byte [ecx + edi], dl
inc ecx
jmp 0x1033ee2
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 0x1033f37
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x3c], eax
push 0x10425f0
lea eax, [ebp - 0x3c]
jmp 0x1033f6d
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 0x1033f73
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x40], eax
push 0x10425f0
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 0x1033f9c
call fcn.01007c31
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 0x1033f9c