Function at 0x498770
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fca4a
mov eax, dword fs:[0]
push eax
sub esp, 0x180
mov eax, dword [0x541a34]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
cmp dword [ebp + 8], 0
jne 0x498945
call fcn.0045bf70
movzx eax, byte [eax + 0x38]
test eax, eax
je 0x498934
push 0
lea ecx, [ebp - 0x18]
call fcn.0044de20
mov dword [ebp - 4], 0
push str.DisConnect_for_OnReadTun__NULL_...................................................................
lea ecx, [ebp - 0x18]
push ecx
call fcn.0044ee90
add esp, 8
call fcn.0045bf70
lea edx, [ebp - 0x7c]
push edx
call fcn.0045cf00
add esp, 4
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x30]
push ecx
push 0x50c880
push 0x180
lea edx, [ebp - 0x78]
push edx
call fcn.0044f080
add esp, 8
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x38]
push ecx
push 0x50c884
push 0x50c89c
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x74]
push eax
call fcn.0044e2c0
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x40]
push edx
lea eax, [ebp - 0x70]
push eax
call fcn.0044e2c0
add esp, 0xc
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x48], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x48]
push edx
lea eax, [ebp - 0x6c]
push eax
call fcn.0044e220
add esp, 0xc
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x50]
push edx
lea eax, [ebp - 0x68]
push eax
call fcn.0044e2c0
add esp, 0xc
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x58], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x58]
push edx
lea eax, [ebp - 0x64]
push eax
call fcn.0044e220
add esp, 0xc
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x60], ecx
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x60]
call fcn.00443490
push eax
call fcn.0045bf70
mov ecx, eax
call fcn.00458500
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x64]
call fcn.0044e140
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x68]
call fcn.0044e140
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x6c]
call fcn.0044e140
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
call fcn.0044e140
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x74]
call fcn.0044e140
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x78]
call fcn.0044e140
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call fcn.0044e140
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0044e140
push 1
mov ecx, dword [ebp - 0x10]
call fcn.00496760
xor eax, eax
jmp 0x4991a2
mov ecx, dword [ebp + 8]
call fcn.0044f1b0
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx]
sar eax, 4
and eax, 0xf
cmp eax, 4
je 0x498bf3
call fcn.0045bf70
movzx ecx, byte [eax + 0x38]
test ecx, ecx
je 0x498bec
push 0
lea ecx, [ebp - 0x1c]
call fcn.0044de20
mov dword [ebp - 4], 8
mov ecx, dword [ebp + 8]
call fcn.004ae3c0
cmp eax, 0x400
jge 0x4989a3
mov ecx, dword [ebp + 8]
call fcn.004ae3c0
mov dword [ebp - 0x28], eax
jmp 0x4989aa
mov dword [ebp - 0x28], 0x400
mov edx, dword [ebp - 0x28]
push edx
mov ecx, dword [ebp + 8]
call fcn.00443a60
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00458d00
add esp, 0xc
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x84], ecx
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x84]
call fcn.00443490
push eax
mov ecx, dword [ebp + 8]
call fcn.004ac890
push eax
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx]
push eax
push str.is_no_ipv4_ver:_d_seek:_d_mem:_s
lea ecx, [ebp - 0x1c]
push ecx
call fcn.0044ee90
add esp, 0x14
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x88]
call fcn.0044e140
call fcn.0045bf70
lea edx, [ebp - 0xdc]
push edx
call fcn.0045cf00
add esp, 4
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x90], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x90]
push ecx
push 0x50c8c4
push 0x187
lea edx, [ebp - 0xd8]
push edx
call fcn.0044f080
add esp, 8
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x98], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x98]
push ecx
push 0x50c8c8
push 0x50c8e0
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0xd4]
push eax
call fcn.0044e2c0
add esp, 0xc
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], ecx
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0xa0]
push edx
lea eax, [ebp - 0xd0]
push eax
call fcn.0044e2c0
add esp, 0xc
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], ecx
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0xa8]
push edx
lea eax, [ebp - 0xcc]
push eax
call fcn.0044e220
add esp, 0xc
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0xb0], ecx
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0xb0]
push edx
lea eax, [ebp - 0xc8]
push eax
call fcn.0044e2c0
add esp, 0xc
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], ecx
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0xb8]
push edx
lea eax, [ebp - 0xc4]
push eax
call fcn.0044e220
add esp, 0xc
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], ecx
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0xc0]
call fcn.00443490
push eax
call fcn.0045bf70
mov ecx, eax
call fcn.00458500
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xc4]
call fcn.0044e140
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xc8]
call fcn.0044e140
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xcc]
call fcn.0044e140
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xd0]
call fcn.0044e140
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xd4]
call fcn.0044e140
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xd8]
call fcn.0044e140
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xdc]
call fcn.0044e140
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0044e140
xor eax, eax
jmp 0x4991a2
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx + 9]
cmp eax, 1
je 0x498e3f
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + 9]
cmp edx, 6
je 0x498e3f
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 9]
cmp ecx, 0x11
je 0x498e3f
call fcn.0045bf70
movzx edx, byte [eax + 0x38]
test edx, edx
je 0x498e38
push 0
lea ecx, [ebp - 0x20]
call fcn.0044de20
mov dword [ebp - 4], 0x11
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 9]
push ecx
push str.is_not_support_proto_:_d
lea edx, [ebp - 0x20]
push edx
call fcn.0044ee90
add esp, 0xc
call fcn.0045bf70
lea eax, [ebp - 0x130]
push eax
call fcn.0045cf00
add esp, 4
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0xe4], ecx
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0xe4]
push edx
push 0x50c900
push 0x18c
lea eax, [ebp - 0x12c]
push eax
call fcn.0044f080
add esp, 8
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp - 0xe8]
mov dword [ebp - 0xec], ecx
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0xec]
push edx
push 0x50c904
push 0x50c91c
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x128]
push ecx
call fcn.0044e2c0
add esp, 0xc
mov dword [ebp - 0xf0], eax
mov edx, dword [ebp - 0xf0]
mov dword [ebp - 0xf4], edx
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0xf4]
push eax
lea ecx, [ebp - 0x124]
push ecx
call fcn.0044e2c0
add esp, 0xc
mov dword [ebp - 0xf8], eax
mov edx, dword [ebp - 0xf8]
mov dword [ebp - 0xfc], edx
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0xfc]
push eax
lea ecx, [ebp - 0x120]
push ecx
call fcn.0044e220
add esp, 0xc
mov dword [ebp - 0x100], eax
mov edx, dword [ebp - 0x100]
mov dword [ebp - 0x104], edx
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x104]
push eax
lea ecx, [ebp - 0x11c]
push ecx
call fcn.0044e2c0
add esp, 0xc
mov dword [ebp - 0x108], eax
mov edx, dword [ebp - 0x108]
mov dword [ebp - 0x10c], edx
mov byte [ebp - 4], 0x17
mov eax, dword [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x118]
push ecx
call fcn.0044e220
add esp, 0xc
mov dword [ebp - 0x110], eax
mov edx, dword [ebp - 0x110]
mov dword [ebp - 0x114], edx
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0x114]
call fcn.00443490
push eax
call fcn.0045bf70
mov ecx, eax
call fcn.00458500
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x118]
call fcn.0044e140
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x11c]
call fcn.0044e140
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x120]
call fcn.0044e140
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x124]
call fcn.0044e140
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x128]
call fcn.0044e140
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x12c]
call fcn.0044e140
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x130]
call fcn.0044e140
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0044e140
xor eax, eax
jmp 0x4991a2
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x90], 0
je 0x498e74
mov ecx, dword [ebp + 8]
call fcn.0044f550
push eax
mov ecx, dword [ebp + 8]
call fcn.0044f1b0
push eax
call fcn.00497850
mov ecx, eax
call fcn.0048d2d0
test eax, eax
jne 0x498e74
xor eax, eax
jmp 0x4991a2
mov ecx, dword [ebp - 0x10]
add ecx, 0x128
call fcn.004926f0
cmp eax, 0x64
jbe 0x4990ae
call fcn.0045bf70
movzx ecx, byte [eax + 0x38]
test ecx, ecx
je 0x4990a7
push 0
lea ecx, [ebp - 0x24]
call fcn.0044de20
mov dword [ebp - 4], 0x19
mov ecx, dword [ebp - 0x10]
add ecx, 0x128
call fcn.004926f0
push eax
push str.m_listMemTunsRead.size____d____100_......................drop_the_pack..........................
lea edx, [ebp - 0x24]
push edx
call fcn.0044ee90
add esp, 0xc
call fcn.0045bf70
lea eax, [ebp - 0x184]
push eax
call fcn.0045cf00
add esp, 4
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 0x138], ecx
mov byte [ebp - 4], 0x1a
mov edx, dword [ebp - 0x138]
push edx
push 0x50c984
push 0x19a
lea eax, [ebp - 0x180]
push eax
call fcn.0044f080
add esp, 8
mov dword [ebp - 0x13c], eax
mov ecx, dword [ebp - 0x13c]
mov dword [ebp - 0x140], ecx
mov byte [ebp - 4], 0x1b
mov edx, dword [ebp - 0x140]
push edx
push str.CVpnMain::OnReadTun_
push 0x50c9a0
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x17c]
push ecx
call fcn.0044e2c0
add esp, 0xc
mov dword [ebp - 0x144], eax
mov edx, dword [ebp - 0x144]
mov dword [ebp - 0x148], edx
mov byte [ebp - 4], 0x1c
mov eax, dword [ebp - 0x148]
push eax
lea ecx, [ebp - 0x178]
push ecx
call fcn.0044e2c0
add esp, 0xc
mov dword [ebp - 0x14c], eax
mov edx, dword [ebp - 0x14c]
mov dword [ebp - 0x150], edx
mov byte [ebp - 4], 0x1d
mov eax, dword [ebp - 0x150]
push eax
lea ecx, [ebp - 0x174]
push ecx
call fcn.0044e220
add esp, 0xc
mov dword [ebp - 0x154], eax
mov edx, dword [ebp - 0x154]
mov dword [ebp - 0x158], edx
mov byte [ebp - 4], 0x1e
mov eax, dword [ebp - 0x158]
push eax
lea ecx, [ebp - 0x170]
push ecx
call fcn.0044e2c0
add esp, 0xc
mov dword [ebp - 0x15c], eax
mov edx, dword [ebp - 0x15c]
mov dword [ebp - 0x160], edx
mov byte [ebp - 4], 0x1f
mov eax, dword [ebp - 0x160]
push eax
lea ecx, [ebp - 0x16c]
push ecx
call fcn.0044e220
add esp, 0xc
mov dword [ebp - 0x164], eax
mov edx, dword [ebp - 0x164]
mov dword [ebp - 0x168], edx
mov byte [ebp - 4], 0x20
mov ecx, dword [ebp - 0x168]
call fcn.00443490
push eax
call fcn.0045bf70
mov ecx, eax
call fcn.00458500
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x16c]
call fcn.0044e140
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x170]
call fcn.0044e140
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x174]
call fcn.0044e140
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x178]
call fcn.0044e140
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x17c]
call fcn.0044e140
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x180]
call fcn.0044e140
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x184]
call fcn.0044e140
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0044e140
xor eax, eax
jmp 0x4991a2
mov ecx, dword [ebp + 8]
call fcn.004ac890
sub eax, 5
push eax
mov ecx, dword [ebp + 8]
call fcn.004ae3c0
add eax, 4
push eax
mov ecx, dword [ebp + 8]
call fcn.0044e960
mov ecx, dword [ebp + 8]
call fcn.004ac890
mov dword [ebp - 0x18c], eax
mov ecx, dword [ebp + 8]
call fcn.0044f550
push eax
mov ecx, dword [ebp + 8]
call fcn.004621c0
push 6
mov ecx, dword [ebp + 8]
call fcn.004620a0
push 1
mov ecx, dword [ebp + 8]
call fcn.004ae3c0
sub eax, 4
push eax
mov ecx, dword [ebp + 8]
call fcn.0044ff90
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x94]
mov dword [ebp - 0x188], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x94]
add eax, 1
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x94], eax
mov edx, dword [ebp - 0x188]
push edx
mov ecx, dword [ebp + 8]
call fcn.004621c0
push 1
mov eax, dword [ebp - 0x18c]
push eax
mov ecx, dword [ebp + 8]
call fcn.0044ff90
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x128
call fcn.004838e0
mov ecx, dword [ebp + 8]
call fcn.004ae3c0
add eax, 8
push eax
push 0
call fcn.00497920
mov ecx, eax
call fcn.004a06a0
mov ecx, dword [ebp - 0x10]
add ecx, 0x128
call fcn.004926f0
cmp eax, 0xa
jbe 0x49919d
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax + 4]
call edx
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4