Function at 0x422272
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
sub esp, 0x684
lea ebp, [esp - 4]
mov eax, dword [0x59d680]
xor eax, ebp
mov dword [ebp + 0x684], eax
push 0x54
mov eax, 0x5384f6
call fcn.0044fa84
mov esi, ecx
lea edi, [esi + 0x504]
mov ecx, edi
mov dword [ebp - 0x28], esi
call fcn.0042207e
xor ebx, ebx
cmp dword [esi + 0x65c], ebx
je 0x42260d
mov esi, dword [esi + 0x65c]
lea ecx, [esi + 0x4b4]
mov eax, dword [ecx]
call dword [eax + 0x20]
call fcn.00402f04
mov ecx, eax
call fcn.0040ce88
push eax
lea ecx, [ebp - 0x20]
call fcn.00403c1d
push str..ini
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], ebx
call fcn.00414c46
push 0x250
lea eax, [ebp + 0x210]
push ebx
push eax
call fcn.0044fd00
add esp, 0xc
lea eax, [ebp + 0x210]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4224d0
push 0x206
lea eax, [ebp + 0x47e]
push ebx
push eax
mov word [ebp + 0x47c], bx
call fcn.0044fd00
add esp, 0xc
call fcn.00435023
push eax
lea ecx, [ebp - 0x10]
call fcn.0040345a
mov byte [ebp - 4], 1
call fcn.00402f04
mov ecx, eax
call fcn.0040ce88
push eax
lea eax, [ebp + 0x47c]
push eax
call fcn.00450242
lea eax, [ebp + 0x23c]
push eax
lea eax, [ebp + 0x47c]
push eax
call fcn.00450218
add esp, 0x10
lea eax, [ebp + 0x23c]
push eax
lea ecx, [ebp - 0x10]
call fcn.00403863
push 0x2e
lea ecx, [ebp - 0x10]
call fcn.00414964
push eax
push ebx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.00414acb
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00404db6
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.00402fff
lea eax, [ebp + 0x47c]
push eax
lea ecx, [ebp]
call fcn.0041428e
push str.title
push str.metadata
lea eax, [ebp + 0x460]
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 3
call fcn.0041073c
cmp dword [ebp + 0x474], ebx
mov byte [ebp - 4], 4
je 0x422472
lea eax, [ebp + 0x460]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.0040e24f
pop ecx
pop ecx
cmp dword [eax + 0x18], 8
mov byte [ebp - 4], 5
jb 0x422415
mov eax, dword [eax + 4]
jmp 0x422418
add eax, 4
push eax
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x2c], esp
mov ecx, esp
push eax
call fcn.00404d4c
lea eax, [ebp - 0x1c]
push eax
call fcn.0042154d
add esp, 0xc
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call fcn.0042214e
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x44]
push eax
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.00421fb1
lea ecx, [ebp - 0x34]
call fcn.004214ae
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00402fff
push ebx
push 1
lea ecx, [ebp - 0x60]
call fcn.00401376
lea eax, [ebp + 0x210]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, ebx
push ebx
lea ecx, [ebp + 0x460]
push 1
je 0x4224b1
call fcn.0040132b
lea ecx, [ebp]
mov byte [ebp - 4], 1
call fcn.00414309
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00402fff
jmp 0x42231c
call fcn.0040132b
lea ecx, [ebp]
mov byte [ebp - 4], 1
call fcn.00414309
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00402fff
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
call fcn.00404914
mov edx, dword [eax]
push 0xc8
mov ecx, eax
call dword [edx + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 4]
mov eax, dword [eax]
push edi
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x24], ebx
call fcn.00401299
mov eax, dword [edi + 4]
push edi
push eax
jmp 0x4225e6
lea ecx, [ebp - 0x1c]
call fcn.00406fe8
push eax
lea ecx, [ebp - 0x14]
call fcn.00404d4c
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.00406fe8
add eax, 4
push eax
lea ecx, [ebp - 0x2c]
call fcn.00404d4c
push 0x4c8
mov byte [ebp - 4], 9
call fcn.00434315
mov esi, eax
pop ecx
mov dword [ebp - 0x38], esi
cmp esi, ebx
mov byte [ebp - 4], 0xa
je 0x42255c
mov ecx, esi
call dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::CListLabelElementUI::constructor_void_]
mov dword [esi], vtable.DuiLib::CListLabelElementUI.0
jmp 0x42255e
xor esi, esi
push dword [ebp - 0x2c]
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 9
call dword [eax + 0x2c]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x65c]
lea ecx, [eax + 0x4b4]
mov eax, dword [ecx]
push esi
call dword [eax + 0x10]
cmp dword [ebp - 0x10], ebx
je 0x4225be
push dword [ebp - 0x10]
call fcn.0044f427
test eax, eax
pop ecx
jne 0x422597
push ebx
push ebx
jmp 0x4225aa
push dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
call fcn.00414986
test eax, eax
jne 0x4225be
push ebx
push dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x65c]
lea ecx, [eax + 0x4e4]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0x2c]
inc dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00402fff
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00402fff
lea ecx, [ebp - 0x1c]
call fcn.004213cc
push edi
push dword [edi + 4]
lea ecx, [ebp - 0x34]
call fcn.00401299
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041fe07
test al, al
je 0x422507
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00402fff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x684]
xor ecx, ebp
call fcn.0044fa75
add ebp, 0x688
leave
ret