Function at 0x426b10
Capabilities:
Access peb ldr_data
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x42e458
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push 0x43c86c
push 0x43c1bc
lea ecx, [esp + 0x14]
push str.Settings
push ecx
mov ecx, eax
call sub.MFC42.DLL_CWinApp::GetProfileStringA
xor ebp, ebp
mov dword [esp + 0x2c], ebp
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push 0x43c86c
push 0x43c1ac
lea edx, [esp + 0x10]
push str.Settings
push edx
mov ecx, eax
call sub.MFC42.DLL_CWinApp::GetProfileStringA
mov eax, dword [esp + 0xc]
mov byte [esp + 0x2c], 1
cmp dword [eax - 8], ebp
jne 0x426bb6
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
mov edx, dword [esp + 8]
mov ecx, dword [edx - 8]
cmp ecx, ebp
jne 0x426bf6
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
cmp ecx, 0x10
je 0x426c30
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop ebp
mov eax, 2
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
xor eax, eax
cmp ecx, ebp
jle 0x426c45
cmp byte [eax + edx], 0x46
jg 0x426d22
inc eax
cmp eax, ecx
jl 0x426c36
push esi
lea ecx, [esp + 0x18]
call fcn.00418140
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 2
push ecx
lea ecx, [esp + 0x1c]
call fcn.00418180
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xc]
xor esi, esi
cmp dword [eax - 8], ebp
jle 0x426cd1
push edi
mov edi, dword [sym.imp.IndFile.dll_public:_static_int___cdecl_Tool_Resource::charToHex_char_]
mov dl, byte [esi + eax]
mov byte [esp + 0x20], dl
mov eax, dword [esp + 0x20]
push eax
call edi
mov ecx, dword [esp + 0x14]
mov bl, al
mov dl, byte [esi + ecx + 1]
mov byte [esp + 0x28], dl
mov eax, dword [esp + 0x28]
push eax
call edi
shl bl, 4
add al, bl
xor ecx, ecx
mov byte [esp + 0x30], al
mov eax, esi
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
add esi, 2
add esp, 8
mov cl, byte [eax + edx]
mov eax, dword [esp + 0x28]
and eax, 0xff
xor ecx, eax
mov eax, dword [esp + 0x10]
or ebp, ecx
cmp esi, dword [eax - 8]
jl 0x426c78
pop edi
mov ecx, dword [esp + 0x14]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x18]
add ebp, 5
mov byte [esp + 0x30], 1
call fcn.00418170
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, ebp
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x24]
pop ebp
mov eax, 3
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret