Function at 0x41ef90
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b75f0
push 0x4a5d66
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x58], esi
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], eax
mov ecx, dword [0x4e5bb8]
push ecx
push eax
push str.FlashCase
push str.Scan
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov byte [ebp - 0x2c], al
cmp al, 2
jne 0x41efe6
mov ecx, esi
call fcn.0041ecb0
mov dl, byte [esi + 0x34]
mov byte [ebp - 0x28], dl
mov ax, word [esi + 0x160]
mov dword [ebp - 0x38], eax
mov cl, byte [esi + 0x157]
mov byte [ebp - 0x34], cl
mov edi, dword [ebp - 0x34]
and edi, 0xff
and eax, 0xffff
imul edi, eax
mov edx, dword [ebp - 0x28]
and edx, 0xff
imul edi, edx
mov dword [ebp - 0x24], edi
push edi
call sub.MFC42.DLL_operatornew
add esp, 4
mov ebx, eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x1c], ebx
mov ecx, edi
xor eax, eax
mov edi, ebx
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
push 0
push 1
push 1
mov ecx, esi
call fcn.0041db50
push 0
mov ecx, esi
call fcn.00426830
lea edi, [esi + 0x10272]
push edi
push 0xff
push 1
mov ecx, esi
call fcn.00425aa0
mov byte [esi + 0x10270], al
mov ecx, esi
call fcn.0041dd80
mov eax, dword [0x4e5bb8]
push eax
push 0
push str.RIBBT
push str.DEBUG
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x41f0ff
mov ecx, dword [0x4e5bb8]
push ecx
push 1
push str.SetSortMain
push str.DEBUG
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
call edi
mov byte [esi + 0xf2], al
mov edx, dword [0x4e5bb8]
push edx
push 0xff
push str.SetSortSub
push str.DEBUG
call edi
mov word [esi + 0xf4], ax
push ebx
mov ecx, esi
call fcn.004232d0
mov eax, dword [esi + 8]
cmp byte [eax + 0xa0], 1
jne 0x41f2e7
mov ecx, esi
call fcn.0041f5e0
jmp 0x41f2e7
mov eax, dword [esi + 8]
mov cl, byte [eax + 0xa0]
test cl, cl
jne 0x41f1b1
mov cl, byte [eax + 0xa1]
and ecx, 0xf0
lea eax, [ecx - 0x10]
cmp eax, 0x30
ja case.0x41f12c.20
xor edx, edx
mov dl, byte [eax + 0x41f3bc]
jmp dword [edx*4 + 0x41f3a8]
push 0
push ebx
mov ecx, esi
call fcn.0041f3f0
jmp 0x41f2e7
push ebx
mov ecx, esi
call fcn.0041f570
jmp 0x41f2e7
mov al, byte [esi + 0xec]
test al, al
jne 0x41f168
push 1
push ebx
mov ecx, esi
call fcn.0041f3f0
jmp 0x41f2e7
mov byte [esi + 0xec], 1
push ebx
mov ecx, esi
call fcn.00424690
test eax, eax
jne 0x41f190
mov dword [ebp - 0x40], 0x60200
push 0x4d8340
lea eax, [ebp - 0x40]
push eax
call sub.MSVCRT.dll__CxxThrowException
mov byte [esi + 0x103c8], 3
jmp 0x41f2e7
mov dword [ebp - 0x44], 0xb0000
push 0x4d8340
lea ecx, [ebp - 0x44]
push ecx
call sub.MSVCRT.dll__CxxThrowException
push 1
mov dl, byte [esi + 0xf2]
push edx
mov al, byte [esi + 0xec]
push eax
mov ecx, esi
call fcn.0041db50
mov ecx, esi
call fcn.0041f5f0
mov ecx, esi
call fcn.0041f690
push 0
mov cl, byte [esi + 0xf2]
push ecx
push 1
mov ecx, esi
call fcn.0041db50
push edi
mov edx, dword [esi + 8]
mov al, byte [edx + 0xa1]
and al, 0xf
push eax
mov ecx, esi
call fcn.0041e3a0
mov byte [esi + 0x10270], al
mov ecx, esi
call fcn.0041dd80
mov al, byte [esi + 0xec]
test al, al
je 0x41f22d
mov ecx, dword [esi + 8]
mov dl, byte [ecx + 0xa1]
and dl, 0xf0
cmp dl, 0x30
je 0x41f22d
cmp byte [esi + 0x138], 2
jne 0x41f250
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x5c]
test ecx, ecx
jne 0x41f250
cmp byte [esi + 0x24], 0x82
jne 0x41f246
cmp byte [esi + 0x156], 1
je 0x41f250
push ebx
mov ecx, esi
call fcn.0041e830
jmp 0x41f257
mov ecx, esi
call fcn.0041e600
mov al, byte [esi + 0x156]
cmp al, 8
jne 0x41f26b
push ebx
mov ecx, esi
call fcn.00422600
jmp 0x41f2e7
cmp byte [esi + 0x24], 0x82
jne 0x41f27f
cmp al, 1
jne 0x41f27f
push ebx
mov ecx, esi
call fcn.00422600
jmp 0x41f2e7
mov al, byte [esi + 0xec]
test al, al
je 0x41f292
cmp byte [esi + 0x138], 2
jne 0x41f2a6
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 0x5c]
test eax, eax
jne 0x41f2a6
push ebx
mov ecx, esi
call fcn.00422aa0
jmp 0x41f2e7
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x5c]
test ecx, ecx
jne 0x41f2df
mov al, byte [eax + 0xa1]
and eax, 0xf0
cmp eax, 0x10
je 0x41f2df
cmp eax, 0x20
je 0x41f261
cmp eax, 0x30
je 0x41f29c
mov dword [ebp - 0x48], 0xb0000
push 0x4d8340
lea edx, [ebp - 0x48]
push edx
call sub.MSVCRT.dll__CxxThrowException
push ebx
mov ecx, esi
call fcn.00422070
mov eax, dword [esi + 8]
mov cl, byte [eax + 0xa0]
test cl, cl
jne 0x41f300
mov al, byte [eax + 0xa1]
and al, 0xf0
cmp al, 0x40
je 0x41f33e
push ebx
mov ecx, esi
call fcn.00425c60
mov dword [ebp - 0x30], 0
mov ecx, dword [0x4e5bb8]
push ecx
push 0
push str.WIBBT
push str.DEBUG
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x41f33e
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x41f33e
push ebx
mov ecx, esi
call fcn.004232c0
mov dword [ebp - 4], 0xffffffff
call fcn.0041f363
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret