Function at 0x409ad0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53c798
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x575494]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, edx
mov dword [ebp - 0x34], ecx
lea edi, [esi + 0x50]
push edi
mov ecx, str.BrCcAdvnc.sdd
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x3c], eax
call fcn.00470260
lea eax, [esi + 0x60]
push str.AdvModelList_Text
mov dword [ebp - 0x28], eax
call fcn.005080c0
mov eax, dword [edi + 0x10]
xor esi, esi
cmp eax, esi
jne 0x409b38
mov eax, 0x54ee24
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x38], esi
cmp dword [edi + 8], esi
jle 0x409b68
cmp eax, esi
je 0x409b68
cmp word [eax], si
je 0x409b68
mov ecx, dword [edi + 4]
cmp ecx, esi
jne 0x409b5b
mov ecx, 0x54ee24
push ecx
push esi
push str.PosiX
push eax
call ebx
mov dword [ebp - 0x38], eax
mov ecx, dword [edi + 0x10]
cmp ecx, esi
jne 0x409b74
mov ecx, 0x54ee24
mov dword [ebp - 0x54], esi
cmp dword [edi + 8], esi
jle 0x409b9e
cmp ecx, esi
je 0x409b9e
cmp word [ecx], si
je 0x409b9e
mov eax, dword [edi + 4]
cmp eax, esi
jne 0x409b91
mov eax, 0x54ee24
push eax
push esi
push str.PosiY
push ecx
call ebx
mov dword [ebp - 0x54], eax
mov ecx, dword [edi + 0x10]
cmp ecx, esi
jne 0x409baa
mov ecx, 0x54ee24
mov dword [ebp - 0x4c], esi
cmp dword [edi + 8], esi
jle 0x409bd4
cmp ecx, esi
je 0x409bd4
cmp word [ecx], si
je 0x409bd4
mov eax, dword [edi + 4]
cmp eax, esi
jne 0x409bc7
mov eax, 0x54ee24
push eax
push esi
push str.Width
push ecx
call ebx
mov dword [ebp - 0x4c], eax
mov ecx, dword [edi + 0x10]
cmp ecx, esi
jne 0x409be0
mov ecx, 0x54ee24
mov dword [ebp - 0x2c], esi
cmp dword [edi + 8], esi
jle 0x409c0a
cmp ecx, esi
je 0x409c0a
cmp word [ecx], si
je 0x409c0a
mov eax, dword [edi + 4]
cmp eax, esi
jne 0x409bfd
mov eax, 0x54ee24
push eax
push esi
push str.Height
push ecx
call ebx
mov dword [ebp - 0x2c], eax
push 0x2af8
lea edx, [ebp - 0xbc]
push edx
mov ecx, 0x5776a0
call fcn.00471380
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x48], eax
cmp eax, esi
jne 0x409c37
mov dword [ebp - 0x48], 0x54ee24
mov ecx, dword [edi + 0x10]
cmp ecx, esi
jne 0x409c43
mov ecx, 0x54ee24
xor ebx, ebx
mov dword [ebp - 0x50], ebx
cmp dword [edi + 8], esi
jle 0x409c75
cmp ecx, esi
je 0x409c75
cmp word [ecx], si
je 0x409c75
mov eax, dword [edi + 4]
cmp eax, esi
jne 0x409c62
mov eax, 0x54ee24
push eax
push esi
push str.FontPoint
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
mov dword [ebp - 0x50], eax
push 0x7532
lea eax, [ebp - 0xb0]
push eax
mov ecx, 0x5776a0
mov byte [ebp - 0xd4], 1
mov byte [ebp - 0xcc], 0
mov byte [ebp - 0xc4], 0
call fcn.00471380
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xb0]
cmp eax, esi
jne 0x409cb3
mov eax, 0x54ee24
mov esi, dword [ebp - 0x30]
add esi, 0x70
push eax
lea eax, [esi + 0x64]
call fcn.005080c0
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x38]
push 0
push 0
push ebx
mov ebx, dword [ebp - 0x34]
mov dword [esi + 0x50], edx
mov edx, dword [ebp - 0x48]
mov dword [esi + 0x54], eax
mov dword [esi + 0x4c], ecx
mov ecx, dword [ebp - 0x2c]
push edx
lea eax, [esi + 0x3c]
push eax
mov dword [esi + 0x58], ecx
mov dword [esi + 0x60], 0x24
mov dword [esi + 0x5c], 1
call fcn.00473690
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ebp - 0xcc]
mov dword [esi + 0x70], ecx
mov ecx, dword [ebp - 0xc4]
mov eax, 0xffffff
mov dword [esi + 0x74], eax
mov eax, dword [ebp - 0xc8]
mov dword [esi + 0x78], edx
mov edx, dword [ebp - 0xc0]
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], ecx
mov dword [esi + 0x84], edx
mov eax, dword [esi + 0x54]
xor ebx, ebx
cmp eax, ebx
jle 0x409d6d
mov ecx, dword [esi + 0x58]
cmp ecx, ebx
jle 0x409d6d
mov edx, dword [esi + 0x4c]
push eax
mov eax, dword [esi + 0x50]
push eax
mov eax, dword [ebp - 0x34]
push edx
mov edx, dword [ebp - 0x3c]
push eax
push edx
push esi
mov ebx, ecx
mov eax, 0x10000000
mov edx, 0x1965
call fcn.00509070
xor ebx, ebx
mov eax, dword [ebp - 0x34]
push eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
mov eax, dword [ebp - 0xb0]
cmp eax, ebx
jne 0x409d94
mov eax, 0x54ee24
push 0x404
lea ecx, [ebp - 0x24]
push ecx
push 0xffffffffffffffff
push eax
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
mov edx, dword [ebp - 0x34]
push esi
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebp - 0x28]
push str.AdvModelList_ListBox
call fcn.005080c0
mov eax, dword [edi + 0x10]
mov ecx, eax
cmp eax, ebx
jne 0x409dcd
mov ecx, 0x54ee24
xor eax, eax
cmp dword [edi + 8], ebx
jle 0x409df7
cmp ecx, ebx
je 0x409df7
cmp word [ecx], bx
je 0x409df7
mov eax, dword [edi + 4]
cmp eax, ebx
jne 0x409de9
mov eax, 0x54ee24
push eax
push ebx
push str.OffsetX
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
add eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [edi + 0x10]
cmp eax, ebx
jne 0x409e0c
mov eax, 0x54ee24
mov dword [ebp - 0x2c], ebx
cmp dword [edi + 8], ebx
jle 0x409e3a
cmp eax, ebx
je 0x409e3a
cmp word [eax], bx
je 0x409e3a
mov ecx, dword [edi + 4]
cmp ecx, ebx
jne 0x409e29
mov ecx, 0x54ee24
push ecx
push ebx
push str.PosiY
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x2c], eax
mov ecx, dword [edi + 0x10]
cmp ecx, ebx
jne 0x409e46
mov ecx, 0x54ee24
xor esi, esi
cmp dword [edi + 8], ebx
jle 0x409e72
cmp ecx, ebx
je 0x409e72
cmp word [ecx], bx
je 0x409e72
mov eax, dword [edi + 4]
cmp eax, ebx
jne 0x409e62
mov eax, 0x54ee24
push eax
push ebx
push str.Width
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov ecx, dword [edi + 0x10]
cmp ecx, ebx
jne 0x409e7e
mov ecx, 0x54ee24
xor eax, eax
cmp dword [edi + 8], ebx
jle 0x409eaa
cmp ecx, ebx
je 0x409eaa
cmp word [ecx], bx
je 0x409eaa
mov edi, dword [edi + 4]
mov eax, edi
cmp edi, ebx
jne 0x409e9c
mov eax, 0x54ee24
push eax
push ebx
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0xbc]
cmp ecx, ebx
jne 0x409eb9
mov ecx, 0x54ee24
mov edx, dword [ebp - 0x50]
mov edi, dword [ebp - 0x30]
push ebx
push edx
mov edx, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x2c]
push esi
mov esi, dword [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x3c]
push edx
push 0x1645
push esi
push eax
add edi, 0x100
push edi
mov eax, ecx
mov edx, 0x10000003
call fcn.0042c570
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx + 0x108]
push eax
push edi
push 0x832b
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0xa4], vtable.CMemMap.0
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x94], vtable.CSemaphore.0
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov byte [ebp - 0x78], bl
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x70], vtable.CFileRW.0
mov dword [ebp - 0x68], 0xffffffff
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x64], bl
mov eax, str.CcMemMapObjModelList
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 2
call fcn.00449250
cmp eax, ebx
je 0x409fa8
mov ecx, str.CcMemMapObjModelList
lea ebx, [ebp - 0xa4]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 0x78], 1
call fcn.0043fbb0
test al, al
jne 0x409fb6
mov esi, ebx
call fcn.0043fa00
jmp 0x40a095
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0x74], edx
jmp 0x40a097
cmp al, 1
jne 0x40a095
lea esi, [ebp - 0xa4]
call fcn.00475d10
xor ebx, ebx
mov dword [ebp - 0x28], eax
cmp eax, ebx
jle 0x40a01b
lea eax, [ebp - 0x48]
push eax
mov ecx, ebx
lea esi, [ebp - 0xa4]
call fcn.00475d80
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x409fef
mov eax, 0x54ee24
push ebx
push eax
mov esi, edi
call fcn.0042c890
mov eax, dword [ebp - 0x48]
xor esi, esi
cmp eax, esi
je 0x40a013
push eax
call fcn.0051eadb
add esp, 4
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], esi
inc ebx
cmp ebx, dword [ebp - 0x28]
jl 0x409fd2
xor ebx, ebx
cmp byte [ebp - 0x78], 0
je 0x40a072
cmp dword [ebp - 0x7c], ebx
je 0x40a072
mov eax, dword [ebp - 0x98]
cmp eax, ebx
je 0x40a03d
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [ebp - 0x98], ebx
mov eax, dword [ebp - 0x9c]
cmp eax, ebx
je 0x40a054
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x9c], ebx
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x7c], ebx
mov byte [ebp - 0x78], 0
cmp eax, ebx
je 0x40a072
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x8c], ebx
mov eax, dword [ebp - 0x68]
cmp eax, 0xffffffff
je 0x40a088
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x68], 0xffffffff
mov ecx, dword [ebp - 0x30]
push ecx
mov byte [ebp - 0x64], 0
call fcn.0040a160
xor ebx, ebx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x108]
push 0x409380
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [0x57b260], eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x60]
cmp eax, ebx
je 0x40a0d0
push eax
call fcn.0051eadb
add esp, 4
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov eax, dword [ebp - 0x68]
or esi, 0xffffffff
mov dword [ebp - 0x70], vtable.CFileRW.0
cmp eax, esi
je 0x40a0eb
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x68], esi
lea eax, [ebp - 0xa4]
push eax
mov byte [ebp - 4], 1
call fcn.0043f7f0
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0xb0]
cmp eax, ebx
je 0x40a123
push eax
call fcn.0051eadb
add esp, 4
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0xbc]
cmp eax, ebx
je 0x40a139
push eax
call fcn.0051eadb
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0051eacc
mov esp, ebp
pop ebp
ret 4