Function at 0x10056150
Capabilities:
Get routing table

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008de68
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x100a70c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
lea eax, [ebp - 0x98]
mov dword [ebp - 4], 0
push eax
call fcn.10056900
mov eax, dword [ebp - 0x98]
cmp eax, dword [ebp - 0x94]
je 0x100566e7
push dword [eax + 0x108]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov edx, eax
lea esi, [edx + 1]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x100561e0
sub edx, esi
lea ecx, [edi + 0x130]
push edx
push eax
call fcn.10002e20
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetIpForwardTable]
lea eax, [ebp - 0x84]
push 1
push eax
push 0
mov dword [ebp - 0x84], 0
call esi
cmp eax, 0x7a
jne 0x100566e7
push dword [ebp - 0x84]
call fcn.100636a2
add esp, 4
mov edi, eax
lea eax, [ebp - 0x84]
mov dword [ebp - 0xa4], edi
push 1
push eax
push edi
call esi
test eax, eax
je 0x10056252
push 1
push edi
call fcn.10063694
add esp, 8
jmp 0x100566e7
mov esi, dword [ebp - 0x88]
lea eax, [esi + 0x14c]
push eax
mov dword [ebp - 0xa8], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edx, edx
mov dword [ebp - 0x7c], edx
cmp dword [edi], edx
jbe 0x100566d2
lea eax, [edi + 4]
mov dword [ebp - 0x78], eax
nop
mov edi, dword [ebp - 0x88]
mov ecx, dword [eax]
mov esi, dword [esi + 8]
mov dword [ebp - 0x9c], ecx
mov ecx, dword [eax + 4]
mov edi, dword [edi + 0xc]
mov dword [ebp - 0xa0], ecx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x8c], ecx
cmp esi, edi
je 0x10056573
nop
push esi
lea ecx, [ebp - 0x40]
call fcn.10003d00
cmp dword [ebp - 0x2c], 0xf
lea eax, [ebp - 0x40]
mov ecx, dword [ebp - 0x30]
cmova eax, dword [ebp - 0x40]
mov dword [ebp - 0x74], eax
test ecx, ecx
je 0x100562e3
push ecx
push 0x2f
push eax
call fcn.100652f0
add esp, 0xc
test eax, eax
je 0x100562e3
sub eax, dword [ebp - 0x74]
jmp 0x100562e6
or eax, 0xffffffff
xorps xmm0, xmm0
mov dword [ebp - 0x74], eax
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 3
cmp eax, 0xffffffff
jne 0x1005633e
cmp dword [ebp - 0x2c], 0xf
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 0x30]
lea ecx, [ebp - 0x70]
cmova eax, dword [ebp - 0x40]
push edx
push eax
call fcn.10002e20
jmp 0x10056414
cmp dword [ebp - 0x30], eax
mov ecx, eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x48], 0
cmovb ecx, dword [ebp - 0x30]
cmp dword [ebp - 0x2c], 0xf
push ecx
cmova eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x58]
push eax
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0
call fcn.10003170
movups xmm0, xmmword [ebp - 0x58]
mov edx, dword [ebp - 0x74]
or dword [ebp - 0x80], 2
inc edx
mov eax, dword [ebp - 0x30]
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [ebp - 0x48]
movq qword [ebp - 0x60], xmm0
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x58], xmm0
cmp eax, edx
jb 0x10056712
sub eax, edx
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x2c], 0xf
lea eax, [ebp - 0x40]
cmova eax, dword [ebp - 0x40]
push ecx
add eax, edx
lea ecx, [ebp - 0x58]
push eax
call fcn.10003170
or dword [ebp - 0x80], 1
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x10056402
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100563f8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005670d
push ecx
push edx
call fcn.10063694
add esp, 8
movups xmm0, xmmword [ebp - 0x58]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [ebp - 0x48]
movq qword [ebp - 0x18], xmm0
cmp dword [ebp - 0x5c], 0xf
lea edx, [ebp - 0x70]
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
cmova edx, dword [ebp - 0x70]
mov eax, edx
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x58], xmm0
lea ecx, [eax + 1]
mov dword [ebp - 0x74], ecx
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10056440
sub eax, dword [ebp - 0x74]
lea ecx, [ebp - 0x58]
push eax
push edx
call fcn.10003170
lea ecx, [ebp - 0x58]
call fcn.1001a940
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x74], eax
cmp ecx, 0xf
jbe 0x10056496
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10056489
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005670d
push ecx
push edx
call fcn.10063694
mov eax, dword [ebp - 0x74]
add esp, 8
cmp dword [ebp - 0x9c], eax
je 0x100565d4
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x100564da
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100564d0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005670d
push ecx
push edx
call fcn.10063694
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ecx, 0xf
jbe 0x10056524
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005651a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005670d
push ecx
push edx
call fcn.10063694
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x1005655c
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10056552
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005670d
push ecx
push edx
call fcn.10063694
add esp, 8
add esi, 0x18
cmp esi, edi
jne 0x100562b0
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x7c]
mov esi, dword [ebp - 0x98]
mov edi, dword [ebp - 0x94]
cmp esi, edi
je 0x100565b1
cmp dword [esi + 0x108], ecx
jne 0x1005659e
cmp dword [eax + 4], 0xffffffff
je 0x1005659e
push eax
call dword [sym.imp.IPHLPAPI.DLL_DeleteIpForwardEntry]
mov ecx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x78]
add esi, 0x110
cmp esi, edi
jne 0x10056583
mov eax, dword [ebp - 0x78]
mov edx, dword [ebp - 0x7c]
mov edi, dword [ebp - 0xa4]
inc edx
add eax, 0x38
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x78], eax
cmp edx, dword [edi]
jae 0x100566d2
mov esi, dword [ebp - 0x88]
jmp 0x10056280
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
call fcn.1006e6e3
mov ecx, 0x20
add esp, 4
sub ecx, eax
mov eax, 1
shl eax, cl
dec eax
not eax
push eax
call dword [sym.imp.WS2_32.dll_htonl]
mov byte [ebp - 4], 2
mov esi, eax
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x1005663a
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10056630
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005670d
push ecx
push edx
call fcn.10063694
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ecx, 0xf
jbe 0x10056684
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005667a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005670d
push ecx
push edx
call fcn.10063694
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x100566b8
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100566ae
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005670d
push ecx
push edx
call fcn.10063694
add esp, 8
cmp dword [ebp - 0xa0], esi
jne 0x100565ab
push dword [ebp - 0x78]
call dword [sym.imp.IPHLPAPI.DLL_DeleteIpForwardEntry]
jmp 0x100565ab
push dword [ebp - 0xa8]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edi
call fcn.10063345
add esp, 4
lea ecx, [ebp - 0x98]
call fcn.10057490
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10063337
mov esp, ebp
pop ebp
ret
call fcn.1006dd3f
call fcn.10003f90
int3