Function at 0x1003e910
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10097fe2
mov eax, dword fs:[0]
push eax
sub esp, 0x4dc
mov eax, dword [0x100c006c]
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.1002bb30
push 0x100ae478
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.10020a90
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 0x1003e99d
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x1009c3c4]
mov ecx, edi
call esi
push 0x100ad708
lea ecx, [ebp - 0x4c0]
call fcn.10009810
push 0x100ad708
lea ecx, [ebp - 0x4bc]
mov byte [ebp - 4], 4
call fcn.10009810
lea eax, [ebp - 0x4bc]
mov byte [ebp - 4], 5
push eax
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x4d4]
call fcn.10020ba0
lea ecx, [ebp + 8]
mov byte [ebp - 4], 6
push ecx
mov edx, eax
lea ecx, [ebp - 0x4d0]
call fcn.10020ba0
lea ecx, [ebp - 0x4c0]
mov byte [ebp - 4], 7
push ecx
mov edx, eax
lea ecx, [ebp - 0x4c8]
call fcn.10020ba0
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 0x1003ea48
mov edi, dword [edx]
push edx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x1009c3c4]
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 0x1003ea75
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x1009c3c4]
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 0x1003eaa2
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x1009c3c4]
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 0x1003eacf
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x1009c3c4]
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 0x1003eafc
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x1009c3c4]
mov ecx, edi
call esi
cmp dword [ebp - 0x4c4], 0xffffffff
je 0x1003ec10
nop dword [eax]
push ecx
mov edi, esp
mov dword [ebp - 0x4dc], esp
mov dword [ebp - 0x4e4], edi
call fcn.10003080
mov dword [ebp - 0x4cc], eax
test eax, eax
je 0x1003ef6b
mov ecx, dword [eax]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x1009c3c4]
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.100046b0
test al, al
jne 0x1003eb8e
lea ecx, [ebp - 0x23c]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003eb70
sub ecx, edx
lea eax, [ebp - 0x23c]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.100050e0
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.1000c040
add eax, 0x10
lea ecx, [ebp - 0x4d8]
mov dword [esi], eax
mov byte [ebp - 4], 3
call fcn.1003e850
push dword [eax]
call fcn.1007860b
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 0x1003ebed
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x1009c3c4]
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 0x1003eb10
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x4d8]
mov dword [ebp - 0x14], 0
call fcn.1002bc70
push 0x100ae478
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x14]
call fcn.10020a90
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 0x1003ec65
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x1009c3c4]
mov ecx, edi
call esi
push 0x100ad708
lea ecx, [ebp - 0x4c0]
call fcn.10009810
push 0x100ad708
lea ecx, [ebp - 0x4c4]
mov byte [ebp - 4], 0xd
call fcn.10009810
lea eax, [ebp - 0x4c4]
mov byte [ebp - 4], 0xe
push eax
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x4d0]
call fcn.10020ba0
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xf
push ecx
mov edx, eax
lea ecx, [ebp - 0x4d4]
call fcn.10020ba0
lea ecx, [ebp - 0x4c0]
mov byte [ebp - 4], 0x10
push ecx
mov edx, eax
lea ecx, [ebp - 0x4cc]
call fcn.10020ba0
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 0x1003ed10
mov edi, dword [edx]
push edx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x1009c3c4]
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 0x1003ed3d
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x1009c3c4]
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 0x1003ed6a
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x1009c3c4]
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 0x1003ed97
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x1009c3c4]
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 0x1003edc4
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x1009c3c4]
mov ecx, edi
call esi
cmp dword [ebp - 0x4bc], 0xffffffff
je 0x1003eed0
push ecx
mov edi, esp
mov dword [ebp - 0x4e4], esp
mov dword [ebp - 0x4e8], edi
call fcn.10003080
mov dword [ebp - 0x4c8], eax
test eax, eax
je 0x1003ef6b
mov ecx, dword [eax]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x1009c3c4]
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.100046b0
test al, al
jne 0x1003ee4e
lea eax, [ebp - 0x48c]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1003ee30
sub eax, edx
mov ecx, edi
sar eax, 1
push eax
lea eax, [ebp - 0x48c]
push eax
call fcn.100050e0
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.1000c040
add eax, 0x10
lea ecx, [ebp - 0x4dc]
mov dword [esi], eax
mov byte [ebp - 4], 0xc
call fcn.1003e850
push dword [eax]
call fcn.1007860b
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 0x1003eead
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x1009c3c4]
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 0x1003edd1
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 0x1003eefa
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x1009c3c4]
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 0x1003ef24
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x1009c3c4]
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 0x1003ef4f
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x1009c3c4]
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.1005771b
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10002e30
int3