Function at 0x1002e290
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102f5489
mov eax, dword fs:[0]
push eax
sub esp, 0x518
mov eax, dword [case.0x100be6e1.80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x51c], ebx
mov dword [ebp - 4], 0
lea eax, [ebp - 0x410]
push 0x400
push 0
push eax
call fcn.10296750
add esp, 0xc
call fcn.100c32b9
mov ecx, eax
test ecx, ecx
je 0x1002e944
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x514], eax
mov byte [ebp - 4], 2
call fcn.100c3b5c
push 0x100
lea ecx, [ebp - 0x510]
push ecx
mov eax, dword [eax + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
call fcn.100c32b9
mov ecx, eax
test ecx, ecx
je 0x1002e94e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x518], eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x510]
push eax
lea ecx, [ebp - 0x518]
call fcn.10003e40
test al, al
jne 0x1002e37c
lea ecx, [ebp - 0x510]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002e360
sub ecx, edx
lea eax, [ebp - 0x510]
push ecx
push eax
lea ecx, [ebp - 0x518]
call fcn.1000aa00
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x518]
push 0x5c
push esi
call fcn.102a1020
mov ecx, eax
add esp, 8
sub ecx, esi
or edi, 0xffffffff
test eax, eax
lea eax, [ebp - 0x520]
cmove ecx, edi
push ecx
push eax
lea ecx, [ebp - 0x518]
call fcn.1000a2f0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x518]
push eax
call fcn.1000c7b0
mov byte [ebp - 4], 4
mov eax, edi
mov edx, dword [ebp - 0x520]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002e3e1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.100c32b9
mov ecx, eax
test ecx, ecx
je 0x1002e958
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x520], eax
mov byte [ebp - 4], 8
lea eax, [ebp - 0x520]
mov edi, dword [ebp - 0x518]
push edi
push str._sGPARAM.ini
push eax
call fcn.10002d90
mov esi, dword [ebp - 0x520]
lea eax, [ebp - 0x410]
add esp, 0xc
push esi
push 0x400
push eax
push 0x1031b50e
push str.FilterNumber
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x410]
push eax
call fcn.102bcab8
add esp, 4
mov dword [ebx], eax
lea eax, [ebp - 0x410]
mov dword [ebx + 0x100], 0
push esi
push 0x400
push eax
push 0x1031b50e
push str.RefFilterIndex
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, dword [ebp - 0x51c]
xor ebx, ebx
add esi, 4
nop dword [eax]
push 0x7c
push ebx
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x514]
push eax
call fcn.100ceba1
test eax, eax
je 0x1002e4ba
push dword [ebp - 0x514]
call fcn.102bcab8
add esp, 4
mov dword [esi], eax
inc ebx
add esi, 4
cmp ebx, 0xa
jl 0x1002e490
mov esi, dword [ebp - 0x520]
lea eax, [ebp - 0x410]
push esi
push 0x400
push eax
push 0x1031b50e
push str.FilterLocationX
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edi, dword [ebp - 0x51c]
xor ebx, ebx
add edi, 0x2c
push 0x7c
push ebx
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x514]
push eax
call fcn.100ceba1
test eax, eax
je 0x1002e51e
push dword [ebp - 0x514]
call fcn.102bcab8
add esp, 4
mov dword [edi], eax
inc ebx
add edi, 4
cmp ebx, 0xa
jl 0x1002e4f4
push esi
push 0x400
lea eax, [ebp - 0x410]
push eax
push 0x1031b50e
push str.FilterLocationY
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, dword [ebp - 0x51c]
xor ebx, ebx
add esi, 0x54
push 0x7c
push ebx
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x514]
push eax
call fcn.100ceba1
test eax, eax
je 0x1002e57c
push dword [ebp - 0x514]
call fcn.102bcab8
add esp, 4
mov dword [esi], eax
inc ebx
add esi, 4
cmp ebx, 0xa
jl 0x1002e552
mov esi, dword [ebp - 0x520]
lea eax, [ebp - 0x410]
push esi
push 0x400
push eax
push 0x1031b50e
push str.CompFilterLocationX
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edi, dword [ebp - 0x51c]
xor ebx, ebx
add edi, 0x7c
push 0x7c
push ebx
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x514]
push eax
call fcn.100ceba1
test eax, eax
je 0x1002e5e0
push dword [ebp - 0x514]
call fcn.102bcab8
add esp, 4
mov dword [edi], eax
inc ebx
add edi, 4
cmp ebx, 0xa
jl 0x1002e5b6
push esi
push 0x400
lea eax, [ebp - 0x410]
push eax
push 0x1031b50e
push str.CompFilterLocationY
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, dword [ebp - 0x51c]
xor ebx, ebx
add esi, 0xa4
push 0x7c
push ebx
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x514]
push eax
call fcn.100ceba1
test eax, eax
je 0x1002e641
push dword [ebp - 0x514]
call fcn.102bcab8
add esp, 4
mov dword [esi], eax
inc ebx
add esi, 4
cmp ebx, 0xa
jl 0x1002e617
mov esi, dword [ebp - 0x520]
lea eax, [ebp - 0x410]
push esi
push 0x400
push eax
push 0x1031b50e
push str.RoiWidth
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edi, dword [ebp - 0x51c]
xor ebx, ebx
add edi, 0xcc
nop
push 0x7c
push ebx
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x514]
push eax
call fcn.100ceba1
test eax, eax
je 0x1002e6aa
push dword [ebp - 0x514]
call fcn.102bcab8
add esp, 4
mov dword [edi], eax
inc ebx
add edi, 4
cmp ebx, 0xa
jl 0x1002e680
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x410]
push esi
push 0x400
push eax
push 0x1031b50e
push str.RawWidth
push dword [ebp + 0xc]
call ebx
lea eax, [ebp - 0x410]
push eax
call fcn.102bcab8
mov edi, dword [ebp - 0x51c]
add esp, 4
push esi
push 0x400
mov dword [edi + 0xf4], eax
lea eax, [ebp - 0x410]
push eax
push 0x1031b50e
push str.RawHeight
push dword [ebp + 0xc]
call ebx
lea eax, [ebp - 0x410]
push eax
call fcn.102bcab8
add esp, 4
mov dword [edi + 0xf8], eax
lea eax, [ebp - 0x410]
push esi
push 0x400
push eax
push 0x1031b50e
push str.DetectRotation
push dword [ebp + 0xc]
call ebx
lea eax, [ebp - 0x410]
push eax
call fcn.102bcab8
add esp, 4
mov dword [edi + 0xfc], eax
lea eax, [ebp - 0x410]
push esi
push 0x400
push eax
push 0x1031b50e
push str.RefFilterNum
push dword [ebp + 0xc]
call ebx
lea eax, [ebp - 0x410]
push eax
call fcn.102bcab8
add esp, 4
mov dword [edi + 0x104], eax
lea eax, [ebp - 0x410]
push esi
push 0x400
push eax
push 0x1031b50e
push str.FilterSize
push dword [ebp + 0xc]
call ebx
xor ebx, ebx
lea esi, [edi + 0x108]
push 0x7c
push ebx
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x514]
push eax
call fcn.100ceba1
test eax, eax
je 0x1002e7da
push dword [ebp - 0x514]
call fcn.102bcab8
add esp, 4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi], xmm0
inc ebx
add esi, 4
cmp ebx, 4
jl 0x1002e7a7
mov esi, dword [ebp - 0x520]
lea eax, [ebp - 0x410]
push esi
push 0x400
push eax
push 0x1031b50e
push str.FilterOrder
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, edi
xor ebx, ebx
add esi, 0x118
push 0x7c
push ebx
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x514]
push eax
call fcn.100ceba1
test eax, eax
je 0x1002e83d
push dword [ebp - 0x514]
call fcn.102bcab8
add esp, 4
mov dword [esi], eax
inc ebx
add esi, 4
cmp ebx, 4
jl 0x1002e813
mov esi, dword [ebp - 0x520]
lea eax, [ebp - 0x410]
push esi
push 0x400
push eax
push 0x1031b50e
push str.FilterType
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xor ebx, ebx
add edi, 0x128
push 0x7c
push ebx
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x514]
push eax
call fcn.100ceba1
test eax, eax
je 0x1002e89e
push dword [ebp - 0x514]
call fcn.102bcab8
add esp, 4
mov dword [edi], eax
inc ebx
add edi, 4
cmp ebx, 4
jl 0x1002e874
mov byte [ebp - 4], 4
or ebx, 0xffffffff
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
mov edi, dword [ebp - 0x518]
test eax, eax
jg 0x1002e8cb
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x1002e8e6
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x514]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002e907
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1002e926
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10291e04
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10002bc0
push 0x80004005
call fcn.10002bc0
push 0x80004005
call fcn.10002bc0
int3