Function at 0x10058c00
Capabilities:
Get routing table

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100910b8
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x100ab080]
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 - 0x8c], edi
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
lea eax, [ebp - 0x9c]
mov dword [ebp - 4], 0
push eax
call fcn.10059830
mov eax, dword [ebp - 0x9c]
cmp eax, dword [ebp - 0x98]
je 0x100591a4
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 0x10058c93
sub edx, esi
lea ecx, [edi + 0x130]
push edx
push eax
call fcn.10002eb0
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetIpForwardTable]
lea eax, [ebp - 0x88]
push 1
push eax
push 0
mov dword [ebp - 0x88], 0
call esi
cmp eax, 0x7a
jne 0x100591a4
push dword [ebp - 0x88]
call fcn.100666d7
add esp, 4
mov edi, eax
lea eax, [ebp - 0x88]
mov dword [ebp - 0xa8], edi
push 1
push eax
push edi
call esi
test eax, eax
je 0x10058d05
push 1
push edi
call fcn.100666c9
add esp, 8
jmp 0x100591a4
mov esi, dword [ebp - 0x8c]
lea eax, [esi + 0x14c]
push eax
mov dword [ebp - 0xac], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edx, edx
mov dword [ebp - 0x80], edx
cmp dword [edi], edx
jbe 0x1005918f
lea eax, [edi + 4]
mov dword [ebp - 0x7c], eax
mov edi, dword [ebp - 0x8c]
mov ecx, dword [eax]
mov esi, dword [esi + 8]
mov dword [ebp - 0xa0], ecx
mov ecx, dword [eax + 4]
mov edi, dword [edi + 0xc]
mov dword [ebp - 0xa4], ecx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x90], ecx
cmp esi, edi
je 0x10059029
nop
push esi
lea ecx, [ebp - 0x40]
call fcn.10003da0
cmp dword [ebp - 0x2c], 0xf
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 0x30]
cmova ecx, dword [ebp - 0x40]
seta byte [ebp - 0x71]
mov dword [ebp - 0x78], ecx
test eax, eax
je 0x10058d97
push eax
push 0x2f
push ecx
call fcn.100681d0
add esp, 0xc
test eax, eax
je 0x10058d97
sub eax, dword [ebp - 0x78]
jmp 0x10058d9a
or eax, 0xffffffff
xorps xmm0, xmm0
mov dword [ebp - 0x78], 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 0x10058df2
cmp byte [ebp - 0x71], 0
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 0x30]
lea ecx, [ebp - 0x70]
cmovne eax, dword [ebp - 0x40]
push edx
push eax
call fcn.10002eb0
jmp 0x10058ece
cmp dword [ebp - 0x30], eax
mov ecx, eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x48], 0
cmovb ecx, dword [ebp - 0x30]
cmp byte [ebp - 0x71], 0
push ecx
cmovne eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x58]
push eax
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0
call fcn.10003200
movups xmm0, xmmword [ebp - 0x58]
mov edx, dword [ebp - 0x78]
or dword [ebp - 0x84], 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 0x100591cf
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.10003200
or dword [ebp - 0x84], 1
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x10058ebc
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10058eb2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100591ca
push ecx
push edx
call fcn.100666c9
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 - 0x78], ecx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10058ef6
sub eax, dword [ebp - 0x78]
lea ecx, [ebp - 0x58]
push eax
push edx
call fcn.10003200
lea ecx, [ebp - 0x58]
call fcn.1001a9d0
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x78], eax
cmp ecx, 0xf
jbe 0x10058f4c
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10058f3f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100591ca
push ecx
push edx
call fcn.100666c9
mov eax, dword [ebp - 0x78]
add esp, 8
cmp dword [ebp - 0xa0], eax
je 0x10059091
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x10058f90
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10058f86
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100591ca
push ecx
push edx
call fcn.100666c9
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 0x10058fda
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10058fd0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100591ca
push ecx
push edx
call fcn.100666c9
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x10059012
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10059008
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100591ca
push ecx
push edx
call fcn.100666c9
add esp, 8
add esi, 0x18
cmp esi, edi
jne 0x10058d60
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x90]
mov edx, dword [ebp - 0x80]
mov esi, dword [ebp - 0x9c]
mov edi, dword [ebp - 0x98]
cmp esi, edi
je 0x1005906e
nop dword [eax]
cmp dword [esi + 0x108], ecx
jne 0x1005905b
cmp dword [eax + 4], 0xffffffff
je 0x1005905b
push eax
call dword [sym.imp.IPHLPAPI.DLL_DeleteIpForwardEntry]
mov ecx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x7c]
add esi, 0x110
cmp esi, edi
jne 0x10059040
mov eax, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x80]
mov edi, dword [ebp - 0xa8]
inc edx
add eax, 0x38
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x7c], eax
cmp edx, dword [edi]
jae 0x1005918f
mov esi, dword [ebp - 0x8c]
jmp 0x10058d31
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
call fcn.100715b3
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 0x100590f7
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100590ed
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100591ca
push ecx
push edx
call fcn.100666c9
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 0x10059141
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10059137
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100591ca
push ecx
push edx
call fcn.100666c9
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x10059175
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005916b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100591ca
push ecx
push edx
call fcn.100666c9
add esp, 8
cmp dword [ebp - 0xa4], esi
jne 0x10059068
push dword [ebp - 0x7c]
call dword [sym.imp.IPHLPAPI.DLL_DeleteIpForwardEntry]
jmp 0x10059068
push dword [ebp - 0xac]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edi
call fcn.1006637a
add esp, 4
lea ecx, [ebp - 0x9c]
call fcn.1005a870
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.1006636c
mov esp, ebp
pop ebp
ret
call fcn.10070c0f
call fcn.10004030
int3