Function at 0x387f00
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3d4
mov eax, dword [0x4116ec]
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 0x388020
xor eax, eax
je 0x38801b
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.00364170
mov ecx, eax
call fcn.0035f550
push eax
call fcn.001f16a0
add esp, 8
mov ecx, eax
call fcn.001f6860
lea ecx, [ebp - 0xc8]
call fcn.00364580
jmp 0x387fd0
jmp 0x388302
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 0x3880a0
mov eax, dword [ebp - 0x3d4]
cmp dword [eax + 0x10], 0
je 0x3880a0
mov ecx, dword [ebp - 0x3d4]
cmp dword [ecx + 0x14], 0
jne 0x3880f0
xor edx, edx
je 0x3880eb
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.00364170
mov ecx, eax
call fcn.0035f550
push eax
call fcn.001f16a0
add esp, 8
mov ecx, eax
call fcn.001f6860
lea ecx, [ebp - 0x188]
call fcn.00364580
jmp 0x3880a0
jmp 0x388302
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 0x388160
xor ecx, ecx
je 0x38815b
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.00364170
mov ecx, eax
call fcn.0035f550
push eax
call fcn.001f16a0
add esp, 8
mov ecx, eax
call fcn.001f6860
lea ecx, [ebp - 0x248]
call fcn.00364580
jmp 0x388110
jmp 0x388302
call fcn.00373fc0
movzx edx, al
test edx, edx
je 0x388280
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 0x3881c5
mov ecx, dword [ebp - 0x3d4]
cmp dword [ecx + 0x1c], 0
jne 0x388215
xor edx, edx
je 0x388210
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.00364170
mov ecx, eax
call fcn.0035f550
push eax
call fcn.001f16a0
add esp, 8
mov ecx, eax
call fcn.001f6860
lea ecx, [ebp - 0x308]
call fcn.00364580
jmp 0x3881c5
jmp 0x388302
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 0x388280
xor ecx, ecx
je 0x388280
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.00364170
mov ecx, eax
call fcn.0035f550
push eax
call fcn.001f16a0
add esp, 8
mov ecx, eax
call fcn.001f6860
lea ecx, [ebp - 0x3c8]
call fcn.00364580
jmp 0x388235
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.00388940
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.00337a7c
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.00337a7c
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.00338a41
mov esp, ebp
pop ebp
ret