Function at 0x459d70
Capabilities:
Encode data using xor
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4f5951
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a0
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x48]
push 1
mov dword [esp + 0x44], ecx
push eax
call fcn.0040dc50
add esp, 8
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0xb1]
mov byte [esp + 0xb0], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor esi, esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x1b8], esi
mov dword [esp + 0x3c], esi
stosb byte es:[edi], al
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x30]
mov byte [esp + 0x1b8], 1
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x14]
mov byte [esp + 0x1b8], 2
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x54]
mov byte [esp + 0x1b8], 3
call sub.MFC42.DLL_CString::CString_4
push sub.MFC42.DLL_CString::CString
push sub.MFC42.DLL_CString::CString_4
push 0x16
lea ecx, [esp + 0x64]
push 4
push ecx
mov byte [esp + 0x1cc], 4
call fcn.004e9c7e
xor ebx, ebx
mov byte [esp + 0x1b8], 5
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x13], bl
mov byte [esp + 0x2c], bl
mov byte [esp + 0x34], bl
xor edx, edx
mov ebp, 0x53690c
jmp 0x459e57
xor esi, esi
mov esi, dword [ebp]
xor eax, eax
mov edi, dword [esi - 8]
test edi, edi
jle 0x459e7f
mov cl, byte [esi + eax]
mov bl, dl
xor bl, al
add bl, cl
mov cl, byte [esp + 0x34]
xor cl, bl
inc eax
cmp eax, edi
mov byte [esp + 0x34], cl
jl 0x459e63
mov ebx, dword [esp + 0x28]
add ebp, 4
inc edx
cmp ebp, 0x536964
jl 0x459e55
mov edx, dword [esp + 0x48]
lea eax, [esp + 0xb0]
push edx
push 0x100
push eax
push 0x5307a8
push str.RESVER
push str.RESOURCES
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0xb0]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
mov edx, dword [esp + 0x38]
add esp, 4
and edx, 0xff
mov dword [esp + 0x1c], eax
push edx
push eax
lea eax, [esp + 0x1c]
push str.RESVER_dCK_d
push eax
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x50]
xor ecx, ecx
lea eax, [esp + 0x38]
mov ebp, dword [edx + 0x84]
test ebp, ebp
setne cl
push ecx
push eax
call fcn.0040c2b0
add esp, 0x18
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x1bc], 6
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x28]
mov byte [esp + 0x1b8], 5
call sub.MFC42.DLL_CString::CString
push str.GetResURLs.asp
push str.CheckVersion.asp
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::Replace
push 0
push 1
push 1
lea ecx, [esp + 0x20]
call fcn.00404830
push eax
push 0
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x5307a8
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
mov byte [esp + 0x1d8], 7
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0x44]
mov byte [esp + 0x1d4], 5
push eax
call fcn.0040b4c0
add esp, 0x20
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1bc], 8
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x28]
mov byte [esp + 0x1b8], 5
call sub.MFC42.DLL_CString::CString
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::ReleaseBuffer
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 8]
test eax, eax
je 0x45a366
push 0
push 0x523e84
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::Find
mov esi, eax
test esi, esi
jle 0x45a366
mov eax, dword [esp + 0x44]
cmp esi, eax
jle 0x45a0bc
mov edx, esi
lea ecx, [esp + 0x18]
sub edx, eax
push edx
push eax
lea eax, [esp + 0x30]
push eax
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1bc], 9
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x28]
mov byte [esp + 0x1b8], 5
call sub.MFC42.DLL_CString::CString
test ebx, ebx
jne 0x45a057
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x20]
lea edx, [esp + 0x3c]
push ecx
push edx
push 0x525ee8
push eax
call dword [sym.imp.MSVCRT.dll_sscanf]
mov cl, byte [esp + 0x30]
add esp, 0x10
mov byte [esp + 0x13], cl
jmp 0x45a096
lea edx, [esp + 0x14]
lea ecx, [esp + ebx*4 + 0x54]
push edx
call sub.MFC42.DLL_CString::operator_2
mov ebp, dword [esp + 0x14]
xor eax, eax
mov edi, dword [ebp - 8]
test edi, edi
jle 0x45a096
mov dl, bl
dec dl
mov byte [esp + 0x27], dl
jmp 0x45a080
mov dl, byte [esp + 0x27]
mov cl, byte [eax + ebp]
xor dl, al
add dl, cl
mov cl, byte [esp + 0x2c]
xor cl, dl
inc eax
cmp eax, edi
mov byte [esp + 0x2c], cl
jl 0x45a07c
add esi, 2
cmp ebx, 0x16
mov dword [esp + 0x44], esi
jge 0x45a0bc
push esi
push 0x523e84
lea ecx, [esp + 0x20]
inc ebx
call sub.MFC42.DLL_CString::Find
mov esi, eax
test esi, esi
jg 0x459fe9
test ebx, ebx
je 0x45a366
mov al, byte [esp + 0x13]
mov cl, byte [esp + 0x2c]
cmp al, cl
jne 0x45a366
xor ebx, ebx
mov ebp, 1
push ecx
lea esi, [ebx + 0x53690c]
mov ecx, esp
mov dword [esp + 0x3c], esp
push esi
call sub.MFC42.DLL_CString::CString_3
push ecx
lea edi, [esp + ebx + 0x60]
mov ecx, esp
mov dword [esp + 0x28], esp
push edi
mov byte [esp + 0x1c4], 0xa
call sub.MFC42.DLL_CString::CString_3
mov byte [esp + 0x1c0], 5
call fcn.0040a560
add esp, 8
test eax, eax
jle 0x45a129
push edi
mov ecx, esi
call sub.MFC42.DLL_CString::operator_2
mov dword [esp + 0x50], ebp
jmp 0x45a12f
jge 0x45a12f
mov dword [esp + 0x4c], ebp
add ebx, 4
cmp ebx, 0x58
jl 0x45a0db
mov eax, dword [esp + 0x50]
test eax, eax
mov eax, dword [esp + 0x3c]
jne 0x45a149
cmp dword [esp + 0x1c], eax
jae 0x45a153
mov ecx, dword [esp + 0x40]
push eax
call fcn.00456ec0
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x45a366
mov cl, byte [esp + 0x13]
mov al, byte [esp + 0x34]
cmp al, cl
jne 0x45a17a
mov eax, dword [esp + 0x1c0]
test eax, eax
je 0x45a366
push 0x5307a8
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::operator_3
mov byte [esp + 0x2c], 0
xor ebx, ebx
mov ebp, 0x53690c
push 0x523e84
lea edx, [esp + 0x20]
push ebp
push edx
call sub.MFC42.DLL_operator_4
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1bc], 0xb
call fcn.004e96da
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1b8], 5
call sub.MFC42.DLL_CString::CString
mov esi, dword [ebp]
xor eax, eax
mov edi, dword [esi - 8]
test edi, edi
jle 0x45a1eb
mov cl, byte [esi + eax]
mov dl, bl
xor dl, al
add dl, cl
mov cl, byte [esp + 0x2c]
xor cl, dl
inc eax
cmp eax, edi
mov byte [esp + 0x2c], cl
jl 0x45a1d3
add ebp, 4
inc ebx
cmp ebp, 0x536964
jl 0x45a194
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x14]
and eax, 0xff
push eax
push 0x5231b8
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x14]
lea eax, [esp + 0x20]
push 0x523e84
push edx
push eax
call sub.MFC42.DLL_operator_4
lea ecx, [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
mov bl, 0xc
push eax
push edx
mov byte [esp + 0x1c4], bl
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1bc], 0xd
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1b8], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x1b8], 5
call sub.MFC42.DLL_CString::CString
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x24]
push ecx
call fcn.0040bea0
add esp, 8
push eax
lea edx, [esp + 0x20]
mov bl, 0xe
push str.RESURLS
push edx
mov byte [esp + 0x1c4], bl
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1bc], 0xf
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1b8], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x1b8], 5
call sub.MFC42.DLL_CString::CString
push 0
push 1
push 1
lea ecx, [esp + 0x20]
call fcn.00404830
push eax
push 0
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push 0x5307a8
call sub.MFC42.DLL_CString::CString_2
mov byte [esp + 0x1d0], 0x10
push ecx
lea eax, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x38]
mov byte [esp + 0x1d4], 5
push ecx
call fcn.0040b4c0
add esp, 0x20
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1bc], 0x11
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1b8], 5
call sub.MFC42.DLL_CString::CString
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::ReleaseBuffer
push sub.MFC42.DLL_CString::CString
push 0x16
lea edx, [esp + 0x60]
push 4
push edx
mov byte [esp + 0x1c8], 4
call fcn.004e9b8a
lea ecx, [esp + 0x54]
mov byte [esp + 0x1b8], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x1b8], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x1b8], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x1b8], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x48]
mov dword [esp + 0x1b8], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1b0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1ac
ret 4