Function at 0x12f7f00
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3d4
mov eax, dword [0x13816ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x3d4], ecx
mov eax, dword [ebp - 0x3d4]
mov dword [eax], 0
mov ecx, dword [ebp - 0x3d4]
mov dword [ecx + 4], 0xffffffff
mov edx, dword [ebp - 0x3d4]
mov dword [edx + 0xc], 0
mov eax, dword [ebp - 0x3d4]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp - 0x3d4]
mov dword [ecx + 0x14], 0
mov edx, dword [ebp - 0x3d4]
mov dword [edx + 0x18], 0
mov eax, dword [ebp - 0x3d4]
mov dword [eax + 0x1c], 0
mov ecx, dword [ebp - 0x3d4]
mov dword [ecx + 0x20], 0
mov edx, dword [ebp - 0x3d4]
mov dword [edx + 0x24], 0
mov eax, dword [ebp - 0x3d4]
mov dword [eax + 0x28], 0
mov ecx, dword [ebp - 0x3d4]
mov dword [ecx + 0x2c], 0
mov edx, dword [ebp - 0x3d4]
mov byte [edx + 0x30], 0
mov eax, dword [str.Iphlpapi.dll]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [ebp - 0x3d4]
mov dword [ecx], eax
mov edx, dword [ebp - 0x3d4]
cmp dword [edx], 0
jne 0x12f8020
xor eax, eax
je 0x12f801b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LoadLibrary:
push 0
push 0
push 0
push 4
push 0
push 0
lea ecx, [ebp - 0xc8]
call fcn.012d4170
mov ecx, eax
call fcn.012cf550
push eax
call fcn.011616a0
add esp, 8
mov ecx, eax
call fcn.01166860
lea ecx, [ebp - 0xc8]
call fcn.012d4580
jmp 0x12f7fd0
jmp 0x12f8302
mov ecx, dword [str.IcmpCreateFile]
push ecx
mov edx, dword [ebp - 0x3d4]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x3d4]
mov dword [ecx + 0xc], eax
mov edx, dword [str.IcmpCloseHandle]
push edx
mov eax, dword [ebp - 0x3d4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x3d4]
mov dword [edx + 0x10], eax
mov eax, dword [str.IcmpSendEcho]
push eax
mov ecx, dword [ebp - 0x3d4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x3d4]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 0x3d4]
cmp dword [edx + 0xc], 0
je 0x12f80a0
mov eax, dword [ebp - 0x3d4]
cmp dword [eax + 0x10], 0
je 0x12f80a0
mov ecx, dword [ebp - 0x3d4]
cmp dword [ecx + 0x14], 0
jne 0x12f80f0
xor edx, edx
je 0x12f80eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetProcAddress_ICMP__:
push 0
push 0
push 0
push 4
push 0
push 0
lea ecx, [ebp - 0x188]
call fcn.012d4170
mov ecx, eax
call fcn.012cf550
push eax
call fcn.011616a0
add esp, 8
mov ecx, eax
call fcn.01166860
lea ecx, [ebp - 0x188]
call fcn.012d4580
jmp 0x12f80a0
jmp 0x12f8302
mov eax, dword [ebp - 0x3d4]
mov ecx, dword [eax + 0xc]
call ecx
mov edx, dword [ebp - 0x3d4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x3d4]
cmp dword [eax + 4], 0xffffffff
jne 0x12f8160
xor ecx, ecx
je 0x12f815b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.IcmpCreateFile:
push 0
push 0
push 0
push 4
push 0
push 0
lea ecx, [ebp - 0x248]
call fcn.012d4170
mov ecx, eax
call fcn.012cf550
push eax
call fcn.011616a0
add esp, 8
mov ecx, eax
call fcn.01166860
lea ecx, [ebp - 0x248]
call fcn.012d4580
jmp 0x12f8110
jmp 0x12f8302
call fcn.012e3fc0
movzx edx, al
test edx, edx
je 0x12f8280
mov eax, dword [str.Icmp6CreateFile]
push eax
mov ecx, dword [ebp - 0x3d4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x3d4]
mov dword [ecx + 0x18], eax
mov edx, dword [str.Icmp6SendEcho2]
push edx
mov eax, dword [ebp - 0x3d4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x3d4]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 0x3d4]
cmp dword [eax + 0x18], 0
je 0x12f81c5
mov ecx, dword [ebp - 0x3d4]
cmp dword [ecx + 0x1c], 0
jne 0x12f8215
xor edx, edx
je 0x12f8210
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetProcAddress_ICMP6__:
push 0
push 0
push 0
push 4
push 0
push 0
lea ecx, [ebp - 0x308]
call fcn.012d4170
mov ecx, eax
call fcn.012cf550
push eax
call fcn.011616a0
add esp, 8
mov ecx, eax
call fcn.01166860
lea ecx, [ebp - 0x308]
call fcn.012d4580
jmp 0x12f81c5
jmp 0x12f8302
mov eax, dword [ebp - 0x3d4]
mov ecx, dword [eax + 0x18]
call ecx
mov edx, dword [ebp - 0x3d4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x3d4]
cmp dword [eax + 8], 0xffffffff
jne 0x12f8280
xor ecx, ecx
je 0x12f8280
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Icmp6CreateFile:
push 0
push 0
push 0
push 4
push 0
push 0
lea ecx, [ebp - 0x3c8]
call fcn.012d4170
mov ecx, eax
call fcn.012cf550
push eax
call fcn.011616a0
add esp, 8
mov ecx, eax
call fcn.01166860
lea ecx, [ebp - 0x3c8]
call fcn.012d4580
jmp 0x12f8235
mov edx, dword [ebp - 0x3d4]
mov dword [edx + 0x24], 0
push 2
mov eax, dword [ebp - 0x3d4]
mov ecx, dword [eax + 0x24]
push ecx
call fcn.012f8940
add esp, 8
mov edx, dword [ebp - 0x3d4]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 0x3d4]
mov ecx, dword [eax + 0x24]
push ecx
call fcn.012a7a7c
add esp, 4
mov dword [ebp - 0x3cc], eax
mov edx, dword [ebp - 0x3d4]
mov eax, dword [ebp - 0x3cc]
mov dword [edx + 0x20], eax
mov ecx, dword [ebp - 0x3d4]
mov edx, dword [ecx + 0x2c]
push edx
call fcn.012a7a7c
add esp, 4
mov dword [ebp - 0x3d0], eax
mov eax, dword [ebp - 0x3d4]
mov ecx, dword [ebp - 0x3d0]
mov dword [eax + 0x28], ecx
mov edx, dword [ebp - 0x3d4]
mov byte [edx + 0x30], 1
mov eax, dword [ebp - 0x3d4]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.012a8a41
mov esp, ebp
pop ebp
ret