Function at 0x4c9de0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0xc
mov eax, dword [0x546560]
push ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], eax
mov eax, str.Filter2
push ebp
push esi
push edi
test eax, eax
je 0x4c9e4e
mov ecx, eax
shr ecx, 0x10
jne 0x4c9e15
xor edx, edx
lea ecx, [esp + 0x10]
mov dx, ax
push edx
call fcn.00413c90
jmp 0x4c9e4e
push str.Filter2
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x4c9e4e
push esi
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x4c9e4e
mov edi, dword [esp + 0x10]
lea ecx, [esi + esi]
mov edx, ecx
mov esi, str.Filter2
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x546560]
mov dword [0x55d8f8], 0
mov dword [esp + 0x14], eax
mov ecx, 0x7d00
mov edx, dword [eax - 0xc]
lea ebx, [eax - 0xc]
cmp edx, 1
jg 0x4c9e76
cmp dword [eax - 4], ecx
jge 0x4c9eb7
mov ebp, dword [eax - 8]
cmp ebp, ecx
jle 0x4c9e7f
mov ecx, ebp
push ecx
lea ecx, [esp + 0x18]
call fcn.00405530
test eax, eax
je 0x4c9eb7
mov edi, dword [esp + 0x14]
lea ecx, [ebp + ebp + 2]
mov eax, ecx
lea esi, [ebx + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
mov dword [ecx - 8], ebp
call fcn.00405590
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
test ecx, ecx
jne 0x4c9ec5
mov ecx, dword [0x55ced8]
mov edx, dword [esp + 0x10]
push ecx
push 0x7d00
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
test eax, eax
ja 0x4c9f1e
mov eax, 0x54cbc8
test eax, eax
je 0x4c9eef
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
jmp 0x4c9ef1
xor esi, esi
push esi
lea ecx, [esp + 0x14]
call fcn.00405660
test eax, eax
je 0x4c9f1e
mov ecx, dword [esp + 0x10]
inc esi
push esi
push 0x54cbc8
push ecx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x10]
push 0xffffffffffffffff
call fcn.00405bb0
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
xor esi, esi
push esi
lea edx, [esp + 0x1c]
push 0x547b34
push edx
call fcn.00405cb0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
push 0x553d98
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
call fcn.0048def0
add esp, 0x1c
lea eax, [esp + 0x28]
push 0x55d8f8
push ecx
mov ecx, esp
push eax
call fcn.00405440
mov eax, dword [0x55d8f8]
lea ecx, [eax*8]
sub ecx, eax
lea edx, [ecx*4 + 0x55d510]
push edx
call fcn.004c9450
mov eax, dword [esp + 0x34]
mov edx, dword [0x546564]
add esp, 0xc
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4c9fad
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x4c9fad
mov edx, dword [esp + 0x28]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
inc esi
cmp esi, 0x20
jl 0x4c9f26
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4c9fd2
mov eax, dword [0x55d8f8]
test eax, eax
jne 0x4c9fd2
push 0
call fcn.004c9440
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4c9fdf
call fcn.004c8830
mov eax, dword [esp + 0x14]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4ca00a
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x4ca00a
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4ca035
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x4ca035
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x18]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4ca060
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x4ca060
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret