Function at 0x4355c0
Capabilities:
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a6730
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x900
mov eax, dword [0x4cbba0]
push ebx
push esi
xor eax, ebp
push edi
lea ecx, [esp + 0x50]
mov dword [esp + 0x904], eax
call fcn.004121c0
mov dword [esp + 0x54], eax
mov byte [eax + 0x45], 1
mov eax, dword [esp + 0x54]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x54]
mov dword [eax], eax
mov eax, dword [esp + 0x54]
xor ebx, ebx
mov dword [eax + 8], eax
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
push str.configconfig.ini
lea eax, [esp + 0x20]
push 0x4cbdc0
push eax
mov dword [esp + 0x920], ebx
call fcn.004010a0
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push ebx
push str.EXPERIENCEID
push 0x4ac6b4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x24], eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x34]
call sub.MFC71.DLL_CStringArray::CStringArray
push str.configclienttype.ini
lea ecx, [esp + 0x20]
push 0x4cbdc0
push ecx
mov byte [esp + 0x920], 1
call fcn.004010a0
add esp, 0xc
mov ecx, eax
mov byte [esp + 0x914], 2
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push ebx
push eax
lea ecx, [esp + 0x58]
call fcn.0041b700
lea ecx, [esp + 0x1c]
mov byte [esp + 0x914], 1
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
push 0x400
lea edx, [esp + 0x504]
push edx
push 0x4acbb2
push str.weburl
push str.clienttype
lea ecx, [esp + 0x64]
call fcn.00417e50
lea eax, [esp + 0x500]
lea ecx, [eax + 1]
jmp 0x4356f0
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4356f0
sub eax, ecx
mov dword [esp + 0x28], eax
je 0x435715
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x500]
push eax
push ecx
lea ecx, [esp + 0x3c]
call sub.MFC71.DLL_CStringArray::SetAtGrow
push ebx
push str.count
push str.webclick
lea ecx, [esp + 0x5c]
call fcn.00417da0
mov edi, dword [sym.imp.MSVCR71.dll_sprintf]
mov esi, eax
cmp esi, ebx
jle 0x4357a9
dec esi
push esi
lea edx, [esp + 0x304]
push str.url_d
push edx
call edi
add esp, 0xc
push 0x200
lea eax, [esp + 0x104]
push eax
push 0x4acbb2
lea ecx, [esp + 0x30c]
push ecx
push str.webclick
lea ecx, [esp + 0x64]
call fcn.00417e50
lea eax, [esp + 0x100]
lea edx, [eax + 1]
jmp 0x435780
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x435780
sub eax, edx
mov dword [esp + 0x28], eax
je 0x4357a5
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x100]
push edx
push eax
lea ecx, [esp + 0x3c]
call sub.MFC71.DLL_CStringArray::SetAtGrow
cmp esi, ebx
jg 0x435735
push 0x200
lea ecx, [esp + 0x304]
push ecx
push 0x4acbb2
push str.cookiename
push str.clienttype
lea ecx, [esp + 0x64]
call fcn.00417e50
push 0x200
lea edx, [esp + 0x104]
push edx
push 0x4acbb2
push str.cookievalue
push str.clienttype
lea ecx, [esp + 0x64]
call fcn.00417e50
cmp dword [esp + 0x3c], ebx
jle 0x435f77
lea eax, [esp + 0x300]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x435807
sub eax, edx
mov dword [esp + 0x28], eax
je 0x435f77
lea eax, [esp + 0x100]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x435824
sub eax, edx
mov dword [esp + 0x28], eax
je 0x435f77
lea ecx, [esp + 0x98]
call fcn.004258f0
lea ecx, [esp + 0x64]
mov byte [esp + 0x914], 3
call fcn.00428600
push 0x19000
mov byte [esp + 0x918], 4
call sub.MFC71.DLL_operator_new
add esp, 4
push ebx
push ebx
push ebx
mov esi, eax
push 1
lea ecx, [esp + 0x58]
mov dword [esp + 0x28], esi
mov dword [esp + 0x70], 0x19000
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call fcn.00407a70
push 0x19000
call sub.MFC71.DLL_operator_new
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
push ebx
mov byte [esp + 0x918], 5
call dword [sym.imp.MSVCR71.dll__time64]
mov dword [esp + 0x30], eax
mov al, byte [0x4cc974]
add esp, 4
test al, al
mov dword [esp + 0x30], edx
jne 0x4358df
mov eax, dword [esp + 0x48]
sub dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x4c]
mov eax, edx
sbb eax, ecx
mov dword [esp + 0x30], eax
xor eax, eax
mov ecx, 0x6400
mov edi, esi
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x98]
call fcn.004248a0
test al, al
je 0x435b6d
mov eax, dword [esp + 0x3c]
xor ebx, ebx
test eax, eax
jle 0x435a82
mov edi, dword [esp + 0x24]
test ebx, ebx
jl 0x435fd9
cmp ebx, eax
jge 0x435fd9
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x20]
push eax
lea ecx, [edx + ebx*4]
mov edx, dword [esp + 0x1c]
push edx
lea eax, [esp + 0x308]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0xa8]
call fcn.00424d10
movzx esi, al
test esi, esi
mov dword [esp + 0x1c], esi
je 0x435995
test edi, edi
jbe 0x435a6d
push edi
lea ecx, [esp + 0x104]
push 0x4b2778
push ecx
call dword [sym.imp.MSVCR71.dll_sprintf]
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x10c]
push edx
push eax
call dword [sym.imp.MSVCR71.dll_strstr]
add esp, 0x14
test eax, eax
jne 0x435a6d
mov dword [esp + 0x1c], eax
push 0
call dword [sym.imp.MSVCR71.dll_time]
mov ecx, dword [esp + 0x24]
mov esi, dword [sym.imp.MSVCR71.dll_sprintf]
add eax, 0x19bfcc00
push eax
push str._lld
push ecx
call esi
add esp, 0x10
test edi, edi
mov byte [esp + 0x100], 0
jbe 0x4359d7
push edi
lea edx, [esp + 0x104]
push 0x4b2778
push edx
call esi
add esp, 0xc
push str._Y_m_d__H_M_S
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x34]
call fcn.00407c50
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 0x4359f4
lea edi, [esp + 0x100]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x435a05
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 + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp ebx, dword [esp + 0x3c]
jge 0x435fd9
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
push str.profile_setup
push edx
lea eax, [esp + 0x108]
push eax
lea edx, [esp + 0x30c]
lea ecx, [ecx + ebx*4]
push edx
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0xac]
call fcn.00425160
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x3c]
inc ebx
cmp ebx, eax
jl 0x435910
test esi, esi
jne 0x435b5c
push 0x4cc8fc
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
push 0
push 0x3a
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Find_1]
test eax, eax
jle 0x435ad8
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Left]
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x918], 6
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
lea ecx, [esp + 0x14]
mov byte [esp + 0x914], 5
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 + 0x9c]
call fcn.00425260
push 0x4cc900
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
push 0
push 0x3a
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Find_1]
test eax, eax
jle 0x435b45
push eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Left]
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x918], 7
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
lea ecx, [esp + 0x14]
mov byte [esp + 0x914], 5
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 + 0x9c]
call fcn.00425260
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x18]
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 + 0x64]
call fcn.004248a0
test al, al
je 0x435d53
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x18]
xor ebx, ebx
test eax, eax
jle 0x435cf4
mov esi, dword [esp + 0x24]
nop
test ebx, ebx
jl 0x435fd9
cmp ebx, eax
jge 0x435fd9
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x20]
push eax
lea ecx, [edx + ebx*4]
push edi
lea edx, [esp + 0x308]
push edx
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x74]
call fcn.004284d0
movzx eax, al
test eax, eax
je 0x435c12
test esi, esi
jbe 0x435ce7
push esi
lea eax, [esp + 0x104]
push 0x4b2778
push eax
call dword [sym.imp.MSVCR71.dll_sprintf]
lea ecx, [esp + 0x10c]
push ecx
push edi
call dword [sym.imp.MSVCR71.dll_strstr]
add esp, 0x14
test eax, eax
jne 0x435ce7
push 0
call dword [sym.imp.MSVCR71.dll_time]
mov edx, dword [esp + 0x24]
mov edi, dword [sym.imp.MSVCR71.dll_sprintf]
add eax, 0x19bfcc00
push eax
push str._lld
push edx
call edi
add esp, 0x10
test esi, esi
mov byte [esp + 0x100], 0
jbe 0x435c54
push esi
lea eax, [esp + 0x104]
push 0x4b2778
push eax
call edi
add esp, 0xc
push str._Y_m_d__H_M_S
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x34]
call fcn.00407c50
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 0x435c71
lea edi, [esp + 0x100]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x435c82
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 + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp ebx, dword [esp + 0x3c]
jge 0x435fd9
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x20]
push str.profile_setup
push eax
lea ecx, [edx + ebx*4]
lea edx, [esp + 0x108]
push edx
lea eax, [esp + 0x30c]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x78]
call fcn.004285a0
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x3c]
inc ebx
cmp ebx, eax
jl 0x435ba0
push 0x4cc8fc
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
push 0
push 0x3a
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Find_1]
test eax, eax
jle 0x435d4a
push eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Left]
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x918], 8
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
lea ecx, [esp + 0x14]
mov byte [esp + 0x914], 5
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 + 0x3c]
mov esi, dword [esp + 0x18]
xor ebx, ebx
test eax, eax
jle 0x435f35
mov edi, dword [esp + 0x24]
lea esp, [esp]
test ebx, ebx
jl 0x435fd9
cmp ebx, eax
jge 0x435fd9
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x60]
push eax
lea ecx, [edx + ebx*4]
push esi
lea edx, [esp + 0x308]
push edx
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.WININET.dll_InternetGetCookieA]
test eax, eax
je 0x435de7
lea eax, [esp + 0x300]
push eax
push esi
call dword [sym.imp.MSVCR71.dll_strstr]
add esp, 8
test eax, eax
je 0x435de7
test edi, edi
jbe 0x435f28
push 0x3d
push eax
call dword [sym.imp.MSVCR71.dll_strchr]
add esp, 8
test eax, eax
je 0x435de7
inc eax
push eax
call dword [sym.imp.MSVCR71.dll_atoi]
add esp, 4
cmp edi, eax
je 0x435f28
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
xor eax, eax
cmp edi, eax
mov byte [esp + 0x914], 9
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov byte [esp + 0x100], al
jbe 0x435e25
push edi
lea ecx, [esp + 0x104]
push 0x4b2778
push ecx
call dword [sym.imp.MSVCR71.dll_sprintf]
add esp, 0xc
push str._Y_m_d__H_M_S
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x34]
call fcn.00407c50
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x435e42
lea edi, [esp + 0x100]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x435e53
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 + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
push 0
call dword [sym.imp.MSVCR71.dll__time64]
add esp, 4
add eax, 0x19bfcc00
mov dword [esp + 0x48], eax
push str._a___d__b__Y___H:_M:_S_GMT
lea eax, [esp + 0x2c]
adc edx, 0
push eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x54], edx
call fcn.00407ce0
mov ecx, dword [eax]
push ecx
lea edx, [esp + 0x104]
push edx
lea eax, [esp + 0x308]
push eax
lea ecx, [esp + 0x28]
push str._s___s__expires___s
push ecx
mov byte [esp + 0x928], 0xa
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0x14
lea ecx, [esp + 0x28]
mov byte [esp + 0x914], 9
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp ebx, dword [esp + 0x3c]
jge 0x435fd9
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x1c]
lea esi, [edx + 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 + 0x1c]
mov byte [esp + 0x914], 5
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x3c]
inc ebx
cmp ebx, eax
jl 0x435d70
mov eax, dword [esp + 0x20]
push eax
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 + 0x64]
mov byte [esp + 0x914], 3
call fcn.00428150
lea ecx, [esp + 0x98]
mov byte [esp + 0x914], 1
call fcn.00425390
lea ecx, [esp + 0x34]
mov byte [esp + 0x914], 0
call fcn.004a1414
mov eax, dword [esp + 0x54]
mov ecx, dword [eax]
push eax
push ecx
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x920], 0xffffffff
call fcn.00418150
mov edx, dword [esp + 0x54]
push edx
call sub.MFC71.DLL_operator_delete_1
mov ecx, dword [esp + 0x910]
add esp, 4
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x904]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a17d1
mov esp, ebp
pop ebp
ret
jmp fcn.004a11bc