Function at 0x10019bc0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cc390
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x10102f10]
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 ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x27c], ecx
xor ecx, ecx
mov dword [ebp - 0x26c], ecx
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.10008b90
add eax, 0x10
add esp, 4
mov dword [ebp - 0x270], eax
lea ecx, [ebp - 0x270]
mov dword [ebp - 4], 0
call fcn.1001a6a0
mov edi, dword [ebp - 0x270]
or ebx, 0xffffffff
mov esi, dword [edi - 0xc]
test esi, esi
je 0x1001a103
cmp esi, 1
jg 0x10019c5b
lea eax, [edi - 0x10]
push eax
call fcn.10008b90
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x280], esi
jmp 0x10019ccf
mov ecx, dword [edi - 0x10]
test ecx, ecx
je 0x10019c6d
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x10019c7b
call fcn.100093c0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
lea ebx, [edi - 2]
lea ebx, [ebx + esi*2]
test ecx, ecx
je 0x1001a13f
test ebx, ebx
je 0x1001a149
mov eax, dword [ecx]
push 2
push 1
call dword [eax]
test eax, eax
je 0x1001a153
cmp dword [eax + 8], 1
lea esi, [eax + 0x10]
mov dword [ebp - 0x280], esi
jl 0x1001a149
push 1
push ebx
xor eax, eax
mov dword [esi - 0xc], 1
push 1
push esi
mov word [esi + 2], ax
call fcn.10008bf0
add esp, 0x10
mov dword [ebp - 0x26c], 1
mov byte [ebp - 4], 1
mov ecx, 0x100d6128
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10019d0a
test dx, dx
je 0x10019d06
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10019d0a
add eax, 4
add ecx, 4
test dx, dx
jne 0x10019ce4
xor eax, eax
jmp 0x10019d0f
sbb eax, eax
or eax, 1
test eax, eax
je 0x10019def
mov eax, 0x100d88ec
nop dword [eax]
mov cx, word [esi]
cmp cx, word [eax]
jne 0x10019d46
test cx, cx
je 0x10019d42
mov cx, word [esi + 2]
cmp cx, word [eax + 2]
jne 0x10019d46
add esi, 4
add eax, 4
test cx, cx
jne 0x10019d20
xor eax, eax
jmp 0x10019d4b
sbb eax, eax
or eax, 1
test eax, eax
je 0x10019def
mov esi, dword [edi - 0xc]
mov ebx, 0x100d6128
push 1
sub ebx, edi
mov dword [ebp - 0x264], esi
push 0x100d6128
sar ebx, 1
call fcn.100965ac
mov edx, eax
mov ecx, SysReAllocString
sub ecx, edx
mov dword [ebp - 0x274], edx
add esp, 8
cmp ecx, esi
jl 0x1001a158
add esi, edx
js 0x1001a162
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, esi
or eax, ecx
jge 0x10019dbc
push esi
lea ecx, [ebp - 0x270]
call fcn.1000a740
mov edi, dword [ebp - 0x270]
mov edx, dword [ebp - 0x274]
mov eax, dword [ebp - 0x264]
lea ecx, [edi + ebx*2]
cmp ebx, eax
jbe 0x10019dce
mov ecx, 0x100d6128
push edx
push ecx
push edx
lea eax, [edi + eax*2]
push eax
call fcn.10008bf0
add esp, 0x10
cmp esi, dword [edi - 8]
jg 0x1001a149
xor eax, eax
mov dword [edi - 0xc], esi
mov word [edi + esi*2], ax
mov ecx, dword [edi - 0x10]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x10019e05
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x10019e1b
call fcn.100093c0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x1001a16c
mov eax, dword [ecx]
call dword [eax + 0xc]
push 3
push 0x100d88f0
push dword [edi - 0xc]
add eax, 0x10
mov dword [ebp - 0x26c], 3
mov dword [ebp - 0x264], eax
lea eax, [ebp - 0x264]
push edi
push eax
call fcn.10016b20
mov esi, dword [ebp - 0x264]
lea eax, [ebp - 0x260]
add esp, 0x14
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
or ebx, 0xffffffff
mov dword [ebp - 0x274], eax
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov ecx, ebx
lock xadd dword [esi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x10019e8b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x274]
cmp eax, 0xffffffff
je 0x1001a0dd
mov eax, 1
mov dword [ebp - 0x264], eax
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x284], eax
call fcn.100093c0
mov ecx, eax
test ecx, ecx
je 0x1001a13f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x268], eax
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x268]
call fcn.10019a90
test al, al
jne 0x10019f12
lea ecx, [ebp - 0x234]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10019ef0
sub ecx, edx
lea eax, [ebp - 0x234]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x268]
call fcn.1000aeb0
mov esi, dword [ebp - 0x268]
mov ecx, 0x100d88f8
mov eax, esi
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10019f46
test dx, dx
je 0x10019f42
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10019f46
add eax, 4
add ecx, 4
test dx, dx
jne 0x10019f20
xor eax, eax
jmp 0x10019f4b
sbb eax, eax
or eax, 1
test eax, eax
je 0x1001a098
mov ecx, 0x100d88fc
mov eax, esi
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10019f86
test dx, dx
je 0x10019f82
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10019f86
add eax, 4
add ecx, 4
test dx, dx
jne 0x10019f60
xor eax, eax
jmp 0x10019f8b
sbb eax, eax
or eax, 1
test eax, eax
je 0x1001a098
push str..lnk
push esi
call fcn.1009ac3e
add esp, 8
test eax, eax
je 0x1001a098
mov ecx, dword [edi - 0x10]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x10019fbd
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x10019fd1
call fcn.100093c0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
je 0x1001a13f
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
push dword [esi - 0xc]
add eax, 0x10
mov dword [ebp - 0x278], eax
mov eax, dword [ebp - 0x264]
push esi
push dword [edi - 0xc]
or eax, 4
mov dword [ebp - 0x26c], eax
lea eax, [ebp - 0x278]
push edi
push eax
call fcn.10016b20
add esp, 0x14
lea eax, [ebp - 0x278]
lea ecx, [ebp - 0x268]
push eax
call fcn.10019a20
mov eax, dword [ebp - 0x284]
mov edx, dword [ebp - 0x278]
and eax, 0xfffffffb
mov dword [ebp - 0x264], eax
add edx, 0xfffffff0
mov dword [ebp - 0x26c], eax
mov eax, ebx
mov byte [ebp - 4], 4
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001a04f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x27c]
mov ebx, dword [eax + 4]
cmp dword [eax + 8], ebx
je 0x1001a080
mov esi, dword [ebp - 0x268]
lea eax, [esi - 0x10]
push eax
call fcn.10008b90
mov ecx, dword [ebp - 0x27c]
add eax, 0x10
add esp, 4
mov dword [ebx], eax
add dword [ecx + 4], 4
jmp 0x1001a095
lea ecx, [ebp - 0x268]
push ecx
push ebx
mov ecx, eax
call fcn.100197c0
mov esi, dword [ebp - 0x268]
or ebx, 0xffffffff
mov eax, ebx
mov byte [ebp - 4], 1
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1001a0b3
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x274]
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x1001a0d6
mov eax, dword [ebp - 0x264]
jmp 0x10019ea5
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x280]
mov esi, 1
mov byte [ebp - 4], 0
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001a103
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1001a11f
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, 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.10064e61
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.10008920
push 0x80070057
call fcn.10008920
call fcn.1000b520
push 0x80070057
call fcn.10008920
push 0x80070057
call fcn.10008920
push 0x80004005
call fcn.10008920
int3