Function at 0x42e590
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x474f19
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x109c
call fcn.0041f020
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x7c], edi
mov eax, dword [edi + 0x80]
xor ebx, ebx
push ebx
push ebx
push ebx
lea esi, [edi + 0x40]
push 1
push eax
mov dword [ebp - 4], ebx
push esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CWnd::InvokeHelper
mov edx, dword [edi + 0x88]
add esp, 0x18
lea ecx, [ebp - 0x1c]
push ebx
push ecx
push 9
push 1
push edx
push esi
call sub.MFC42.DLL_CWnd::InvokeHelper
mov eax, dword [ebp - 0x1c]
add esp, 0x18
cmp eax, ebx
mov dword [ebp - 4], ebx
je 0x42eb51
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x3c], 0x4a1930
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], 0xa
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push eax
mov byte [ebp - 4], 3
mov esi, eax
call dword [ecx + 0x24]
cmp eax, ebx
jge 0x42e649
push 0x4dd318
push esi
push eax
call fcn.0046fcae
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov eax, 1
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
cmp eax, ecx
ja 0x42e94c
mov word [ebp - 0x64], 3
mov dword [ebp - 0x5c], eax
lea ecx, [ebp - 0x9c]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x64]
lea eax, [ebp - 0xac]
push edx
push eax
mov byte [ebp - 4], 6
call fcn.0042e520
lea ecx, [ebp - 0x9c]
push eax
push ecx
mov byte [ebp - 4], 7
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
cmp eax, ebx
jge 0x42e6ab
push eax
call fcn.0046fca0
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [ebp - 0xac]
push edx
mov byte [ebp - 4], 6
call edi
cmp eax, ebx
jge 0x42e6c8
push eax
call fcn.0046fca0
mov eax, dword [ebp - 0x94]
mov dword [ebp - 4], 5
cmp eax, ebx
mov dword [ebp - 0x54], eax
jne 0x42e714
lea eax, [ebp - 0x9c]
mov byte [ebp - 4], 4
push eax
call edi
cmp eax, ebx
jge 0x42e6f3
push eax
call fcn.0046fca0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 3
push ecx
call edi
cmp eax, ebx
jge 0x42e943
push eax
call fcn.0046fca0
mov eax, dword [ebp - 0x18]
inc eax
jmp 0x42e654
mov edx, dword [ebp - 0x90]
mov byte [ebp - 0x10ac], 0
mov eax, dword [eax + 4]
mov dword [ebp - 0x50], edx
cmp eax, ebx
mov dword [ebp - 0x20], eax
jne 0x42e739
mov dword [ebp - 0x4c], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x42e776
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
call ebx
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.0041f020
mov eax, dword [ebp - 0x20]
mov esi, esp
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push eax
push 0
push 0
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [ebp - 0x4c], esi
mov ecx, dword [ebp - 0x54]
mov eax, dword [ecx]
test eax, eax
mov dword [ebp - 0x20], eax
jne 0x42e786
xor esi, esi
jmp 0x42e7ba
push eax
call ebx
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.0041f020
mov edx, dword [ebp - 0x20]
mov esi, esp
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push edx
push 0
push 0
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.uservar.ini
call sub.MFC42.DLL_CString::CString_2
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 5
push eax
call fcn.004464f0
mov ecx, eax
call fcn.00446d10
push eax
lea ecx, [ebp - 0x78]
push 0x4e08d0
push ecx
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x10ac]
push 0x1000
push edx
push eax
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x78]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebp - 0x54]
mov esi, dword [edx]
test esi, esi
jne 0x42e830
xor eax, eax
jmp 0x42e863
push esi
call ebx
lea ebx, [eax + eax + 2]
mov eax, ebx
add eax, 3
and al, 0xfc
call fcn.0041f020
mov edi, esp
push 0
push 0
push ebx
push edi
push 0xffffffffffffffff
push esi
push 0
push 0
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, edi
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
push eax
lea ecx, [ebp - 0x44]
call sub.MFC42.DLL_CString::CString_2
lea eax, [ebp - 0x10ac]
lea ecx, [ebp - 0x48]
push eax
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString_2
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::AllocSysString
lea ecx, [ebp - 0x48]
mov esi, eax
call sub.MFC42.DLL_CString::AllocSysString
mov ecx, dword [ebp - 0x34]
push 0
push ecx
lea ecx, [ebp - 0x3c]
mov ebx, eax
call fcn.0042edf0
mov dword [eax + 8], esi
mov dword [eax + 0xc], ebx
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x42e8b6
mov dword [ecx], eax
jmp 0x42e8b9
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea edx, [ebp - 0x9c]
mov byte [ebp - 4], 4
push edx
call edi
test eax, eax
jge 0x42e8eb
push eax
call fcn.0046fca0
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 3
push eax
call edi
test eax, eax
jge 0x42e941
push eax
call fcn.0046fca0
mov eax, dword [ebp - 0x18]
xor ebx, ebx
inc eax
jmp 0x42e654
xor ebx, ebx
mov eax, dword [ebp - 0x18]
inc eax
jmp 0x42e654
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
cmp eax, ecx
ja 0x42e9bf
mov word [ebp - 0x64], 3
mov dword [ebp - 0x5c], 1
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x64]
push edx
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0xe
mov esi, eax
call dword [ecx + 0x28]
cmp eax, ebx
jge 0x42e98d
push 0x4dd318
push esi
push eax
call fcn.0046fcae
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0xd
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, ebx
jge 0x42e9af
push eax
call fcn.0046fca0
jmp 0x42e9af
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], 3
inc eax
mov dword [ebp - 0x18], eax
jmp 0x42e953
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea ecx, [ebp - 0x8c]
push ecx
call esi
lea edx, [ebp - 0x74]
push edx
call esi
mov edi, dword [ebp - 0x38]
mov byte [ebp - 4], 0x11
cmp edi, ebx
mov dword [ebp - 0x14], edi
je 0x42ea96
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x80], eax
lea eax, [edi + 8]
mov word [ebp - 0x8c], 0x24
mov dword [ebp - 0x84], eax
mov esi, dword [eax]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, ebx
jge 0x42ea14
push eax
call fcn.0046fca0
cmp esi, ebx
mov word [ebp - 0x74], 8
jne 0x42ea23
mov dword [ebp - 0x6c], ebx
jmp 0x42ea3b
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp eax, ebx
mov dword [ebp - 0x6c], eax
jne 0x42ea3b
push 0x8007000e
call fcn.0046fca0
mov eax, dword [ebp - 0x1c]
push 0x4e2860
lea ecx, [ebp - 0x74]
push 0x4e2860
mov edx, dword [eax]
push ecx
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x12
push ecx
push eax
mov esi, eax
call dword [edx + 0x20]
cmp eax, ebx
jge 0x42ea88
push 0x4dd318
push esi
push eax
call fcn.0046fcae
mov edi, dword [edi]
mov dword [ebp - 4], 0x11
jmp 0x42e9db
mov edi, dword [edi]
mov dword [ebp - 4], 0x11
jmp 0x42e9db
mov eax, dword [ebp - 0x7c]
push ebx
push ebx
push ebx
mov edx, dword [eax + 0x84]
push 1
add eax, 0x40
push edx
push eax
mov byte [ebp - 4], 0x14
call sub.MFC42.DLL_CWnd::InvokeHelper
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
add esp, 0x18
lea eax, [ebp - 0x8c]
push eax
call esi
cmp eax, ebx
jge 0x42eace
push eax
call fcn.0046fca0
lea ecx, [ebp - 0x74]
push ecx
call esi
cmp eax, ebx
jge 0x42eade
push eax
call fcn.0046fca0
lea edx, [ebp - 0x74]
mov dword [ebp - 4], 0x10
push edx
call esi
cmp eax, ebx
jge 0x42eaf5
push eax
call fcn.0046fca0
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 3
push eax
call esi
cmp eax, ebx
jge 0x42eb0c
push eax
call fcn.0046fca0
mov dword [ebp - 0x3c], 0x4a1930
mov edx, dword [ebp - 0x38]
mov byte [ebp - 4], 0x17
cmp edx, ebx
je 0x42eb33
lea ecx, [edx + 8]
xor eax, eax
add ecx, 8
mov esi, eax
dec eax
test esi, esi
jne 0x42eb23
mov edx, dword [edx]
cmp edx, ebx
jne 0x42eb1e
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], ebx
call sub.MFC42.DLL_CPlex::FreeDataChain
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x3c], 0x47a288
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x10b8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4