Function at 0x42bb20
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28
push esi
push edi
mov esi, 0x100
push esi
mov edi, eax
call dword [sym.imp.MSVCR80.dll_malloc]
add esp, 4
test eax, eax
jne 0x42bb45
jmp fcn.00408a80
xor ecx, ecx
mov dword [esp + 0x20], esi
push 0x51aba8
lea esi, [esp + 0x24]
mov byte [eax], 0
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0xc], ecx
call fcn.00402ff0
mov eax, dword [ebx + 0x98]
mov ecx, dword [ebx + 0x94]
add esp, 4
call fcn.0044cd60
push eax
push str._dev_type__s
call fcn.00402ff0
mov eax, dword [edi]
push eax
push str._link_mtu__d
call fcn.00402ff0
mov ecx, dword [edi]
sub ecx, dword [edi + 8]
push ecx
push str._tun_mtu__d
call fcn.00402ff0
mov edi, dword [ebp + 0xc]
mov esi, dword [ebx + 0x34]
push edi
call fcn.004423c0
add esp, 0x1c
cmp eax, 3
ja 0x42bbc5
mov eax, dword [eax*8 + 0x508c10]
jmp 0x42bbca
mov eax, str._unknown_protocol_
push eax
push str._proto__s
lea esi, [esp + 0x28]
call fcn.00402ff0
add esp, 8
cmp dword [ebx + 0x100], 0
je 0x42bbf2
push str._tun_ipv6
call fcn.00402ff0
add esp, 4
cmp dword [ebp + 8], 0
jne 0x42bc38
mov edx, dword [ebx + 0xac]
mov eax, dword [ebx + 0xa8]
mov ecx, dword [ebx + 0xa4]
push 0
push 0
push 0
push 0
push edx
push eax
mov eax, dword [ebx + 0x98]
push ecx
mov ecx, dword [ebx + 0x94]
call fcn.0044d520
add esp, 0x1c
test eax, eax
mov dword [ebp + 8], eax
je 0x42bc99
mov dword [esp + 8], 1
cmp dword [ebx + 0xc], 0
jne 0x42bc85
cmp dword [ebx + 0x334], 0
jne 0x42bc85
mov edx, dword [ebx + 0xb4]
mov eax, dword [ebp + 8]
push edx
push edi
mov edi, dword [ebp + 0x10]
call fcn.0044d1e0
add esp, 8
test eax, eax
je 0x42bc85
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x42bc66
sub ecx, esi
je 0x42bc85
push eax
push str._ifconfig__s
lea esi, [esp + 0x28]
call fcn.00402ff0
add esp, 8
cmp dword [esp + 8], 0
je 0x42bc99
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
test byte [ebx + 0x20c], 1
je 0x42bcb3
push str._comp_lzo
lea esi, [esp + 0x24]
call fcn.00402ff0
add esp, 4
cmp dword [ebx + 0xdc], 0
je 0x42bccd
push str._mtu_dynamic
lea esi, [esp + 0x24]
call fcn.00402ff0
add esp, 4
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebx + 0x354]
call fcn.00407000
test eax, eax
je 0x42bcf1
push eax
push str._keydir__s
lea esi, [esp + 0x28]
call fcn.00402ff0
add esp, 8
mov esi, dword [ebx + 0x34c]
test esi, esi
jne 0x42bd0f
cmp dword [ebx + 0x398], esi
jne 0x42bd0f
cmp dword [ebx + 0x394], esi
je 0x42bf14
xor ecx, ecx
mov edi, 1
cmp dword [ebx + 0x398], edi
sete cl
xor edx, edx
cmp dword [ebx + 0x394], edi
sete dl
xor eax, eax
add ecx, edx
test esi, esi
setne al
add ecx, eax
cmp ecx, edi
jle 0x42bd60
push 0x10
call fcn.00408960
add esp, 4
test eax, eax
je 0x42bd60
push 0x927
push str..options.c
push str.Assertion_failed_at__s:_d
push 0x10
call fcn.00408640
add esp, 0x10
mov ecx, dword [ebx + 0x368]
mov edi, dword [ebx + 0x35c]
mov edx, dword [ebx + 0x360]
xor eax, eax
test edi, edi
mov dword [esp + 8], ecx
mov ecx, dword [ebx + 0x364]
mov esi, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], eax
je 0x42be09
cmp dword [ebx + 0x358], eax
je 0x42be09
call fcn.004050c0
mov esi, eax
push esi
mov dword [esp + 0x1c], esi
call fcn.00467670
mov byte [esp + 0x18], al
mov eax, dword [esp + 0xc]
lea ecx, [eax - 1]
add esp, 4
cmp ecx, 0x3f
ja 0x42bdc8
mov byte [esp + 0x14], al
push esi
call fcn.004805e0
and eax, 7
add esp, 4
cmp eax, 2
je 0x42be01
cmp eax, 3
je 0x42be01
cmp eax, 4
je 0x42be01
push 0x10
call fcn.00408960
add esp, 4
test eax, eax
je 0x42be01
push edi
push str.Cipher__s_uses_a_mode_not_supported_by_OpenVPN_in_your_current_configuration.__CBC_mode_is_always_supported__while_CFB_and_OFB_modes_are_supported_only_when_using_SSL_TLS_authentication_and_key_exchange_mode__and_when_OpenVPN_has_been_built_with_ALLOW_NON_CBC_CIPHERS.
push 0x10
call fcn.00408640
add esp, 0xc
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x42be28
cmp dword [esp + 0x10], 0
je 0x42be28
mov edi, ecx
call fcn.00405180
push eax
mov dword [esp + 0x20], eax
call fcn.00467670
add esp, 4
test esi, esi
je 0x42be40
push esi
call fcn.00467640
add esp, 4
push eax
call fcn.0046ae00
add esp, 4
jmp 0x42be45
mov eax, str._null_cipher_
push eax
push str._cipher__s
lea esi, [esp + 0x28]
call fcn.00402ff0
mov eax, dword [esp + 0x24]
add esp, 8
test eax, eax
je 0x42be73
push eax
call fcn.00467640
add esp, 4
push eax
call fcn.0046ae00
add esp, 4
jmp 0x42be78
mov eax, str._null_digest_
push eax
push str._auth__s
lea esi, [esp + 0x28]
call fcn.00402ff0
mov al, byte [esp + 0x1c]
add esp, 8
test al, al
je 0x42be9d
movzx eax, al
add eax, eax
add eax, eax
add eax, eax
jmp 0x42beb8
mov eax, dword [esp + 0x18]
test eax, eax
je 0x42beb6
push eax
call fcn.00467670
add eax, eax
add eax, eax
add esp, 4
add eax, eax
jmp 0x42beb8
xor eax, eax
push eax
push str._keysize__d
lea esi, [esp + 0x28]
call fcn.00402ff0
add esp, 8
cmp dword [ebx + 0x34c], 0
je 0x42bee0
push str._secret
call fcn.00402ff0
add esp, 4
cmp dword [ebx + 0x378], 0
jne 0x42befa
push str._no_replay
lea esi, [esp + 0x24]
call fcn.00402ff0
add esp, 4
cmp dword [ebx + 0x38c], 0
jne 0x42bf14
push str._no_iv
lea esi, [esp + 0x24]
call fcn.00402ff0
add esp, 4
cmp dword [ebx + 0x398], 0
jne 0x42bf26
cmp dword [ebx + 0x394], 0
je 0x42bf5d
cmp dword [ebx + 0x548], 0
je 0x42bf40
push str._tls_auth
lea esi, [esp + 0x24]
call fcn.00402ff0
add esp, 4
mov eax, dword [ebx + 0x52c]
cmp eax, 1
jle 0x42bf5d
push eax
push str._key_method__d
lea esi, [esp + 0x28]
call fcn.00402ff0
add esp, 8
cmp dword [ebp + 0xc], 0
je 0x42bf7c
cmp dword [ebx + 0x398], 0
jne 0x42bf95
cmp dword [ebx + 0x394], 0
je 0x42bfa6
push str._tls_client
jmp 0x42bf9a
cmp dword [ebx + 0x398], 0
je 0x42bf8c
push str._tls_client
jmp 0x42bf9a
cmp dword [ebx + 0x394], 0
je 0x42bfa6
push str._tls_server
lea esi, [esp + 0x24]
call fcn.00402ff0
add esp, 4
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x42bfc1
cmp dword [esp + 0x28], 0
jl 0x42bfc1
mov edx, dword [esp + 0x24]
add eax, edx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret