Function at 0x1003dac0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10090ee7
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x100af4a8]
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 eax, dword [ebp + 8]
mov edi, 0x80004005
mov esi, dword [ebp + 0xc]
push 0x24c
mov dword [ebp - 0x26c], eax
lea eax, [ebp - 0x25c]
push 0
push eax
mov dword [ebp - 0x260], 0
call fcn.100583b0
add esp, 0xc
lea ecx, [ebp - 0x268]
push esi
call fcn.10001aaf
mov dword [ebp - 4], 0
call fcn.10003d87
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x1003db4a
push edi
call fcn.1000118b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x270], eax
push 1
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x268]
call fcn.10001fbe
mov ecx, 0x100993c4
mov eax, dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1003db9d
test dx, dx
je 0x1003db99
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1003db9d
add eax, 4
add ecx, 4
test dx, dx
jne 0x1003db77
xor eax, eax
jmp 0x1003dba2
sbb eax, eax
or eax, 1
mov edx, dword [ebp - 0x264]
test eax, eax
setne bl
add edx, 0xfffffff0
or eax, 0xffffffff
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x1003dbc7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x1003dbdd
push 1
push 0x100993c4
lea ecx, [ebp - 0x268]
call fcn.100035ee
push 0x100995b0
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.1000287e
add esp, 0xc
push eax
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 2
call fcn.100010c8
mov edx, dword [ebp - 0x264]
or ebx, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 1
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1003dc2e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x270]
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x264], eax
cmp eax, 0xffffffff
je 0x1003dda2
mov edi, eax
jmp 0x1003dc60
mov ecx, 0x10099508
lea eax, [ebp - 0x234]
jmp 0x1003dc70
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1003dc96
test dx, dx
je 0x1003dc92
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1003dc96
add eax, 4
add ecx, 4
test dx, dx
jne 0x1003dc70
xor eax, eax
jmp 0x1003dc9b
sbb eax, eax
or eax, 1
test eax, eax
je 0x1003dd7c
mov eax, 0x10098668
lea ecx, [ebp - 0x234]
mov edi, edi
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x1003dcd6
test dx, dx
je 0x1003dcd2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x1003dcd6
add ecx, 4
add eax, 4
test dx, dx
jne 0x1003dcb0
xor eax, eax
jmp 0x1003dcdb
sbb eax, eax
or eax, 1
test eax, eax
je 0x1003dd7c
mov eax, dword [ebp - 0x260]
test al, 2
jne 0x1003dd7c
test al, 0x10
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x268]
push eax
je 0x1003dd2c
lea eax, [ebp - 0x278]
push eax
call fcn.1000287e
add esp, 0xc
mov edx, dword [ebp - 0x26c]
push dword [eax]
mov byte [ebp - 4], 3
push edx
mov ecx, dword [edx]
call dword [ecx + 8]
mov edx, dword [ebp - 0x278]
jmp 0x1003dd53
lea eax, [ebp - 0x274]
push eax
call fcn.1000287e
add esp, 0xc
mov edx, dword [ebp - 0x26c]
push dword [eax]
mov byte [ebp - 4], 4
push edx
mov ecx, dword [edx]
call dword [ecx + 4]
mov edx, dword [ebp - 0x274]
add edx, 0xfffffff0
mov byte [ebp - 4], 1
mov edi, eax
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1003dd72
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
jne 0x1003dd9d
mov edi, dword [ebp - 0x264]
lea eax, [ebp - 0x260]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1003dc60
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor edi, edi
jmp 0x1003dda2
mov edi, 0x80004005
add esi, 0xfffffff0
mov byte [ebp - 4], 0
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1003ddbf
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x268]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x1003dde3
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
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.100567ed
mov esp, ebp
pop ebp
ret 8