Function at 0x421e30
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
push ebx
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebx + 0x85c]
push esi
push edi
call fcn.004452d0
test eax, eax
jne 0x422252
xor edi, edi
cmp dword [ebx + 0x6a8], edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], 1
mov dword [esp + 0x14], edi
jne 0x421e97
push 0x10
call fcn.00408960
add esp, 4
test eax, eax
je 0x421e97
push 0x5b3
push str..multi.c
push str.Assertion_failed_at__s:_d
push 0x10
call fcn.00408640
add esp, 0x10
mov eax, dword [ebx + 0x85c]
push eax
call fcn.00445190
mov esi, dword [ebx + 0x85c]
mov eax, dword [esi + 0x1b4]
add esp, 4
cmp eax, edi
je 0x421ec9
cmp dword [esi + 0x144], edi
jne 0x421ec9
call fcn.00444000
mov dword [esi + 0x144], eax
lea ecx, [ebx + 0x18]
push ecx
push 1
push ebx
call fcn.0041fe40
add esp, 0xc
cmp dword [ebx + 0x398], edi
mov dword [ebx + 0x5c], eax
mov dword [0x5426dc], eax
jne 0x421ef4
mov eax, dword [ebp + 8]
push ebx
call fcn.00421770
add esp, 4
mov edi, dword [ebx + 0x364]
test edi, edi
mov dword [ebx + 0x58], 0xffffffff
je 0x421fa3
mov eax, dword [ebx + 0x85c]
test eax, eax
je 0x421f31
mov edx, dword [eax + 0x1b0]
test edx, edx
je 0x421f31
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x421f22
sub eax, esi
mov eax, edx
jne 0x421f36
mov eax, str.UNDEF
lea edx, [esp + 0xc]
push edx
push edi
call fcn.0041ad20
add esp, 8
mov esi, eax
call fcn.0041aab0
test eax, eax
je 0x421f64
mov eax, dword [ebx + 0x9d8]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [ebx + 0x88]
push edx
jmp 0x421f9b
mov ecx, dword [ebx + 0x364]
lea eax, [esp + 0xc]
push eax
push ecx
mov eax, str.DEFAULT
call fcn.0041ad20
add esp, 8
mov esi, eax
call fcn.0041aab0
test eax, eax
je 0x421fa3
mov edx, dword [ebx + 0x9d8]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [ebx + 0x88]
push ecx
call fcn.0042d730
add esp, 0xc
mov ecx, dword [ebp + 8]
mov eax, ebx
call fcn.004218d0
mov ecx, ebx
call fcn.00421d10
mov ecx, dword [ebx + 0x608]
push 6
call fcn.00437cc0
add esp, 4
test eax, eax
je 0x422086
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x28], edx
mov edx, dword [ebx + 0x360]
xor eax, eax
mov dword [esp + 0x24], ecx
xor esi, esi
push edx
lea edi, [esp + 0x10]
mov ecx, 0x517290
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], esi
call fcn.0041ab20
add esp, 4
mov esi, eax
push esi
push 0x5103a4
lea ecx, [esp + 0x28]
call fcn.0041c2c0
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebx + 0x608]
push 0
lea eax, [esp + 0x24]
push eax
mov eax, dword [ebx + 0x9d8]
push 6
push ecx
call fcn.00437ae0
add esp, 0x10
test eax, eax
je 0x422060
push 0x40
call fcn.00408960
add esp, 4
test eax, eax
je 0x422056
push str.WARNING:_client_connect_plugin_call_failed
push 0x40
call fcn.00408640
add esp, 8
mov dword [esp + 0x18], 0
jmp 0x42207d
mov eax, dword [ebp + 8]
lea edx, [esp + 0x10]
push edx
push eax
mov eax, esi
mov edi, ebx
call fcn.00421c00
add esp, 8
mov dword [esp + 0x14], 1
lea esi, [esp + 0x20]
call fcn.0041bb40
mov esi, dword [ebx + 0x608]
push 9
mov ecx, esi
call fcn.00437cc0
add esp, 4
test eax, eax
je 0x422109
mov eax, dword [ebx + 0x9d8]
lea ecx, [esp + 0x30]
push ecx
xor edi, edi
push edi
push 9
push esi
mov dword [esp + 0x40], edi
call fcn.00437ae0
add esp, 0x10
test eax, eax
je 0x4220e0
push 0x40
call fcn.00408960
add esp, 4
test eax, eax
je 0x4220da
push str.WARNING:_client_connect_v2_plugin_call_failed
push 0x40
call fcn.00408640
add esp, 8
mov dword [esp + 0x18], edi
jmp 0x4220fd
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x34]
push eax
push ecx
mov esi, ebx
call fcn.00421c80
add esp, 0xc
add dword [esp + 0x14], 1
lea ebx, [esp + 0x30]
call fcn.00437de0
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + 0x354], 0
je 0x4221d6
cmp dword [esp + 0x18], 0
je 0x4221d6
xor edx, edx
xor eax, eax
mov dword [esp + 0x28], edx
mov edx, dword [ebx + 0x9d8]
xor ecx, ecx
mov dword [esp + 0x20], eax
push str.client_connect
xor esi, esi
push edx
mov eax, str.script_type
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], esi
call fcn.0041a7f0
mov eax, dword [ebx + 0x360]
push eax
lea edi, [esp + 0x18]
mov ecx, 0x517290
call fcn.0041ab20
add esp, 0xc
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebx + 0x354]
push esi
push ecx
push str._sc__s
lea ecx, [esp + 0x2c]
call fcn.0041c2c0
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 0x9d8]
add esp, 0xc
push 1
mov ebx, str.client_connect_command_failed
lea ecx, [esp + 0x24]
call fcn.00419d20
add esp, 4
test eax, eax
je 0x4221c3
mov eax, dword [ebp + 8]
lea edx, [esp + 0x10]
push edx
push eax
mov eax, esi
call fcn.00421c00
add esp, 8
add dword [esp + 0x14], 1
jmp 0x4221cb
mov dword [esp + 0x18], 0
lea esi, [esp + 0x20]
call fcn.0041bb40
mov ebx, edi
cmp dword [ebx + 0x36c], 0
je 0x422263
cmp dword [0x5426d0], 1
jb 0x42220f
push 0x9000021
call fcn.00408960
add esp, 4
test eax, eax
je 0x42220f
push str.MULTI:_client_has_been_rejected_due_to_disable_directive
push 0x9000021
call fcn.00408640
add esp, 8
xor ecx, ecx
cmp dword [esp + 0x14], ecx
setne cl
add ecx, 2
mov dword [ebx + 0x9f4], ecx
mov eax, dword [ebp + 8]
mov ecx, 1
mov dword [ebx + 0x7c], ecx
add dword [eax + 0x54], ecx
mov eax, dword [esp + 0xc]
add dword [ebx + 0x84], 0xffffffff
test eax, eax
je 0x422252
mov edi, dword [sym.imp.MSVCR80.dll_free]
mov esi, dword [eax]
push eax
call edi
add esp, 4
test esi, esi
mov eax, esi
jne 0x422244
pop edi
pop esi
mov dword [ebx + 0x9e4], 0
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x18], 0
je 0x42220f
lea esi, [ebx + 0x88]
mov ebx, dword [esp + 0x10]
mov eax, esi
mov dword [esp + 0x18], esi
call fcn.00410a70
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x9e8], 0
mov ebx, 1
jne 0x4222cc
cmp dword [0x5426d0], ebx
jb 0x4222cc
push 0x9000021
call fcn.00408960
add esp, 4
test eax, eax
je 0x4222cc
lea ecx, [esp + 0xc]
push ecx
push 0
push edi
call fcn.0041fe40
add esp, 0xc
push eax
push str.MULTI:_no_dynamic_or_static_remote___ifconfig_address_is_available_for__s
push 0x9000021
call fcn.00408640
add esp, 0xc
cmp dword [esi + 0x300], 0
je 0x422385
cmp dword [esi + 0x960], 0
je 0x422385
mov edx, dword [esi + 0x964]
and edx, dword [esi + 0x308]
xor eax, eax
cmp edx, dword [esi + 0x304]
sete al
test eax, eax
jne 0x422385
cmp dword [0x5426d0], ebx
jb 0x422385
push 0x9000021
call fcn.00408960
add esp, 4
test eax, eax
je 0x422385
mov eax, dword [edi + 0x390]
push 0
push eax
lea eax, [esp + 0x14]
call fcn.004420a0
add esp, 8
push eax
push ecx
mov ecx, dword [edi + 0x38c]
push 0
push ecx
lea eax, [esp + 0x1c]
call fcn.004420a0
mov edx, dword [edi + 0x9ec]
add esp, 0xc
push eax
push 0
push edx
lea eax, [esp + 0x1c]
call fcn.004420a0
add esp, 8
push eax
push ecx
lea eax, [esp + 0x1c]
push eax
push 0
push edi
call fcn.0041fe40
add esp, 0x10
push eax
push str.MULTI_ERROR:_primary_virtual_IP_for__s___s__violates_tunnel_network_netmask_constraint___s__s_
push 0x9000021
call fcn.00408640
add esp, 0x18
mov eax, dword [edi + 0x6a8]
test eax, eax
je 0x42242d
cmp dword [eax], 2
jne 0x42242d
cmp dword [edi + 0x9e8], 0
je 0x422414
mov ecx, dword [edi + 0x9ec]
mov esi, dword [ebp + 8]
push ecx
or ebx, 0xffffffff
call fcn.00421440
add esp, 4
cmp dword [0x5426d0], 3
jb 0x422410
push 0x26000003
call fcn.00408960
add esp, 4
test eax, eax
je 0x422410
mov esi, edi
mov edx, dword [esi + 0x9ec]
push 0
push edx
lea eax, [esp + 0x14]
call fcn.004420a0
add esp, 8
push eax
push ecx
lea eax, [esp + 0x14]
push eax
push 0
push esi
call fcn.0041fe40
add esp, 0x10
push eax
push str.MULTI:_primary_virtual_IP_for__s:__s
push 0x26000003
call fcn.00408640
add esp, 0x10
mov esi, dword [esp + 0x18]
mov ecx, dword [ebp + 8]
push ecx
mov ecx, edi
call fcn.004214a0
add esp, 4
push esi
call fcn.0043ad00
add esp, 4
jmp 0x422472
cmp dword [edi + 0x378], 0
je 0x422472
cmp dword [0x5426d0], ebx
jb 0x422472
push 0x9000021
call fcn.00408960
add esp, 4
test eax, eax
je 0x422472
lea edx, [esp + 0xc]
push edx
push 0
push edi
call fcn.0041fe40
add esp, 0xc
push eax
push str.MULTI:___iroute_options_rejected_for__s____iroute_only_works_with_tun_style_tunnels
push 0x9000021
call fcn.00408640
add esp, 0xc
mov eax, dword [edi + 0x9ec]
mov ebx, dword [ebp + 0xc]
mov dword [edi + 0x6c], eax
mov dword [edi + 0x9f4], 0
jmp 0x422221