Function at 0x1001965f
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
sub esp, 0x450
lea ebp, [esp - 4]
mov eax, dword [0x10071ef0]
xor eax, ebp
mov dword [ebp + 0x450], eax
push 0x24
mov eax, 0x1004185b
call fcn.1003e819
mov esi, ecx
lea ecx, [esi + 0x24]
mov dword [ebp - 0x28], esi
call fcn.10017b4b
push dword [0x1008271c]
call fcn.10005577
pop ecx
lea edi, [esi + 0x38]
push eax
mov ecx, edi
call fcn.100023d9
push str.Lang_
mov ecx, edi
call fcn.10006250
xor ebx, ebx
mov dword [ebp - 0x14], ebx
push 0x10046f80
lea eax, [ebp - 0x30]
push edi
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], ebx
call fcn.10004f0e
mov eax, dword [eax]
add esp, 0xc
lea ecx, [ebp]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
mov dword [ebp - 0x1c], eax
call fcn.1000167f
xor eax, eax
cmp dword [ebp - 0x1c], eax
je 0x10019885
push 0x1fe
push eax
mov word [ebp + 0x250], ax
lea eax, [ebp + 0x252]
push eax
call sub.MSVCR80.dll_memset
xor eax, eax
add esp, 0xc
mov byte [ebp - 4], 1
inc eax
test eax, eax
je 0x10019879
lea eax, [ebp + 0x2c]
push eax
lea eax, [esi + 0x38]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.10004f0e
mov eax, dword [eax]
add esp, 0xc
push 2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
mov edi, eax
call fcn.1000167f
test edi, edi
je 0x1001985e
push pe_nt_image_headers32
lea eax, [ebp + 0x250]
push eax
push 0x1b58
push edi
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x10019853
lea eax, [ebp + 0x250]
push eax
mov ecx, esi
call fcn.10018e70
push pe_nt_image_headers32
mov ebx, eax
lea eax, [ebp + 0x250]
push eax
push 0x1b59
push edi
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x10019853
lea eax, [ebp + 0x250]
push eax
lea ecx, [ebp - 0x24]
call fcn.10002f76
and word [ebp + 0x250], 0
push pe_nt_image_headers32
lea eax, [ebp + 0x250]
push eax
push 0x1b5a
push edi
mov byte [ebp - 4], 2
call dword [sym.imp.USER32.dll_LoadStringW]
lea ecx, [ebp - 0x24]
call fcn.10003da6
lea ecx, [ebp + 0x2c]
push ecx
lea ecx, [ebp + 0x250]
push ecx
push eax
push ebx
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call fcn.10019585
cmp ebx, 0x409
jne 0x1001981b
mov ecx, dword [ebp - 0x18]
lea eax, [esi + 0x3c]
mov dword [esi + 0x34], edi
cmp dword [eax], ecx
je 0x10019816
push ecx
push eax
call fcn.10001582
mov dword [esi + 0x40], edi
jmp 0x10019835
cmp ebx, dword [esi + 0x44]
jne 0x10019837
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], eax
je 0x10019832
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10001582
mov dword [ebp - 0x20], edi
xor edi, edi
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10019844
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.1000167f
test edi, edi
je 0x1001985e
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x10019719
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [ebp - 0x14]
cmp dword [esi + 0x44], 0
je 0x100198a3
mov edi, dword [ebp - 0x20]
test edi, edi
je 0x100198a3
lea eax, [esi + 0x3c]
cmp dword [eax], ebx
je 0x100198a0
push ebx
push eax
call fcn.10001582
mov dword [esi + 0x40], edi
or dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x100198b1
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x450]
xor ecx, ebp
call fcn.1003e70b
add ebp, 0x454
leave
ret