Function at 0x55fa00
Capabilities:
Enumerate files on windows
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571cc6
mov eax, dword fs:[0]
push eax
sub esp, 0x474
mov eax, dword [0x5cf004]
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, ecx
mov dword [ebp - 0x46c], ebx
call fcn.00407579
xor edx, edx
mov ecx, eax
test ecx, ecx
setne dl
test edx, edx
jne 0x55fa52
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x55fa67
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x55fa69
call edx
add eax, 0x10
mov dword [ebp - 0x464], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x478], 0
call fcn.00407579
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x55fa9f
push 0x80004005
call fcn.004027b0
mov eax, dword [edx]
mov esi, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x55fab4
lock inc dword [edx + 0x14]
lea eax, [edx + 8]
jmp 0x55fab8
mov ecx, edx
call esi
lea esi, [eax + 0x10]
mov dword [ebp - 0x470], esi
mov byte [ebp - 4], 1
call fcn.005613e0
mov ecx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x55fb29
lea eax, [ebx + 0x198]
push eax
push 0x100
lea eax, [ebp - 0x210]
push eax
push str.classic
push 0x5ab7e4
push 0x5ab7f0
call ecx
lea edx, [ebp - 0x210]
lea ecx, [ebx + 0x3ec]
lea edi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x55fb07
sub edx, edi
lea eax, [ebp - 0x210]
sar edx, 1
push edx
push eax
call fcn.004025d0
mov ecx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [ebx + 0x3ec]
cmp dword [eax - 0xc], 0
jne 0x55fb84
lea eax, [ebx + 0x198]
push eax
push 0x100
lea eax, [ebp - 0x210]
push eax
push 0x5ab804
push 0x5ab814
push 0x5ab820
call ecx
lea edx, [ebp - 0x210]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x55fb62
sub edx, ecx
lea eax, [ebp - 0x210]
sar edx, 1
lea ecx, [ebx + 0x3ec]
push edx
push eax
call fcn.004025d0
lea eax, [ebx + 0x198]
push eax
push 0x100
lea eax, [ebp - 0x210]
push eax
push 0x5ab834
push 0x5ab838
push 0x5ab84c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x210]
push eax
push dword [ebx + 0x3b8]
lea eax, [ebp - 0x464]
push 0x5ab860
push eax
call fcn.00402f90
push 0x5ab878
push dword [ebx + 0x3b8]
lea eax, [ebx + 0x17c]
push 0x5ab888
push eax
call fcn.00402f90
add esp, 0x20
lea eax, [ebp - 0x210]
mov ecx, 0x5ab8a0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x55fc1a
test dx, dx
je 0x55fc16
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x55fc1a
add eax, 4
add ecx, 4
test dx, dx
jne 0x55fbf4
xor eax, eax
jmp 0x55fc1f
sbb eax, eax
or eax, 1
test eax, eax
je 0x55fcad
mov edi, dword [ebp - 0x464]
lea eax, [ebp - 0x468]
push 0x5abba0
push edi
push eax
call fcn.00539b1c
add esp, 0xc
test eax, eax
jne 0x55fcad
mov eax, dword [ebp - 0x468]
test eax, eax
je 0x55fcad
push eax
call fcn.00539dc0
lea edx, [ebp - 0x210]
add esp, 4
lea eax, [edx + 2]
lea ecx, [ebx + 0x3f0]
mov dword [ebp - 0x46c], eax
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x55fc70
sub edx, dword [ebp - 0x46c]
lea eax, [ebp - 0x210]
sar edx, 1
push edx
push eax
call fcn.004025d0
lea eax, [ebp - 0x210]
push eax
push dword [ebx + 0x3b8]
lea eax, [ebx + 0x178]
push 0x5ab8a4
jmp 0x55ff6e
mov edi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
call edi
push eax
lea eax, [ebx + 0x3b0]
push str.0x_04X
push eax
call fcn.00402f90
add esp, 0xc
call edi
push dword [ebx + 0x3b8]
and eax, 0x3ff
mov dword [ebp - 0x480], eax
lea eax, [ebp - 0x464]
push 0x5ab8cc
push eax
call fcn.00402f90
mov edi, dword [ebp - 0x464]
lea eax, [ebp - 0x460]
add esp, 0xc
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x468], eax
cmp eax, 0xffffffff
je 0x55ff07
xor eax, eax
nop word [eax + eax]
cmp dword [ebp - 0x460], 0x10
je 0x55fed3
inc eax
mov dword [ebp - 0x478], eax
call fcn.00407579
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x55fa48
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
cmp ecx, vtable.ATL::CAtlStringMgr.0
jne 0x55fd5e
lock inc dword [eax + 0x14]
add eax, 8
jmp 0x55fd62
mov ecx, eax
call edx
add eax, 0x10
mov dword [ebp - 0x474], eax
lea eax, [ebp - 0x434]
mov byte [ebp - 4], 2
push eax
push dword [ebx + 0x3b8]
lea eax, [ebp - 0x474]
push 0x5ab8e0
push eax
call fcn.00402f90
mov esi, dword [ebp - 0x474]
lea eax, [ebp - 0x210]
add esp, 0x10
push esi
push 0x100
push eax
push 0x5ab8ec
push str.LOCALE_ID
push 0x5ab904
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x434]
push 0x2e
push eax
call fcn.00534597
add esp, 8
test eax, eax
je 0x55fdd2
xor ecx, ecx
mov word [eax], cx
push dword [ebx + 0x3b0]
lea eax, [ebp - 0x210]
push eax
call fcn.00534314
add esp, 8
test eax, eax
je 0x55fe41
lea edx, [ebp - 0x434]
lea eax, [edx + 2]
lea ecx, [ebx + 0x3f0]
mov dword [ebp - 0x47c], eax
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x55fe00
sub edx, dword [ebp - 0x47c]
lea eax, [ebp - 0x434]
sar edx, 1
push edx
push eax
call fcn.004025d0
lea eax, [ebp - 0x434]
push eax
push dword [ebx + 0x3b8]
lea eax, [ebx + 0x178]
push 0x5ab918
push eax
call fcn.00402f90
add esp, 0x10
push 0x10
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.0053b648
and eax, 0x3ff
add esp, 0xc
cmp word [ebp - 0x480], ax
jne 0x55fe92
lea ecx, [ebp - 0x434]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x55fe70
sub ecx, edx
lea eax, [ebp - 0x434]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x470]
call fcn.004025d0
mov byte [ebp - 4], 1
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x55fed3
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x55fed1
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x55fed1
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x55fed3
call edx
lea eax, [ebp - 0x460]
push eax
push dword [ebp - 0x468]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x55fefb
mov eax, dword [ebp - 0x478]
cmp eax, 0xff
jle 0x55fd20
mov esi, dword [ebp - 0x470]
mov eax, dword [ebp - 0x468]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebx + 0x3f0]
cmp dword [eax - 0xc], 0
jne 0x55ff77
cmp dword [esi - 0xc], 0
lea ecx, [ebx + 0x3f0]
jne 0x55ff4b
push 7
push str.English
call fcn.004025d0
mov eax, dword [ebp - 0x46c]
push dword [ebx + 0x3f0]
push dword [eax + 0x3b8]
push 0x5ab940
jmp 0x55ff69
lea eax, [ebp - 0x470]
push eax
call fcn.00402700
mov eax, dword [ebp - 0x46c]
push esi
push dword [eax + 0x3b8]
push str._s_s.lang
add eax, 0x178
push eax
call fcn.00402f90
add esp, 0x10
or ebx, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x55ffbc
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x55ffba
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x55ffba
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
push 0
push dword [ecx + 4]
call esi
jmp 0x55ffc2
call edx
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x55ffff
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x55fffd
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x55fffd
push 0
push dword [ecx + 4]
call esi
jmp 0x55ffff
call edx
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.00531d62
mov esp, ebp
pop ebp
ret