Function at 0x14004c4e0
Capabilities:
Read .ini file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x598]
sub rsp, 0x698
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x140092690]
xor rax, rsp
mov qword [rbp + 0x580], rax
mov r15, r9
mov r13, r8
mov r14, rdx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x60], r9
mov rsi, qword [rbp + 0x600]
mov r12d, 0x43297
lea rax, vtable.CEncrypter.0
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140.dll_Ordinal_316]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140.dll_Ordinal_316]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140.dll_Ordinal_316]
nop
lea rdx, str.WLAN_PROFILE
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140.dll_Ordinal_1507]
mov rcx, r14
call qword [sym.imp.mfc140.dll_Ordinal_1639]
mov rbx, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140.dll_Ordinal_1639]
mov rcx, rax
mov r9, rbx
xor r8d, r8d
lea rdx, str.CiscoFeatures
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
neg eax
sbb eax, eax
and eax, 0x7f
mov dword [rsi + 0x9c], eax
mov rcx, r14
call qword [sym.imp.mfc140.dll_Ordinal_1639]
mov rbx, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140.dll_Ordinal_1639]
mov rcx, rax
mov r9, rbx
xor r8d, r8d
lea rdx, str.RogueAPEnabled
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edi, eax
mov rcx, r14
call qword [sym.imp.mfc140.dll_Ordinal_1639]
mov rbx, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140.dll_Ordinal_1639]
mov rcx, rax
mov r9, rbx
xor r8d, r8d
lea rdx, str.AllowCCKM
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [rsp + 0x40], eax
mov rcx, r14
call qword [sym.imp.mfc140.dll_Ordinal_1639]
mov rbx, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140.dll_Ordinal_1639]
mov rcx, rax
mov r9, rbx
xor r8d, r8d
lea rdx, str.AllowRadioMeasurement
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test edi, edi
je 0x14004c64a
or dword [rsi + 0x9c], 4
cmp dword [rsp + 0x40], 0
je 0x14004c65b
or dword [rsi + 0x9c], 0x80
test eax, eax
je 0x14004c669
or dword [rsi + 0x9c], 0x100
mov rcx, r14
call qword [sym.imp.mfc140.dll_Ordinal_1639]
mov rbx, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140.dll_Ordinal_1639]
mov rcx, rax
mov r9, rbx
xor r8d, r8d
lea rdx, str.Dot1xPromptPasswordMode
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
xor edi, edi
test eax, eax
jne 0x14004c6a4
mov dword [rsi + 0xd4], edi
jmp 0x14004c6c9
cmp eax, 1
jne 0x14004c6b1
mov dword [rsi + 0xd4], eax
jmp 0x14004c6c9
cmp eax, 2
jne 0x14004c6be
mov dword [rsi + 0xd4], eax
jmp 0x14004c6c9
cmp eax, 3
jne 0x14004c6c9
mov dword [rsi + 0xd4], eax
mov rcx, r14
call qword [sym.imp.mfc140.dll_Ordinal_1639]
mov rbx, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140.dll_Ordinal_1639]
mov rcx, rax
mov r9, rbx
xor r8d, r8d
lea rdx, str.Dot1xAlgorithm
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
jne 0x14004c702
mov dword [rsi + 0xdc], edi
jmp 0x14004c741
cmp eax, 1
jne 0x14004c70f
mov dword [rsi + 0xdc], eax
jmp 0x14004c741
cmp eax, 2
jne 0x14004c71c
mov dword [rsi + 0xdc], eax
jmp 0x14004c741
cmp eax, 3
jne 0x14004c729
mov dword [rsi + 0xdc], eax
jmp 0x14004c741
cmp eax, 4
jne 0x14004c736
mov dword [rsi + 0xdc], eax
jmp 0x14004c741
cmp eax, 5
jne 0x14004c741
mov dword [rsi + 0xdc], eax
cmp dword [rsi + 0xdc], edi
je 0x14004cce1
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rbp + 0x180]
call sub.VCRUNTIME140.dll_memset
mov rcx, r14
call qword [sym.imp.mfc140.dll_Ordinal_1639]
mov rbx, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140.dll_Ordinal_1639]
mov rcx, rax
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x1fe
lea r9, [rbp + 0x180]
lea r8, [0x140067a24]
lea rdx, str.Dot1xUsername
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea rcx, [rsi + 0xe0]
or r9, 0xffffffffffffffff
lea r8, [rbp + 0x180]
lea edx, [r9 + 0x3d]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcpy_s]
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rbp + 0x180]
call sub.VCRUNTIME140.dll_memset
mov rcx, r14
call qword [sym.imp.mfc140.dll_Ordinal_1639]
mov rbx, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140.dll_Ordinal_1639]
mov rcx, rax
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x1fe
lea r9, [rbp + 0x180]
lea r8, [0x140067a24]
lea rdx, str.Dot1xDomain
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea rcx, [rsi + 0xcce]
or r9, 0xffffffffffffffff
lea r8, [rbp + 0x180]
lea edx, [r9 + 0x15]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcpy_s]
mov rcx, r14
call qword [sym.imp.mfc140.dll_Ordinal_1639]
mov rbx, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140.dll_Ordinal_1639]
mov rcx, rax
mov r9, rbx
xor r8d, r8d
lea rdx, str.Dot1xCredMode
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
jne 0x14004c86a
mov dword [rsi + 0xcc], edi
jmp 0x14004c882
cmp eax, 1
jne 0x14004c877
mov dword [rsi + 0xcc], eax
jmp 0x14004c882
cmp eax, 2
jne 0x14004c882
mov dword [rsi + 0xcc], eax
mov eax, dword [rsi + 0xdc]
test eax, eax
jle 0x14004cce1
cmp eax, 2
jle 0x14004cca3
cmp eax, 3
je 0x14004c9f9
add eax, 0xfffffffc
cmp eax, 1
ja 0x14004cce1
mov rcx, r14
call qword [sym.imp.mfc140.dll_Ordinal_1639]
mov rbx, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140.dll_Ordinal_1639]
mov rcx, rax
mov r9, rbx
xor r8d, r8d
lea rdx, str.Dot1xTunAlgorithm
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
jne 0x14004c8e7
mov dword [rsi + 0x248], edi
jmp 0x14004c940
cmp eax, 1
jne 0x14004c8f4
mov dword [rsi + 0x248], eax
jmp 0x14004c940
cmp eax, 2
jne 0x14004c901
mov dword [rsi + 0x248], eax
jmp 0x14004c940
cmp eax, 3
jne 0x14004c90e
mov dword [rsi + 0x248], eax
jmp 0x14004c940
cmp eax, 4
jne 0x14004c91b
mov dword [rsi + 0x248], eax
jmp 0x14004c940
cmp eax, 5
jne 0x14004c928
mov dword [rsi + 0x248], eax
jmp 0x14004c940
cmp eax, 6
jne 0x14004c935
mov dword [rsi + 0x248], eax
jmp 0x14004c940
cmp eax, 7
jne 0x14004c940
mov dword [rsi + 0x248], eax
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rbp + 0x180]
call sub.VCRUNTIME140.dll_memset
mov rcx, r14
call qword [sym.imp.mfc140.dll_Ordinal_1639]
mov rbx, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140.dll_Ordinal_1639]
mov rcx, rax
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x1fe
lea r9, [rbp + 0x180]
lea r8, [0x140067a24]
lea rdx, str.Dot1xRoamingUsername
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea rcx, [rsi + 0x24c]
or r9, 0xffffffffffffffff
lea r8, [rbp + 0x180]
lea edx, [r9 + 0x41]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcpy_s]
cmp dword [rsi + 0x248], 7
je 0x14004c9f9
mov rdx, r15
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140.dll_Ordinal_300]
mov edx, dword [rbp + 0x608]
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x20], rsi
mov r9, rax
mov r8, r13
mov rdx, r14
mov rcx, qword [rsp + 0x50]
call fcn.14004ed20
mov r12d, eax
cmp eax, 0x43297
jne 0x14004cf46
mov rcx, r14
call qword [sym.imp.mfc140.dll_Ordinal_1639]
mov rbx, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140.dll_Ordinal_1639]
mov rcx, rax
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x1fe
lea r9, [rbp + 0x180]
lea r8, [0x14006508d]
lea rdx, str.Dot1xClientCert
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rbp + 0x380]
call sub.VCRUNTIME140.dll_memset
mov edx, 0x1fe
lea rcx, [rbp + 0x180]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
test rax, rax
je 0x14004caa8
mov edx, 0x1fe
lea rcx, [rbp + 0x180]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
cmp rax, 0x1fe
jb 0x14004caa8
mov edx, 0x1fe
lea rcx, [rbp + 0x180]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
mov r8d, eax
lea rdx, [rbp + 0x380]
lea rcx, [rbp + 0x180]
call fcn.14004f640
mov edx, 0x1fe
lea rcx, [rbp + 0x380]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
mov ecx, 0x1d
cmp eax, 0x1e
cmovge eax, ecx
mov dword [rsi + 0x1bc], eax
movsxd r8, eax
lea rcx, [rsi + 0x180]
lea rdx, [rbp + 0x380]
call sub.VCRUNTIME140.dll_memmove
mov rcx, r14
call qword [sym.imp.mfc140.dll_Ordinal_1639]
mov rbx, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140.dll_Ordinal_1639]
mov rcx, rax
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x1fe
lea r9, [rbp + 0x180]
lea r8, [0x14006508d]
lea rdx, str.Dot1xCACert
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rbp + 0x380]
call sub.VCRUNTIME140.dll_memset
mov edx, 0x1fe
lea rcx, [rbp + 0x180]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
test rax, rax
je 0x14004cb90
mov edx, 0x1fe
lea rcx, [rbp + 0x180]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
cmp rax, 0x1fe
jb 0x14004cb90
mov edx, 0x1fe
lea rcx, [rbp + 0x180]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
mov r8d, eax
lea rdx, [rbp + 0x380]
lea rcx, [rbp + 0x180]
call fcn.14004f640
mov edx, 0x1fe
lea rcx, [rbp + 0x380]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
cmp eax, 0x1e
mov ecx, 0x1d
cmovge eax, ecx
mov dword [rsi + 0x1fc], eax
movsxd r8, eax
lea rcx, [rsi + 0x1c0]
lea rdx, [rbp + 0x380]
call sub.VCRUNTIME140.dll_memmove
mov rcx, r14
call qword [sym.imp.mfc140.dll_Ordinal_1639]
mov rbx, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140.dll_Ordinal_1639]
mov rcx, rax
mov r9, rbx
xor r8d, r8d
lea rdx, str.Dot1xIntermCert
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [rsi + 0x200], eax
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rbp + 0x180]
call sub.VCRUNTIME140.dll_memset
mov rcx, r14
call qword [sym.imp.mfc140.dll_Ordinal_1639]
mov rbx, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140.dll_Ordinal_1639]
mov rcx, rax
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x1fe
lea r9, [rbp + 0x180]
lea r8, [0x140067a24]
lea rdx, str.Dot1xServerName
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea rcx, [rsi + 0x204]
or r9, 0xffffffffffffffff
lea r8, [rbp + 0x180]
lea edx, [r9 + 0x41]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcpy_s]
mov rcx, r14
call qword [sym.imp.mfc140.dll_Ordinal_1639]
mov rbx, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140.dll_Ordinal_1639]
mov rcx, rax
mov r9, rbx
xor r8d, r8d
lea rdx, str.Dot1xSubDomainAllowed
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [rsi + 0x244], eax
jmp 0x14004cce1
mov rdx, r15
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140.dll_Ordinal_300]
mov edx, dword [rbp + 0x608]
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x20], rsi
mov r9, rax
mov r8, r13
mov rdx, r14
mov rcx, qword [rsp + 0x50]
call fcn.14004ed20
mov r12d, eax
cmp eax, 0x43297
jne 0x14004cf46
cmp dword [rsi + 0x98], 4
jne 0x14004cf46
mov rcx, r14
call qword [sym.imp.mfc140.dll_Ordinal_1639]
mov rbx, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140.dll_Ordinal_1639]
mov rcx, rax
mov r9, rbx
xor r8d, r8d
lea rdx, str.PskUserAlgorithm
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
setne dil
mov dword [rsi + 0x28c], edi
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rbp + 0x180]
call sub.VCRUNTIME140.dll_memset
mov rcx, r14
call qword [sym.imp.mfc140.dll_Ordinal_1639]
mov rbx, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140.dll_Ordinal_1639]
mov rcx, rax
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x1fe
lea r9, [rbp + 0x180]
lea r8, [0x140067a24]
lea rdx, [0x14006ab9c]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov r9d, 2
lea r8, [0x140067a24]
lea rdx, [rbp + 0x180]
lea rcx, [rsp + 0x70]
call sym.iconvrtr.exe_public:_char_const____ptr64___cdecl_CEncrypter::DecryptValue_char_const____ptr64__char_const____ptr64__int____ptr64
or r9, 0xffffffffffffffff
mov r8, rax
mov edx, 0x1fe
lea rcx, [rbp + 0x180]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcpy_s]
mov edx, reloc.OLEAUT32.dll_SetErrorInfo
mov rcx, r13
cmp dword [rsi + 0x28c], 0
jne 0x14004cdde
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
lea r8, [rbp + 0x180]
add r8, rax
lea rcx, [rsi + 0x290]
jmp 0x14004ce1b
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
lea rdx, [rbp + 0x180]
add rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140011270
mov rdx, rax
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140.dll_Ordinal_1507]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140.dll_Ordinal_1639]
lea rcx, [rsi + 0x3bc]
mov r8, rax
or r9, 0xffffffffffffffff
mov edx, reloc.mfc140.dll_Ordinal_300
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcpy_s]
lea rdx, [rbp + 0x180]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140.dll_Ordinal_1507]
mov edx, reloc.OLEAUT32.dll_SetErrorInfo
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
mov r8, rax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140.dll_Ordinal_8025]
nop
mov rdx, rax
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140.dll_Ordinal_1504]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140.dll_Ordinal_5656]
inc eax
movsxd rbx, eax
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140.dll_Ordinal_1639]
mov rdx, rax
mov dword [rsp + 0x20], 2
lea r9, [0x140067a24]
mov r8, rbx
lea rcx, [rsp + 0x70]
call sym.iconvrtr.exe_public:_char_const____ptr64___cdecl_CEncrypter::DecryptString_char_const____ptr64__unsigned_long_long_unsigned___int64___char_const____ptr64__int____ptr64
mov rdx, rax
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140.dll_Ordinal_1507]
mov rdx, r15
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140.dll_Ordinal_1504]
lea rdx, [rsi + 0xab8]
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140.dll_Ordinal_1674]
cmp dword [rbp + 0x608], 0
je 0x14004cf46
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140.dll_Ordinal_1639]
mov rdx, rax
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140.dll_Ordinal_2899]
test eax, eax
je 0x14004cf46
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
nop
lea rax, vtable.CEncrypter.0
mov qword [rsp + 0x70], rax
mov rcx, r15
call qword [sym.imp.mfc140.dll_Ordinal_1032]
mov eax, 0x800432a4
jmp 0x14004cf82
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
nop
lea rax, vtable.CEncrypter.0
mov qword [rsp + 0x70], rax
mov rcx, r15
call qword [sym.imp.mfc140.dll_Ordinal_1032]
mov eax, r12d
mov rcx, qword [rbp + 0x580]
xor rcx, rsp
call fcn.140059ef0
add rsp, 0x698
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret