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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a97a8
push eax
mov dword fs:[0], esp
sub esp, 0x16c
push ebp
push esi
mov esi, ecx
mov al, byte [esi + 0x3484]
test al, al
jne 0x467560
mov eax, dword [esp + 0x188]
mov ebp, dword [esp + 0x184]
push eax
push ebp
call fcn.00467c80
jmp 0x467576
mov ecx, dword [esp + 0x184]
push ecx
mov ecx, esi
call fcn.00467f70
mov ebp, dword [esp + 0x184]
push ebx
push edi
push ebp
mov ecx, esi
call fcn.00433320
mov al, byte [esi + 0x839]
test al, 0xa
je 0x467a8b
mov edx, dword [0x4e5bb8]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push edx
push 0
push str.SetSortClass
push str.Debug
call edi
test eax, eax
je 0x467af0
mov eax, dword [0x4e5bb8]
push eax
push 1
push str.SetSortMain
push str.Debug
call edi
mov byte [esi + 0xf2], al
mov ecx, dword [0x4e5bb8]
push ecx
push 0xff
push str.SetSortSub
push str.Debug
call edi
mov word [esi + 0xf4], ax
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x79]
mov byte [esp + 0x78], 0
push str.Page0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x1c]
stosb byte es:[edi], al
call sub.MFC42.DLL_CString::CString_2
push str.Page16
lea ecx, [esp + 0x20]
mov dword [esp + 0x188], 0
call sub.MFC42.DLL_CString::CString_2
push str.Page32
lea ecx, [esp + 0x24]
mov byte [esp + 0x188], 1
call sub.MFC42.DLL_CString::CString_2
push str.Page48
lea ecx, [esp + 0x28]
mov byte [esp + 0x188], 2
call sub.MFC42.DLL_CString::CString_2
push str.Page64
lea ecx, [esp + 0x2c]
mov byte [esp + 0x188], 3
call sub.MFC42.DLL_CString::CString_2
push str.Page80
lea ecx, [esp + 0x30]
mov byte [esp + 0x188], 4
call sub.MFC42.DLL_CString::CString_2
push str.Page96
lea ecx, [esp + 0x34]
mov byte [esp + 0x188], 5
call sub.MFC42.DLL_CString::CString_2
push str.Page112
lea ecx, [esp + 0x38]
mov byte [esp + 0x188], 6
call sub.MFC42.DLL_CString::CString_2
push str.Page128
lea ecx, [esp + 0x3c]
mov byte [esp + 0x188], 7
call sub.MFC42.DLL_CString::CString_2
push str.Page144
lea ecx, [esp + 0x40]
mov byte [esp + 0x188], 8
call sub.MFC42.DLL_CString::CString_2
push str.Page160
lea ecx, [esp + 0x44]
mov byte [esp + 0x188], 9
call sub.MFC42.DLL_CString::CString_2
push str.Page176
lea ecx, [esp + 0x48]
mov byte [esp + 0x188], 0xa
call sub.MFC42.DLL_CString::CString_2
mov byte [esp + 0x184], 0xb
push str.Page192
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CString::CString_2
push str.Page208
lea ecx, [esp + 0x50]
mov byte [esp + 0x188], 0xc
call sub.MFC42.DLL_CString::CString_2
push str.Page224
lea ecx, [esp + 0x54]
mov byte [esp + 0x188], 0xd
call sub.MFC42.DLL_CString::CString_2
push str.Page240
lea ecx, [esp + 0x58]
mov byte [esp + 0x188], 0xe
call sub.MFC42.DLL_CString::CString_2
push str.Page256
lea ecx, [esp + 0x5c]
mov byte [esp + 0x188], 0xf
call sub.MFC42.DLL_CString::CString_2
push str.Page272
lea ecx, [esp + 0x60]
mov byte [esp + 0x188], 0x10
call sub.MFC42.DLL_CString::CString_2
push str.Page288
lea ecx, [esp + 0x64]
mov byte [esp + 0x188], 0x11
call sub.MFC42.DLL_CString::CString_2
push str.Page304
lea ecx, [esp + 0x68]
mov byte [esp + 0x188], 0x12
call sub.MFC42.DLL_CString::CString_2
push str.Page320
lea ecx, [esp + 0x6c]
mov byte [esp + 0x188], 0x13
call sub.MFC42.DLL_CString::CString_2
push str.Page336
lea ecx, [esp + 0x70]
mov byte [esp + 0x188], 0x14
call sub.MFC42.DLL_CString::CString_2
push str.Page352
lea ecx, [esp + 0x74]
mov byte [esp + 0x188], 0x15
call sub.MFC42.DLL_CString::CString_2
push str.Page368
lea ecx, [esp + 0x78]
mov byte [esp + 0x188], 0x16
call sub.MFC42.DLL_CString::CString_2
lea edx, [esp + 0x18]
xor ebp, ebp
mov byte [esp + 0x184], 0x17
xor bl, bl
mov dword [esp + 0x14], edx
mov ecx, dword [0x4e5bb8]
mov eax, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x7c]
mov eax, dword [eax]
push 0x104
push edx
push 0x4e5a9c
push eax
push str.Debug
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xor dl, dl
lea edi, [esp + 0x78]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x10], dl
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x10
jbe 0x467866
mov ecx, 0x10
jmp 0x467874
lea edi, [esp + 0x78]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, dword [esp + 0x10]
and eax, 0xff
cmp eax, ecx
jae 0x4678ac
cmp byte [esp + eax + 0x78], 0x31
jne 0x4678a8
xor ax, ax
xor cx, cx
mov al, bl
mov cl, dl
shl eax, 4
add eax, ecx
mov ecx, ebp
and ecx, 0xffff
inc ebp
mov word [esi + ecx*2 + 0x2ada], ax
inc dl
jmp 0x467848
mov ecx, dword [esp + 0x14]
inc bl
add ecx, 4
cmp bl, 0x18
mov dword [esp + 0x14], ecx
jb 0x46781e
lea eax, [esi + 0x2ada]
mov ecx, 0x180
add eax, 2
dec ecx
jne 0x4678cd
mov dx, word [esi + 0xf4]
mov al, byte [esi + 0xf2]
push edx
push eax
mov ecx, esi
call fcn.00435d00
lea ecx, [esp + 0x74]
mov byte [esp + 0x184], 0x16
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x70]
mov byte [esp + 0x184], 0x15
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x6c]
mov byte [esp + 0x184], 0x14
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x68]
mov byte [esp + 0x184], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x64]
mov byte [esp + 0x184], 0x12
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x60]
mov byte [esp + 0x184], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x5c]
mov byte [esp + 0x184], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x58]
mov byte [esp + 0x184], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x54]
mov byte [esp + 0x184], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x50]
mov byte [esp + 0x184], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov byte [esp + 0x184], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x48]
mov byte [esp + 0x184], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0x184], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov byte [esp + 0x184], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov byte [esp + 0x184], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x184], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x184], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x184], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x184], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x184], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x184], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x184], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x184], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x184], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ebp, dword [esp + 0x18c]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [0x4e5bb8]
push ecx
push 2
push str.LLF_43NM
push str.Debug
call edi
mov edx, dword [0x4e5bb8]
mov bl, al
push edx
push 0
push str.ScanTime
push str.Scan
call edi
test al, al
jne 0x467ac3
mov al, 1
test al, al
mov byte [esp + 0x10], al
jbe 0x467b72
mov edi, dword [esp + 0x10]
and edi, 0xff
cmp bl, 2
jne 0x467b5b
mov eax, dword [esp + 0x190]
mov ecx, esi
push eax
push ebp
call fcn.00467c00
jmp 0x467b6b
push 1
push 0xff
push 1
push 1
mov ecx, esi
call fcn.00435a90
push 0
push 1
push 1
push 1
push 0
push 0
mov ecx, esi
call fcn.0043e690
mov eax, dword [esi + 8]
push 0xff
push 0
push 0
mov cl, byte [eax + 0xa1]
mov dl, byte [eax + 0xa0]
push ecx
push edx
mov ecx, esi
call fcn.00436460
mov eax, dword [esi + 8]
push ebp
mov cl, byte [eax + 0xa0]
cmp cl, 2
mov ecx, esi
jne 0x467b51
call fcn.0047d930
jmp 0x467a91
call fcn.004714d0
jmp 0x467a91
mov ecx, dword [esp + 0x190]
push ecx
push ebp
mov ecx, esi
call fcn.00467bb0
dec edi
jne 0x467ad9
mov al, byte [esi + 0x152]
pop edi
cmp al, 8
pop ebx
jne 0x467b90
mov dx, word [esi + 0x3f8]
push 1
push edx
push ebp
mov ecx, esi
call fcn.00469c00
mov ecx, dword [esp + 0x174]
pop esi
mov eax, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x178
ret 8