Function at 0x597f00
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3d4
mov eax, dword [str.W__a]
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 0x598020
xor eax, eax
je 0x59801b
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.00574170
mov ecx, eax
call fcn.0056f550
push eax
call fcn.004016a0
add esp, 8
mov ecx, eax
call fcn.00406860
lea ecx, [ebp - 0xc8]
call fcn.00574580
jmp 0x597fd0
jmp 0x598302
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 0x5980a0
mov eax, dword [ebp - 0x3d4]
cmp dword [eax + 0x10], 0
je 0x5980a0
mov ecx, dword [ebp - 0x3d4]
cmp dword [ecx + 0x14], 0
jne 0x5980f0
xor edx, edx
je 0x5980eb
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.00574170
mov ecx, eax
call fcn.0056f550
push eax
call fcn.004016a0
add esp, 8
mov ecx, eax
call fcn.00406860
lea ecx, [ebp - 0x188]
call fcn.00574580
jmp 0x5980a0
jmp 0x598302
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 0x598160
xor ecx, ecx
je 0x59815b
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.00574170
mov ecx, eax
call fcn.0056f550
push eax
call fcn.004016a0
add esp, 8
mov ecx, eax
call fcn.00406860
lea ecx, [ebp - 0x248]
call fcn.00574580
jmp 0x598110
jmp 0x598302
call fcn.00583fc0
movzx edx, al
test edx, edx
je 0x598280
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 0x5981c5
mov ecx, dword [ebp - 0x3d4]
cmp dword [ecx + 0x1c], 0
jne 0x598215
xor edx, edx
je 0x598210
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.00574170
mov ecx, eax
call fcn.0056f550
push eax
call fcn.004016a0
add esp, 8
mov ecx, eax
call fcn.00406860
lea ecx, [ebp - 0x308]
call fcn.00574580
jmp 0x5981c5
jmp 0x598302
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 0x598280
xor ecx, ecx
je 0x598280
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.00574170
mov ecx, eax
call fcn.0056f550
push eax
call fcn.004016a0
add esp, 8
mov ecx, eax
call fcn.00406860
lea ecx, [ebp - 0x3c8]
call fcn.00574580
jmp 0x598235
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.00598940
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.00547a7c
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.00547a7c
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.00548a41
mov esp, ebp
pop ebp
ret