Function at 0x10056130
Capabilities:
Get routing table

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008de48
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.100568e0
mov eax, dword [ebp - 0x98]
cmp eax, dword [ebp - 0x94]
je 0x100566c7
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 0x100561c0
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 0x100566c7
push dword [ebp - 0x84]
call fcn.10063682
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 0x10056232
push 1
push edi
call fcn.10063674
add esp, 8
jmp 0x100566c7
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 0x100566b2
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 0x10056553
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 0x100562c3
push ecx
push 0x2f
push eax
call fcn.100652d0
add esp, 0xc
test eax, eax
je 0x100562c3
sub eax, dword [ebp - 0x74]
jmp 0x100562c6
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 0x1005631e
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 0x100563f4
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 0x100566f2
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 0x100563e2
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100563d8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100566ed
push ecx
push edx
call fcn.10063674
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 0x10056420
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 0x10056476
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10056469
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100566ed
push ecx
push edx
call fcn.10063674
mov eax, dword [ebp - 0x74]
add esp, 8
cmp dword [ebp - 0x9c], eax
je 0x100565b4
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x100564ba
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100564b0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100566ed
push ecx
push edx
call fcn.10063674
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 0x10056504
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100564fa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100566ed
push ecx
push edx
call fcn.10063674
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x1005653c
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10056532
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100566ed
push ecx
push edx
call fcn.10063674
add esp, 8
add esi, 0x18
cmp esi, edi
jne 0x10056290
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 0x10056591
cmp dword [esi + 0x108], ecx
jne 0x1005657e
cmp dword [eax + 4], 0xffffffff
je 0x1005657e
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 0x10056563
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 0x100566b2
mov esi, dword [ebp - 0x88]
jmp 0x10056260
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
call fcn.1006e6c3
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 0x1005661a
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10056610
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100566ed
push ecx
push edx
call fcn.10063674
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 0x10056664
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005665a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100566ed
push ecx
push edx
call fcn.10063674
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x10056698
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005668e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100566ed
push ecx
push edx
call fcn.10063674
add esp, 8
cmp dword [ebp - 0xa0], esi
jne 0x1005658b
push dword [ebp - 0x78]
call dword [sym.imp.IPHLPAPI.DLL_DeleteIpForwardEntry]
jmp 0x1005658b
push dword [ebp - 0xa8]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edi
call fcn.10063325
add esp, 4
lea ecx, [ebp - 0x98]
call fcn.10057470
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.10063317
mov esp, ebp
pop ebp
ret
call fcn.1006dd1f
call fcn.10003f90
int3