Function at 0x427290
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49a6ed
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8e0
mov eax, dword [0x4bc410]
push ebx
push esi
push edi
xor eax, ebp
push str.configconfig.ini
mov dword [esp + 0x8e8], eax
lea eax, [esp + 0x1c]
push 0x4bc618
push eax
call fcn.00401050
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push 0
push str.EXPERIENCEID
push 0x49fd90
call esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x2c]
call sub.MFC71.DLL_CStringArray::CStringArray
push str.configclienttype.ini
lea ecx, [esp + 0x10]
push 0x4bc618
push ecx
mov dword [esp + 0x900], 0
call fcn.00401050
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
push 0x400
lea edx, [esp + 0x4e8]
push edx
push 0x4a095c
push str.weburl
push str.clienttype
call edi
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea eax, [esp + 0x4e0]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x427370
sub eax, edx
mov dword [esp + 0x20], eax
je 0x427395
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x4e0]
push eax
push ecx
lea ecx, [esp + 0x34]
call sub.MFC71.DLL_CStringArray::SetAtGrow
push str.configclienttype.ini
lea edx, [esp + 0x10]
push 0x4bc618
push edx
call fcn.00401050
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push 0
push str.count
push str.webclick
call esi
lea ecx, [esp + 0xc]
mov esi, eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
test esi, esi
mov ebx, dword [sym.imp.MSVCR71.dll_sprintf]
jle 0x427473
lea ecx, [ecx]
dec esi
push esi
lea eax, [esp + 0x2e4]
push str.url_d
push eax
call ebx
push str.configclienttype.ini
lea ecx, [esp + 0x1c]
push 0x4bc618
push ecx
call fcn.00401050
add esp, 0x18
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push 0x200
lea edx, [esp + 0xe8]
push edx
push 0x4a095c
lea eax, [esp + 0x2f0]
push eax
push str.webclick
call edi
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea eax, [esp + 0xe0]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x427446
sub eax, edx
mov dword [esp + 0x20], eax
je 0x42746b
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0xe0]
push ecx
push edx
lea ecx, [esp + 0x34]
call sub.MFC71.DLL_CStringArray::SetAtGrow
test esi, esi
jg 0x4273e0
push str.configclienttype.ini
lea eax, [esp + 0x10]
push 0x4bc618
push eax
call fcn.00401050
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push 0x200
lea ecx, [esp + 0x2e8]
push ecx
push 0x4a095c
push str.cookiename
push str.clienttype
call edi
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
push str.configclienttype.ini
lea edx, [esp + 0x10]
push 0x4bc618
push edx
call fcn.00401050
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push 0x200
lea eax, [esp + 0xe8]
push eax
push 0x4a095c
push str.cookievalue
push str.clienttype
call edi
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, dword [esp + 0x34]
xor edi, edi
cmp eax, edi
jle 0x427c02
lea eax, [esp + 0x2e0]
lea edx, [eax + 1]
jmp 0x427520
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x427520
sub eax, edx
mov dword [esp + 0x20], eax
je 0x427c02
lea eax, [esp + 0xe0]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x427540
sub eax, edx
mov dword [esp + 0x20], eax
je 0x427c02
lea ecx, [esp + 0x78]
call fcn.0041f8b0
lea ecx, [esp + 0x50]
mov byte [esp + 0x8f4], 1
call fcn.00421670
push 0x19000
mov byte [esp + 0x8f8], 2
call sub.MFC71.DLL_operator_new
add esp, 4
push edi
push edi
push edi
mov esi, eax
push 1
lea ecx, [esp + 0x50]
mov dword [esp + 0x24], esi
mov dword [esp + 0x58], 0x19000
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
call fcn.00407210
push 0x19000
call sub.MFC71.DLL_operator_new
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], eax
call dword [0x49f754]
push edi
mov byte [esp + 0x8f8], 3
call dword [sym.imp.MSVCR71.dll__time64]
mov dword [esp + 0x28], eax
mov al, byte [0x4bd14c]
add esp, 4
test al, al
mov dword [esp + 0x28], edx
jne 0x427600
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x28]
sub edx, ecx
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x44]
sbb eax, edx
mov dword [esp + 0x28], eax
xor eax, eax
mov ecx, 0x6400
mov edi, esi
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x78]
call fcn.0041d220
test eax, eax
je 0x427800
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
jle 0x427789
mov esi, dword [esp + 0x1c]
test ebx, ebx
jl 0x427c39
cmp ebx, eax
jge 0x427c39
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
push edx
lea ecx, [eax + ebx*4]
push edi
lea eax, [esp + 0x2e8]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x88]
call fcn.0041f680
test eax, eax
je 0x4276a4
test esi, esi
jbe 0x42777c
push esi
lea ecx, [esp + 0xe4]
push 0x4a4de0
push ecx
call dword [sym.imp.MSVCR71.dll_sprintf]
lea edx, [esp + 0xec]
push edx
push edi
call dword [sym.imp.MSVCR71.dll_strstr]
add esp, 0x14
test eax, eax
jne 0x42777c
push 0
call dword [sym.imp.MSVCR71.dll_time]
mov edi, dword [sym.imp.MSVCR71.dll_sprintf]
add eax, 0x19bfcc00
push eax
mov eax, dword [esp + 0x20]
push 0x4a2538
push eax
call edi
add esp, 0x10
test esi, esi
mov byte [esp + 0xe0], 0
jbe 0x4276e6
push esi
lea ecx, [esp + 0xe4]
push 0x4a4de0
push ecx
call edi
add esp, 0xc
push str._Y_m_d__H_M_S
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x2c]
call fcn.00407370
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x427703
lea edi, [esp + 0xe0]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x427714
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp ebx, dword [esp + 0x34]
jge 0x427c39
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
push str.profile_setup
push edx
lea ecx, [eax + ebx*4]
lea eax, [esp + 0xe8]
push eax
lea edx, [esp + 0x2ec]
push edx
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x8c]
call fcn.0041fa20
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
inc ebx
cmp ebx, eax
jl 0x427632
push 0x4bd0e4
lea ecx, [esp + 0x14]
call dword [0x49f214]
push 0
push 0x3a
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Find_1]
test eax, eax
jle 0x4277df
push eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Left]
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x8f8], 4
call dword [0x49f214]
lea ecx, [esp + 0xc]
mov byte [esp + 0x8f4], 3
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x7c]
call fcn.0041e9a0
mov esi, dword [esp + 0x14]
mov ecx, 0x6400
xor eax, eax
rep stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x6400
mov edi, esi
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x50]
call fcn.00420d40
test eax, eax
je 0x4279e2
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
jle 0x427983
mov esi, dword [esp + 0x1c]
test ebx, ebx
jl 0x427c39
cmp ebx, eax
jge 0x427c39
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
push edx
push edi
lea eax, [esp + 0x2e8]
lea ecx, [ecx + ebx*4]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x60]
call fcn.00421b00
test eax, eax
je 0x4278a1
test esi, esi
jbe 0x427976
push esi
lea ecx, [esp + 0xe4]
push 0x4a4de0
push ecx
call dword [sym.imp.MSVCR71.dll_sprintf]
lea edx, [esp + 0xec]
push edx
push edi
call dword [sym.imp.MSVCR71.dll_strstr]
add esp, 0x14
test eax, eax
jne 0x427976
push 0
call dword [sym.imp.MSVCR71.dll_time]
mov edi, dword [sym.imp.MSVCR71.dll_sprintf]
add eax, 0x19bfcc00
push eax
mov eax, dword [esp + 0x20]
push 0x4a2538
push eax
call edi
add esp, 0x10
test esi, esi
mov byte [esp + 0xe0], 0
jbe 0x4278e3
push esi
lea ecx, [esp + 0xe4]
push 0x4a4de0
push ecx
call edi
add esp, 0xc
push str._Y_m_d__H_M_S
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x2c]
call fcn.00407370
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x427900
lea edi, [esp + 0xe0]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x427911
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp ebx, dword [esp + 0x34]
jge 0x427c39
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
push str.profile_setup
push edx
lea ecx, [eax + ebx*4]
lea eax, [esp + 0xe8]
push eax
lea edx, [esp + 0x2ec]
push edx
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x64]
call fcn.00421c30
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
inc ebx
cmp ebx, eax
jl 0x427832
push 0x4bd0e4
lea ecx, [esp + 0x14]
call dword [0x49f214]
push 0
push 0x3a
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Find_1]
test eax, eax
jle 0x4279d9
push eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Left]
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x8f8], 5
call dword [0x49f214]
lea ecx, [esp + 0xc]
mov byte [esp + 0x8f4], 3
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, 0x6400
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
jle 0x427bc3
mov edi, dword [esp + 0x1c]
test ebx, ebx
jl 0x427c39
cmp ebx, eax
jge 0x427c39
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x48]
push edx
push esi
lea eax, [esp + 0x2e8]
lea ecx, [ecx + ebx*4]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.WININET.dll_InternetGetCookieA]
test eax, eax
je 0x427a6f
lea ecx, [esp + 0x2e0]
push ecx
push esi
call dword [sym.imp.MSVCR71.dll_strstr]
add esp, 8
test eax, eax
je 0x427a6f
test edi, edi
jbe 0x427bb6
push 0x3d
push eax
call dword [sym.imp.MSVCR71.dll_strchr]
add esp, 8
test eax, eax
je 0x427a6f
inc eax
push eax
call dword [sym.imp.MSVCR71.dll_atoi]
add esp, 4
cmp edi, eax
je 0x427bb6
lea ecx, [esp + 0xc]
call dword [0x49f754]
xor eax, eax
cmp edi, eax
mov byte [esp + 0x8f4], 6
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov byte [esp + 0xe0], al
jbe 0x427aad
push edi
lea edx, [esp + 0xe4]
push 0x4a4de0
push edx
call dword [sym.imp.MSVCR71.dll_sprintf]
add esp, 0xc
push str._Y_m_d__H_M_S
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x2c]
call fcn.00407370
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov esi, eax
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x427ad0
lea edi, [esp + 0xe0]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x427ae1
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x4c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
push 0
call dword [sym.imp.MSVCR71.dll__time64]
add esp, 4
add eax, 0x19bfcc00
push str._a___d__b__Y___H:_M:_S_GMT
lea ecx, [esp + 0x24]
adc edx, 0
push ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
call fcn.00407400
mov edx, dword [eax]
push edx
lea eax, [esp + 0xe4]
push eax
lea ecx, [esp + 0x2e8]
push ecx
lea edx, [esp + 0x18]
push str._s___s__expires___s
push edx
mov byte [esp + 0x908], 7
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0x14
lea ecx, [esp + 0x20]
mov byte [esp + 0x8f4], 6
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp ebx, dword [esp + 0x34]
jge 0x427c39
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0xc]
lea esi, [eax + ebx*4]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push 0
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.WININET.dll_InternetSetCookieA]
lea ecx, [esp + 0xc]
mov byte [esp + 0x8f4], 3
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
inc ebx
cmp ebx, eax
jl 0x4279f8
mov ecx, dword [esp + 0x18]
push ecx
call sub.MFC71.DLL_operator_delete_1
push esi
call sub.MFC71.DLL_operator_delete_1
add esp, 8
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x50]
mov byte [esp + 0x8f4], 1
call fcn.00420c00
lea ecx, [esp + 0x78]
mov byte [esp + 0x8f4], 0
call fcn.0041d160
lea ecx, [esp + 0x2c]
mov dword [esp + 0x8f4], 0xffffffff
call fcn.004965a6
mov ecx, dword [esp + 0x8ec]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x8e4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00496ace
mov esp, ebp
pop ebp
ret
jmp fcn.0049641a