Function at 0x1003b680
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100958a2
mov eax, dword fs:[0]
push eax
sub esp, 0x4dc
mov eax, dword [0x100bc06c]
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 dword [ebp - 4], 0
lea ecx, [ebp - 0x4e0]
mov dword [ebp - 0x18], 0
call fcn.10027940
push 0x100ab298
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.1001fff0
add esp, 4
mov byte [ebp - 4], 3
or ebx, 0xffffffff
mov ecx, dword [ebp - 0x4e0]
mov eax, ebx
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x1003b70d
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100993c0]
mov ecx, edi
call esi
push 0x100aa678
lea ecx, [ebp - 0x4c0]
call fcn.100097c0
push 0x100aa678
lea ecx, [ebp - 0x4bc]
mov byte [ebp - 4], 4
call fcn.100097c0
lea eax, [ebp - 0x4bc]
mov byte [ebp - 4], 5
push eax
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x4d4]
call fcn.10020100
lea ecx, [ebp + 8]
mov byte [ebp - 4], 6
push ecx
mov edx, eax
lea ecx, [ebp - 0x4d0]
call fcn.10020100
lea ecx, [ebp - 0x4c0]
mov byte [ebp - 4], 7
push ecx
mov edx, eax
lea ecx, [ebp - 0x4c8]
call fcn.10020100
add esp, 0xc
lea ecx, [ebp - 0x268]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, dword [ebp - 0x4c8]
mov ecx, ebx
mov dword [ebp - 0x4c4], eax
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x1003b7b8
mov edi, dword [edx]
push edx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100993c0]
mov ecx, edi
call esi
mov byte [ebp - 4], 6
mov eax, ebx
mov ecx, dword [ebp - 0x4d0]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x1003b7e5
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100993c0]
mov ecx, edi
call esi
mov byte [ebp - 4], 5
mov eax, ebx
mov ecx, dword [ebp - 0x4d4]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x1003b812
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100993c0]
mov ecx, edi
call esi
mov byte [ebp - 4], 4
mov eax, ebx
mov ecx, dword [ebp - 0x4bc]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x1003b83f
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100993c0]
mov ecx, edi
call esi
mov byte [ebp - 4], 3
mov eax, ebx
mov ecx, dword [ebp - 0x4c0]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x1003b86c
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100993c0]
mov ecx, edi
call esi
cmp dword [ebp - 0x4c4], 0xffffffff
je 0x1003b980
nop dword [eax]
push ecx
mov edi, esp
mov dword [ebp - 0x4dc], esp
mov dword [ebp - 0x4e4], edi
call fcn.10002ff0
mov dword [ebp - 0x4cc], eax
test eax, eax
je 0x1003bcdb
mov ecx, dword [eax]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x100993c0]
mov ecx, dword [ebp - 0x4cc]
call esi
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x23c]
mov byte [ebp - 4], 8
push eax
mov ecx, edi
call fcn.10004620
test al, al
jne 0x1003b8fe
lea ecx, [ebp - 0x23c]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003b8e0
sub ecx, edx
lea eax, [ebp - 0x23c]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.10005050
push ecx
mov byte [ebp - 4], 9
mov esi, esp
mov dword [ebp - 0x4cc], esi
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.1000bff0
add eax, 0x10
lea ecx, [ebp - 0x4d8]
mov dword [esi], eax
mov byte [ebp - 4], 3
call fcn.1003b5c0
push dword [eax]
call fcn.100762fb
mov ecx, dword [ebp - 0x4d8]
add esp, 0xc
add ecx, 0xfffffff0
mov eax, ebx
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x1003b95d
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100993c0]
mov ecx, edi
call esi
mov esi, dword [ebp - 0x4c4]
lea eax, [ebp - 0x268]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1003b880
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x4d8]
mov dword [ebp - 0x14], 0
call fcn.10027a80
push 0x100ab298
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x14]
call fcn.1001fff0
add esp, 4
mov byte [ebp - 4], 0xc
mov eax, ebx
mov ecx, dword [ebp - 0x4d8]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x1003b9d5
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100993c0]
mov ecx, edi
call esi
push 0x100aa678
lea ecx, [ebp - 0x4c0]
call fcn.100097c0
push 0x100aa678
lea ecx, [ebp - 0x4c4]
mov byte [ebp - 4], 0xd
call fcn.100097c0
lea eax, [ebp - 0x4c4]
mov byte [ebp - 4], 0xe
push eax
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x4d0]
call fcn.10020100
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xf
push ecx
mov edx, eax
lea ecx, [ebp - 0x4d4]
call fcn.10020100
lea ecx, [ebp - 0x4c0]
mov byte [ebp - 4], 0x10
push ecx
mov edx, eax
lea ecx, [ebp - 0x4cc]
call fcn.10020100
add esp, 0xc
lea ecx, [ebp - 0x4b8]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, dword [ebp - 0x4cc]
mov ecx, ebx
mov dword [ebp - 0x4bc], eax
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x1003ba80
mov edi, dword [edx]
push edx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100993c0]
mov ecx, edi
call esi
mov byte [ebp - 4], 0xf
mov eax, ebx
mov ecx, dword [ebp - 0x4d4]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x1003baad
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100993c0]
mov ecx, edi
call esi
mov byte [ebp - 4], 0xe
mov eax, ebx
mov ecx, dword [ebp - 0x4d0]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x1003bada
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100993c0]
mov ecx, edi
call esi
mov byte [ebp - 4], 0xd
mov eax, ebx
mov ecx, dword [ebp - 0x4c4]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x1003bb07
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100993c0]
mov ecx, edi
call esi
mov byte [ebp - 4], 0xc
mov eax, ebx
mov ecx, dword [ebp - 0x4c0]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x1003bb34
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100993c0]
mov ecx, edi
call esi
cmp dword [ebp - 0x4bc], 0xffffffff
je 0x1003bc40
push ecx
mov edi, esp
mov dword [ebp - 0x4e4], esp
mov dword [ebp - 0x4e8], edi
call fcn.10002ff0
mov dword [ebp - 0x4c8], eax
test eax, eax
je 0x1003bcdb
mov ecx, dword [eax]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x100993c0]
mov ecx, dword [ebp - 0x4c8]
call esi
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x48c]
mov byte [ebp - 4], 0x11
push eax
mov ecx, edi
call fcn.10004620
test al, al
jne 0x1003bbbe
lea eax, [ebp - 0x48c]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1003bba0
sub eax, edx
mov ecx, edi
sar eax, 1
push eax
lea eax, [ebp - 0x48c]
push eax
call fcn.10005050
push ecx
mov byte [ebp - 4], 0x12
mov esi, esp
mov dword [ebp - 0x4c8], esi
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.1000bff0
add eax, 0x10
lea ecx, [ebp - 0x4dc]
mov dword [esi], eax
mov byte [ebp - 4], 0xc
call fcn.1003b5c0
push dword [eax]
call fcn.100762fb
mov ecx, dword [ebp - 0x4dc]
add esp, 0xc
add ecx, 0xfffffff0
mov eax, ebx
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x1003bc1d
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100993c0]
mov ecx, edi
call esi
mov esi, dword [ebp - 0x4bc]
lea eax, [ebp - 0x4b8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1003bb41
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 3
mov eax, ebx
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x1003bc6a
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100993c0]
mov ecx, edi
call esi
mov byte [ebp - 4], 0
mov eax, ebx
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x1003bc94
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100993c0]
mov ecx, edi
call esi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1003bcbf
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100993c0]
mov ecx, edi
call esi
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.1005540b
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10002d90
int3