Function at 0x40b03a
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x412271
call fcn.004111a0
sub esp, 0x90c
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 8]
mov dword [ebp - 0x14], esi
push 0x66
call sub.MFC42.DLL_CDialog::CDialog
lea edi, [esi + 0x60]
xor ebx, ebx
lea ecx, [esi + 0x64]
mov dword [ebp - 4], ebx
mov dword [edi], 0x415654
call fcn.00401000
lea ecx, [esi + 0xc8]
mov byte [ebp - 4], 1
mov dword [esi + 0xb4], 0x41564c
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xbc], ebx
call fcn.004060b3
lea ecx, [esi + 0x110]
mov byte [ebp - 4], 2
call fcn.00402555
lea ecx, [esi + 0x1e4]
mov byte [ebp - 4], 3
call fcn.00402555
lea ecx, [esi + 0x2b8]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CWnd::CWnd
mov dword [esi + 0x2b8], 0x41558c
lea ecx, [esi + 0x2f8]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CWnd::CWnd
mov dword [esi + 0x2f8], 0x41558c
lea ecx, [esi + 0x338]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CWnd::CWnd
mov dword [esi + 0x338], 0x4154c8
lea ecx, [esi + 0x378]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x390]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x394]
push ebx
mov byte [ebp - 4], 9
call fcn.0040e752
mov al, byte [ebp + 0xb]
lea ecx, [esi + 0x488]
mov byte [ebp - 4], 0xa
mov byte [ecx], al
mov al, byte [ebp + 0xb]
mov byte [ecx + 1], al
mov byte [ecx + 8], bl
call fcn.0040de0e
mov al, byte [ebp + 0xb]
lea ecx, [esi + 0x498]
mov byte [ebp - 4], 0xb
mov byte [ecx], al
mov al, byte [ebp + 0xb]
mov byte [ecx + 1], al
mov byte [ecx + 8], bl
call fcn.0040df7e
lea ecx, [esi + 0x4a8]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CImageList::CImageList
lea ecx, [esi + 0x4c0]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x4c4]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::CString_2
push ebx
lea ecx, [esi + 0x4cc]
mov byte [ebp - 4], 0xf
call fcn.0040e461
lea ecx, [esi + 0x574]
mov byte [ebp - 4], 0x10
call fcn.00405d6f
push ebx
lea ecx, [esi + 0x57c]
mov byte [ebp - 4], 0x11
call fcn.0040b350
push 0x419de8
lea ecx, [esi + 0x378]
mov byte [ebp - 4], 0x12
mov dword [esi], 0x4153f0
mov dword [edi], 0x4153d8
mov dword [esi + 0x64], 0x4153d0
mov dword [esi + 0xb4], 0x4153c8
mov dword [esi + 0x590], ebx
mov dword [esi + 0x38c], ebx
mov dword [esi + 0x388], ebx
mov dword [esi + 0x37c], ebx
mov dword [esi + 0x380], ebx
mov dword [esi + 0x384], 0x10
call fcn.00410f80
call sub.MFC42.DLL_AfxGetModuleState
mov eax, 0x80
push eax
push 0xe
push eax
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [esi + 0x4b0], eax
mov eax, esi
neg eax
sbb eax, eax
and eax, edi
jne 0x40b24d
lea eax, [esi + 0x480]
mov dword [esi + 0x484], eax
lea eax, [ebp - 0x118]
push 0x104
push eax
push ebx
mov dword [esi + 0x4b4], ebx
mov dword [esi + 0x4b8], ebx
mov dword [esi + 0x4bc], ebx
mov dword [esi + 0x4c8], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x118]
push 0x5c
push eax
call dword [sym.imp.MSVCRT.dll_strrchr]
mov edi, eax
pop ecx
cmp edi, ebx
pop ecx
je 0x40b2f4
lea eax, [ebp - 0x118]
lea ecx, [ebp + 8]
push eax
call fcn.0041110c
push 0x5c
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x13
call sub.MFC42.DLL_CString::ReverseFind
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esi + 0x4c4]
mov byte [ebp - 4], 0x14
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x13
call sub.MFC42.DLL_CString::CString
push str._settings.ini
push edi
call sub.MSVCRT.dll_strcpy
pop ecx
mov byte [ebp - 4], 0x12
pop ecx
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x118]
lea edi, [esi + 0x4c0]
push eax
mov ecx, edi
call fcn.00410f80
push dword [edi]
lea eax, [ebp - 0x918]
push 0x800
push eax
push 0x419de8
push str.param
push str.download
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x918]
lea ecx, [esi + 0x390]
push eax
call fcn.00410f80
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4