Function at 0x100083c2
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x1005349e
call fcn.10051f40
sub esp, 0x300
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
lea ecx, [ebp - 0x9c]
call fcn.10001fd4
or dword [ebp - 0x18], 0xffffffff
mov byte [ebx], 0
and dword [ebp - 4], 0
add ebx, 4
mov ecx, ebx
call fcn.1000423b
push ecx
mov ecx, ebx
call fcn.100042d6
test al, al
je 0x10008788
sub esp, 0x18
mov esi, esp
lea eax, [ebp + 0x50]
push eax
push 0x10070ea8
lea edx, [ebp + 0x38]
lea ecx, [ebp - 0x6c]
call fcn.10002845
pop ecx
mov edx, eax
mov ecx, esi
call fcn.10002821
pop ecx
push 0x64
mov ecx, ebx
call fcn.100044b2
mov esi, eax
lea ecx, [ebp - 0x6c]
call fcn.10001f0f
cmp esi, 0xffffffff
je 0x100087e8
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp + 0x20]
call fcn.10008cb7
mov edi, eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp + 0x20]
call fcn.10008c7f
mov esi, eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp + 0x20]
call fcn.10008cb7
push dword [edi]
push dword [esi]
push dword [eax]
lea ecx, [ebp - 0x3c]
call fcn.10008dce
add esp, 0xc
lea eax, [ebp - 0x304]
push eax
push 0x10061dec
lea edx, [ebp + 8]
lea ecx, [ebp - 0x6c]
call fcn.10007f23
pop ecx
mov ecx, eax
call fcn.10001e24
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov dword [ebp - 0x18], edi
lea ecx, [ebp - 0x6c]
call fcn.10001e30
cmp edi, 0xffffffff
jne 0x100084f1
sub esp, 0x18
mov ecx, esp
push 0x10061c24
call fcn.10001f8b
push 0x65
mov ecx, ebx
call fcn.100044b2
mov ecx, ebx
call fcn.10004816
mov dword [ebp - 0x24], 2
push 0x1006a7a0
lea eax, [ebp - 0x24]
jmp 0x100087fe
lea eax, [ebp - 0x304]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x10008743
mov esi, dword [ebp - 0x1c]
cmp byte [esi], 0
je 0x10008522
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, ebx
call fcn.10004816
jmp 0x100087ac
test byte [ebp - 0x304], 0x10
je 0x1000862f
mov ecx, 0x10061d28
lea eax, [ebp - 0x2d8]
push 4
pop edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10008561
test dx, dx
je 0x1000855d
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10008561
add eax, edi
add ecx, edi
test dx, dx
jne 0x1000853d
xor eax, eax
jmp 0x10008566
sbb eax, eax
or eax, 1
test eax, eax
je 0x1000862f
mov ecx, 0x10061e10
lea eax, [ebp - 0x2d8]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1000859d
test dx, dx
je 0x10008599
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1000859d
add eax, edi
add ecx, edi
test dx, dx
jne 0x10008579
xor eax, eax
jmp 0x100085a2
sbb eax, eax
or eax, 1
test eax, eax
je 0x1000862f
push 0x10061e0c
lea eax, [ebp - 0x2d8]
push eax
lea ecx, [ebp - 0x54]
call fcn.10003b7e
push eax
lea edx, [ebp + 8]
lea ecx, [ebp - 0xb4]
call fcn.10007fe1
pop ecx
mov edx, eax
lea ecx, [ebp - 0x6c]
call fcn.10002936
pop ecx
lea ecx, [ebp - 0xb4]
call fcn.10001e30
lea ecx, [ebp - 0x54]
call fcn.10001e30
sub esp, 0x18
mov ecx, esp
lea eax, [ebp + 0x20]
push eax
call fcn.10007c8e
sub esp, 0x18
mov ecx, esp
lea eax, [ebp - 0x6c]
push eax
call fcn.10007c8e
mov ecx, esi
call fcn.10008805
test al, al
jne 0x10008627
mov dword [ebp - 0x28], 3
push 0x1006a7a0
lea eax, [ebp - 0x28]
jmp 0x100087fe
lea ecx, [ebp - 0x6c]
call fcn.10001e30
lea eax, [ebp - 0x2d8]
push eax
lea ecx, [ebp - 0x84]
call fcn.10003b7e
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x84]
call fcn.10008cb7
mov edi, eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x84]
call fcn.10008c7f
mov esi, eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x84]
call fcn.10008cb7
push dword [edi]
push dword [esi]
push dword [eax]
lea ecx, [ebp - 0x30]
call fcn.10008dce
add esp, 0xc
push 0
lea eax, [ebp + 0x20]
push eax
lea ecx, [ebp - 0x84]
call fcn.10008c45
cmp eax, 0xffffffff
je 0x10008730
push 0x250
lea eax, [ebp - 0x304]
push eax
lea ecx, [ebp - 0x54]
call fcn.10001fae
push eax
lea ecx, [ebp - 0x9c]
call fcn.10001f14
lea ecx, [ebp - 0x54]
call fcn.10001f0f
sub esp, 0x18
mov esi, esp
lea eax, [ebp - 0x9c]
push eax
push 0x10070ea8
lea edx, [ebp + 8]
lea ecx, [ebp - 0xb4]
call fcn.10018b1c
mov edx, eax
lea ecx, [ebp - 0x54]
call fcn.10002821
pop ecx
mov edx, eax
mov ecx, esi
call fcn.10002821
pop ecx
push 0x66
mov ecx, ebx
call fcn.100044b2
mov esi, eax
lea ecx, [ebp - 0x54]
call fcn.10001f0f
lea ecx, [ebp - 0xb4]
call fcn.10001f0f
cmp esi, 0xffffffff
jne 0x10008730
mov dword [ebp - 0x2c], 4
push 0x1006a7a0
lea eax, [ebp - 0x2c]
jmp 0x100087fe
lea ecx, [ebp - 0x84]
call fcn.10001e30
mov edi, dword [ebp - 0x18]
jmp 0x100084f1
or dword [ebp - 4], 0xffffffff
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
sub esp, 0x18
mov esi, esp
lea eax, [ebp + 0x50]
push eax
push 0x10070ea8
lea edx, [ebp + 0x38]
lea ecx, [ebp - 0x54]
call fcn.10002845
pop ecx
mov edx, eax
mov ecx, esi
call fcn.10002821
pop ecx
push 0x67
mov ecx, ebx
call fcn.100044b2
lea ecx, [ebp - 0x54]
call fcn.10001f0f
jmp 0x10008516
push 0
push 0
jmp 0x100087ff
lea ecx, [ebp - 0x9c]
call fcn.10001f0f
lea ecx, [ebp + 8]
call fcn.10001e30
lea ecx, [ebp + 0x20]
call fcn.10001e30
lea ecx, [ebp + 0x38]
call fcn.10001f0f
lea ecx, [ebp + 0x50]
call fcn.10001f0f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0x60
mov ecx, ebx
call fcn.10004816
mov dword [ebp - 0x20], 1
push 0x1006a7a0
lea eax, [ebp - 0x20]
push eax
call fcn.1003328a
int3