Function at 0x406920
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4a0524
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x4d9700]
xor eax, esp
mov dword [esp + 0x10c], eax
push ebx
push ebp
push esi
mov eax, dword [0x4d9700]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
push 0x66
mov ecx, edi
mov dword [esp + 0x18], edi
call fcn.00461455
lea ebp, [edi + 0x74]
mov dword [esp + 0x128], ebx
push ebp
mov dword [edi], vtable.CUnityDlg.0
call fcn.0040c080
push ebx
push 0x67
lea esi, [edi + 0xcd89]
push 0x8e
mov ecx, esi
mov byte [esp + 0x134], 1
call fcn.0046b4c1
mov dword [esi], vtable.CWebDlg.0
mov dword [esi + 0x74], vtable.CWebDlg.1.0
lea eax, [edi + 0xce9d]
push eax
mov byte [esp + 0x12c], 2
call fcn.00401c20
lea ecx, [edi + 0x1209b]
push ecx
mov byte [esp + 0x12c], 3
call fcn.004061f0
lea edx, [edi + 0x1216b]
push edx
mov byte [esp + 0x12c], 4
call fcn.00401040
lea eax, [edi + 0x12243]
push eax
mov byte [esp + 0x12c], 5
call fcn.00405d00
lea esi, [edi + 0x12543]
mov ecx, esi
mov byte [esp + 0x128], 6
call fcn.0045be14
mov dword [esi], vtable.CProgressCtrl.0
lea esi, [edi + 0x12597]
mov ecx, esi
mov byte [esp + 0x128], 7
call fcn.0045be14
mov dword [esi], vtable.CProgressCtrl.0
lea esi, [edi + 0x125eb]
mov byte [esp + 0x128], 8
call fcn.0040c050
lea esi, [edi + 0x125f3]
mov ecx, esi
call fcn.0045be14
mov dword [esi], vtable.CTabCtrl.0
lea esi, [edi + 0x12647]
mov ecx, esi
mov byte [esp + 0x128], 9
call fcn.0045be14
mov dword [esi], vtable.CComboBox.0
mov byte [esp + 0x128], 0xa
lea esi, [edi + 0x126a3]
mov ecx, esi
mov dword [edi + 0x1269b], ebx
mov dword [edi + 0x1269f], ebx
call fcn.0045be14
mov dword [esi], vtable.CButton.0
lea esi, [edi + 0x126f7]
mov ecx, esi
mov byte [esp + 0x128], 0xb
call fcn.0045be14
mov dword [esi], vtable.CEdit.0
mov byte [esp + 0x128], 0xc
mov dword [edi + 0x122b7], edi
mov dword [edi + 0x121df], edi
mov dword [edi + 0x1210f], edi
mov dword [edi + 0xcf11], edi
call fcn.004699a3
call fcn.004699a3
mov eax, dword [eax + 0xc]
push 0x80
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x370
lea ecx, [edi + 0xc8ec]
push ebx
push ecx
mov dword [edi + 0xcd85], eax
call fcn.0047e5b0
add esp, 0xc
push 0x104
lea edx, [esp + 0x18]
push edx
push ebx
mov dword [edi + 0xcc5c], ebx
mov dword [edi + 0xcc81], ebx
mov dword [edi + 0x12317], ebx
mov dword [edi + 0x1231b], ebx
mov dword [edi + 0x12343], 0xffffffff
mov byte [edi + 0xcc80], bl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x14]
push 0x5c
push eax
call fcn.0047c6b0
add esp, 8
cmp eax, ebx
je 0x406b55
mov byte [eax], bl
push str.CF.ini
lea ecx, [esp + 0x18]
push 0x104
push ecx
call fcn.0047bf1b
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 0xc
lea edx, [esp + 0x14]
push edx
push 0x80
lea esi, [edi + 0xcc85]
push esi
push 0x4cb223
push 0x4cb850
push 0x4cb854
call ebx
lea eax, [esp + 0x14]
push eax
push 0x80
lea ecx, [edi + 0xcd05]
push ecx
push 0x4cb223
push 0x4cb860
push 0x4cb854
call ebx
mov eax, esi
mov ecx, ebp
call fcn.0040d4e0
mov eax, edi
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.0047bc57
add esp, 0x11c
ret