Function at 0x10074410
Capabilities:
Get routing table

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c699b
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x100f7084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xe4], ecx
lea ecx, [ebp - 0x108]
call fcn.1004a660
mov dword [ebp - 4], 0
lea eax, [ebp - 0x108]
push eax
mov ecx, dword [ebp - 0xe4]
call fcn.10074a20
lea ecx, [ebp - 0x108]
call fcn.1000f7f0
movzx ecx, al
test ecx, ecx
je 0x10074490
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x108]
call fcn.10074140
jmp 0x100749ff
push 0
lea ecx, [ebp - 0x108]
call fcn.10074330
mov edx, dword [eax + 0x108]
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
mov ecx, dword [ebp - 0xe4]
add ecx, 0x130
call fcn.10007f70
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xfc], 0
push 1
lea eax, [ebp - 0xfc]
push eax
mov ecx, dword [ebp - 0xe0]
push ecx
call sub.IPHLPAPI.DLL_GetIpForwardTable
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xf0], 0x7a
je 0x1007450b
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x108]
call fcn.10074140
jmp 0x100749ff
mov edx, dword [ebp - 0xfc]
push edx
call fcn.100867c8
add esp, 4
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0
jne 0x1007454c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x108]
call fcn.10074140
jmp 0x100749ff
mov ecx, dword [ebp - 0xec]
mov dword [ebp - 0xe0], ecx
push 1
lea edx, [ebp - 0xfc]
push edx
mov eax, dword [ebp - 0xe0]
push eax
call sub.IPHLPAPI.DLL_GetIpForwardTable
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xf0], 0
je 0x100745b0
mov ecx, dword [ebp - 0xec]
mov dword [ebp - 0x150], ecx
push 1
mov edx, dword [ebp - 0x150]
push edx
call fcn.100867ba
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x108]
call fcn.10074140
jmp 0x100749ff
push 0x38
push 0
lea eax, [ebp - 0xd8]
push eax
call fcn.1009ee30
add esp, 0xc
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x154], 0
mov ecx, dword [ebp - 0xe4]
add ecx, 0x14c
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 0xdc], 0
jmp 0x1007460f
mov edx, dword [ebp - 0xdc]
add edx, 1
mov dword [ebp - 0xdc], edx
mov eax, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0xdc]
cmp ecx, dword [eax]
jae 0x100749c0
imul edx, dword [ebp - 0xdc], 0x38
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + edx + 4]
mov dword [ebp - 0x144], ecx
imul edx, dword [ebp - 0xdc], 0x38
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + edx + 8]
mov dword [ebp - 0x124], ecx
imul edx, dword [ebp - 0xdc], 0x38
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + edx + 0x10]
mov dword [ebp - 0x12c], ecx
lea ecx, [ebp - 0xe8]
call fcn.1007d100
lea ecx, [ebp - 0x10c]
call fcn.1007d100
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x118], 0
lea edx, [ebp - 0x158]
push edx
mov ecx, dword [ebp - 0xe4]
add ecx, 8
call fcn.1006b5d0
mov eax, dword [eax]
mov dword [ebp - 0xe8], eax
lea ecx, [ebp - 0x15c]
push ecx
mov ecx, dword [ebp - 0xe4]
add ecx, 8
call fcn.10021d00
mov edx, dword [eax]
mov dword [ebp - 0x10c], edx
jmp 0x100746e2
push 0
lea eax, [ebp - 0x160]
push eax
lea ecx, [ebp - 0xe8]
call fcn.100743e0
lea ecx, [ebp - 0x10c]
push ecx
lea ecx, [ebp - 0xe8]
call fcn.10041280
movzx edx, al
test edx, edx
je 0x100748c8
lea ecx, [ebp - 0xe8]
call fcn.100636a0
push eax
lea ecx, [ebp - 0x28]
call fcn.10008e80
mov byte [ebp - 4], 1
push 0
push 0x2f
lea ecx, [ebp - 0x28]
call fcn.10033a70
mov dword [ebp - 0xf4], eax
lea ecx, [ebp - 0x40]
call fcn.10005e50
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.10005e50
mov byte [ebp - 4], 3
mov eax, dword [0x100c9c48]
cmp eax, dword [ebp - 0xf4]
jne 0x1007475c
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x40]
call fcn.10008f10
jmp 0x100747d4
mov edx, dword [ebp - 0xf4]
push edx
push 0
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x28]
call fcn.1000bc00
mov dword [ebp - 0x14c], eax
mov ecx, dword [ebp - 0x14c]
push ecx
lea ecx, [ebp - 0x40]
call fcn.10006000
lea ecx, [ebp - 0xa0]
call fcn.10005f30
mov edx, dword [0x100c9c48]
push edx
mov eax, dword [ebp - 0xf4]
add eax, 1
push eax
lea ecx, [ebp - 0x88]
push ecx
lea ecx, [ebp - 0x28]
call fcn.1000bc00
mov dword [ebp - 0x148], eax
mov edx, dword [ebp - 0x148]
push edx
lea ecx, [ebp - 0x58]
call fcn.10006000
lea ecx, [ebp - 0x88]
call fcn.10005f30
lea ecx, [ebp - 0x40]
call fcn.10007050
push eax
lea ecx, [ebp - 0x70]
call fcn.10005de0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x70]
push eax
call fcn.1002bbb0
add esp, 4
mov dword [ebp - 0x13c], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
call fcn.10005f30
mov ecx, dword [ebp - 0x144]
cmp ecx, dword [ebp - 0x13c]
jne 0x1007489f
mov dword [ebp - 0x110], 1
lea ecx, [ebp - 0x58]
call fcn.10007050
push eax
call fcn.100a6ca8
add esp, 4
mov edx, 0x20
sub edx, eax
mov dword [ebp - 0x138], edx
mov eax, 1
mov ecx, dword [ebp - 0x138]
shl eax, cl
sub eax, 1
xor eax, 0xffffffff
mov dword [ebp - 0x140], eax
mov ecx, dword [ebp - 0x140]
push ecx
call dword [sym.imp.WS2_32.dll_htonl]
cmp dword [ebp - 0x124], eax
jne 0x10074879
mov dword [ebp - 0x118], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.10005f30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.10005f30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10005f30
jmp 0x100748c8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.10005f30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.10005f30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10005f30
jmp 0x100746ce
cmp dword [ebp - 0x110], 0
jne 0x1007497a
lea edx, [ebp - 0xf8]
push edx
lea ecx, [ebp - 0x108]
call fcn.1006b5d0
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x108]
call fcn.10021d00
jmp 0x1007490f
push 0
lea ecx, [ebp - 0x16c]
push ecx
lea ecx, [ebp - 0xf8]
call fcn.10074390
lea edx, [ebp - 0x128]
push edx
lea ecx, [ebp - 0xf8]
call fcn.10041280
movzx eax, al
test eax, eax
je 0x10074978
lea ecx, [ebp - 0xf8]
call fcn.10074350
mov ecx, dword [eax + 0x108]
cmp ecx, dword [ebp - 0x12c]
jne 0x10074976
imul edx, dword [ebp - 0xdc], 0x38
mov eax, dword [ebp - 0xe0]
lea ecx, [eax + edx + 4]
mov dword [ebp - 0x114], ecx
mov edx, dword [ebp - 0x114]
cmp dword [edx + 4], 0xffffffff
je 0x10074976
mov eax, dword [ebp - 0x114]
push eax
call sub.IPHLPAPI.DLL_DeleteIpForwardEntry
mov dword [ebp - 0x164], eax
jmp 0x100748fb
jmp 0x100749bb
cmp dword [ebp - 0x118], 0
je 0x100749bb
imul ecx, dword [ebp - 0xdc], 0x38
mov edx, dword [ebp - 0xe0]
lea eax, [edx + ecx + 4]
mov dword [ebp - 0x130], eax
mov ecx, dword [ebp - 0x130]
push ecx
call sub.IPHLPAPI.DLL_DeleteIpForwardEntry
mov dword [ebp - 0x168], eax
mov edx, dword [ebp - 0x11c]
add edx, 1
mov dword [ebp - 0x11c], edx
jmp 0x10074600
mov eax, dword [ebp - 0xe4]
add eax, 0x14c
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xec]
mov dword [ebp - 0x134], ecx
mov edx, dword [ebp - 0x134]
push edx
call fcn.100867d1
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x108]
call fcn.10074140
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10086b0f
mov esp, ebp
pop ebp
ret