Function at 0x1032c01
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x36c
mov ecx, dword [ebp + 0xc]
mov eax, dword [0x1099a38]
push ebx
mov dword [ebp - 0x364], ecx
mov ecx, dword [ebp + 0x10]
push esi
mov dword [ebp - 0x350], ecx
mov ecx, dword [ebp + 0x14]
push edi
mov dword [ebp - 0x368], ecx
lea ecx, [ebp - 0x360]
push ecx
xor edi, edi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push 0x100a65c
push eax
mov dword [ebp - 0x36c], eax
call dword [sym.imp.UPDSPAPI.dll_UpdSpFindFirstLineA]
mov ebx, dword [sym.imp.UPDSPAPI.dll_UpdSpGetLineTextA]
mov esi, 0x104
jmp 0x1032cb3
push esi
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0x10c64c0
call fcn.01070fc9
push edi
lea eax, [ebp - 0x108]
push eax
call fcn.01072521
cmp eax, 0xffffffff
je 0x1032c9e
push 2
push edi
push eax
push dword [ebp - 0x364]
push dword [ebp - 0x368]
call fcn.010626b5
push 1
call fcn.01046c4d
lea eax, [ebp - 0x360]
push eax
push eax
call dword [sym.imp.UPDSPAPI.dll_UpdSpFindNextLine]
test eax, eax
je 0x1032cd0
push edi
push esi
lea eax, [ebp - 0x20c]
push eax
push edi
push edi
lea eax, [ebp - 0x360]
push edi
push eax
call ebx
test eax, eax
jne 0x1032c5e
lea eax, [ebp - 0x360]
push eax
push edi
push 0x100a644
push dword [ebp - 0x36c]
call dword [sym.imp.UPDSPAPI.dll_UpdSpFindFirstLineA]
jmp 0x1032d59
push esi
lea eax, [ebp - 0x108]
push eax
push 0x100a63c
push 0x10c64c0
call fcn.01070fc9
push esi
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.01070fc9
push edi
lea eax, [ebp - 0x108]
push eax
call fcn.01072521
cmp eax, 0xffffffff
je 0x1032d44
push 2
push edi
push eax
push dword [ebp - 0x364]
push dword [ebp - 0x368]
call fcn.010626b5
push 1
call fcn.01046c4d
lea eax, [ebp - 0x360]
push eax
push eax
call dword [sym.imp.UPDSPAPI.dll_UpdSpFindNextLine]
test eax, eax
je 0x1032d7a
push edi
push esi
lea eax, [ebp - 0x20c]
push eax
push edi
push edi
lea eax, [ebp - 0x360]
push edi
push eax
call ebx
test eax, eax
jne 0x1032ceb
lea eax, [ebp - 0x360]
push eax
push edi
push 0x100a624
push dword [ebp - 0x36c]
call dword [sym.imp.UPDSPAPI.dll_UpdSpFindFirstLineA]
jmp 0x1032deb
push esi
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x350]
call fcn.01070fc9
push edi
lea eax, [ebp - 0x108]
push eax
call fcn.01072521
cmp eax, 0xffffffff
je 0x1032dd6
push 2
push edi
push eax
push dword [ebp - 0x364]
push dword [ebp - 0x368]
call fcn.010626b5
push 1
call fcn.01046c4d
lea eax, [ebp - 0x360]
push eax
push eax
call dword [sym.imp.UPDSPAPI.dll_UpdSpFindNextLine]
test eax, eax
je 0x1032e08
push edi
push esi
lea eax, [ebp - 0x20c]
push eax
push edi
push edi
lea eax, [ebp - 0x360]
push edi
push eax
call ebx
test eax, eax
jne 0x1032d95
lea eax, [ebp - 0x360]
push eax
push edi
push 0x100a60c
push dword [ebp - 0x36c]
call dword [sym.imp.UPDSPAPI.dll_UpdSpFindFirstLineA]
jmp 0x1032e91
push esi
lea eax, [ebp - 0x108]
push eax
push 0x100a5dc
push 0x10c64c0
call fcn.01070fc9
push esi
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.01070fc9
push edi
lea eax, [ebp - 0x108]
push eax
call fcn.01072521
cmp eax, 0xffffffff
je 0x1032e7c
push 2
push edi
push eax
push dword [ebp - 0x364]
push dword [ebp - 0x368]
call fcn.010626b5
push 1
call fcn.01046c4d
lea eax, [ebp - 0x360]
push eax
push eax
call dword [sym.imp.UPDSPAPI.dll_UpdSpFindNextLine]
test eax, eax
je 0x1032eb2
push edi
push esi
lea eax, [ebp - 0x20c]
push eax
push edi
push edi
lea eax, [ebp - 0x360]
push edi
push eax
call ebx
test eax, eax
jne 0x1032e23
mov eax, dword [0x109a064]
cmp eax, edi
mov dword [ebp - 0x350], eax
je 0x1032f99
jmp 0x1032ecd
mov eax, dword [ebp - 0x350]
test byte [eax], 0x60
je 0x1032f85
lea ecx, [ebp - 0x360]
push ecx
push edi
add eax, 4
push eax
push dword [ebp - 0x36c]
call dword [sym.imp.UPDSPAPI.dll_UpdSpFindFirstLineA]
jmp 0x1032f5e
push esi
lea eax, [ebp - 0x108]
push eax
push 0x100a5dc
push 0x10c64c0
call fcn.01070fc9
push esi
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.01070fc9
push edi
lea eax, [ebp - 0x108]
push eax
call fcn.01072521
cmp eax, 0xffffffff
je 0x1032f49
push 2
push edi
push eax
push dword [ebp - 0x364]
push dword [ebp - 0x368]
call fcn.010626b5
push 1
call fcn.01046c4d
lea eax, [ebp - 0x360]
push eax
push eax
call dword [sym.imp.UPDSPAPI.dll_UpdSpFindNextLine]
test eax, eax
je 0x1032f7f
push edi
push esi
lea eax, [ebp - 0x20c]
push eax
push edi
push edi
lea eax, [ebp - 0x360]
push edi
push eax
call ebx
test eax, eax
jne 0x1032ef0
mov eax, dword [ebp - 0x350]
mov eax, dword [eax + 0x220]
cmp eax, edi
mov dword [ebp - 0x350], eax
jne 0x1032ec7
lea eax, [ebp - 0x360]
push eax
push edi
push 0x100a5c8
push dword [ebp - 0x36c]
call dword [sym.imp.UPDSPAPI.dll_UpdSpFindFirstLineA]
jmp 0x1033063
push esi
lea eax, [ebp - 0x108]
push eax
push 0x100a5b8
push 0x10f54c0
call fcn.01070fc9
push esi
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.01070fc9
lea eax, [ebp - 0x34c]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x350], eax
je 0x103304e
test byte [ebp - 0x34c], 0x10
jne 0x103302b
push 2
push edi
push dword [ebp - 0x32c]
push dword [ebp - 0x364]
push dword [ebp - 0x368]
call fcn.010626b5
lea eax, [ebp - 0x34c]
push eax
push dword [ebp - 0x350]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1033008
push dword [ebp - 0x350]
call dword [sym.imp.KERNEL32.dll_FindClose]
push 1
call fcn.01046c4d
lea eax, [ebp - 0x360]
push eax
push eax
call dword [sym.imp.UPDSPAPI.dll_UpdSpFindNextLine]
test eax, eax
je 0x1033084
push edi
push esi
lea eax, [ebp - 0x20c]
push eax
push edi
push edi
lea eax, [ebp - 0x360]
push edi
push eax
call ebx
test eax, eax
jne 0x1032fb7
lea eax, [ebp - 0x360]
push eax
push edi
push 0x100a5a0
push dword [ebp - 0x36c]
call dword [sym.imp.UPDSPAPI.dll_UpdSpFindFirstLineA]
jmp 0x103314e
push esi
lea eax, [ebp - 0x108]
push eax
push 0x100a58c
push 0x10f54c0
call fcn.01070fc9
push esi
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.01070fc9
lea eax, [ebp - 0x34c]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x350], eax
je 0x1033139
test byte [ebp - 0x34c], 0x10
jne 0x1033116
push 2
push edi
push dword [ebp - 0x32c]
push dword [ebp - 0x364]
push dword [ebp - 0x368]
call fcn.010626b5
lea eax, [ebp - 0x34c]
push eax
push dword [ebp - 0x350]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10330f3
push dword [ebp - 0x350]
call dword [sym.imp.KERNEL32.dll_FindClose]
push 1
call fcn.01046c4d
lea eax, [ebp - 0x360]
push eax
push eax
call dword [sym.imp.UPDSPAPI.dll_UpdSpFindNextLine]
test eax, eax
je 0x103316f
push edi
push esi
lea eax, [ebp - 0x20c]
push eax
push edi
push edi
lea eax, [ebp - 0x360]
push edi
push eax
call ebx
test eax, eax
jne 0x10330a2
lea eax, [ebp - 0x360]
push eax
push edi
push 0x100a57c
push dword [ebp - 0x36c]
call dword [sym.imp.UPDSPAPI.dll_UpdSpFindFirstLineA]
jmp 0x1033232
push esi
lea eax, [ebp - 0x108]
push eax
push 0x100a570
push 0x10f54c0
call fcn.01070fc9
push esi
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.01070fc9
lea eax, [ebp - 0x34c]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x350], eax
je 0x1033224
test byte [ebp - 0x34c], 0x10
jne 0x1033201
push 2
push edi
push dword [ebp - 0x32c]
push dword [ebp - 0x364]
push dword [ebp - 0x368]
call fcn.010626b5
lea eax, [ebp - 0x34c]
push eax
push dword [ebp - 0x350]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10331de
push dword [ebp - 0x350]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x360]
push eax
push eax
call dword [sym.imp.UPDSPAPI.dll_UpdSpFindNextLine]
test eax, eax
je 0x1033253
push edi
push esi
lea eax, [ebp - 0x20c]
push eax
push edi
push edi
lea eax, [ebp - 0x360]
push edi
push eax
call ebx
test eax, eax
jne 0x103318d
mov ecx, dword [ebp - 4]
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
call fcn.0106bc50
leave
ret 0x10