Function at 0x100234e0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011dff8
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x1016e750]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x294], edi
mov dword [ebp - 0x2a0], edi
mov dword [ebp - 0x298], 0
push 0x1012ec60
mov dword [ebp - 4], 1
call fcn.10023fc0
push 0x24c
lea eax, [ebp - 0x260]
mov dword [ebp - 0x298], 1
push 0
push eax
mov dword [ebp - 0x264], 0
call fcn.101078f0
add esp, 0xc
push 0
push 0
push 0
push ecx
mov ecx, esp
push str._Scripts_
call fcn.10023fc0
xor edx, edx
lea ecx, [ebp - 0x274]
call fcn.1003d3b0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x288]
push dword [ebp + 8]
push dword [ebp - 0x274]
push 0x1012ee18
push eax
call fcn.10044f30
add esp, 0x20
lea ecx, [ebp - 0x264]
push 0
push 0
push 0
push ecx
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, dword [ebp - 0x288]
or ebx, 0xffffffff
add esi, 0xfffffff0
mov dword [ebp - 0x27c], eax
mov ecx, ebx
lea edx, [esi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100235e7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x27c]
cmp eax, 0xffffffff
je 0x10023bf4
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x268]
call fcn.10023fc0
push ecx
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0x278], esp
push 0x1012ec40
call fcn.10023fc0
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x268]
push ecx
mov dword [ebp - 0x270], esp
mov ebx, esp
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi - 4], 0
lea edx, [esi - 4]
mov ecx, eax
jl 0x10023652
cmp ecx, dword [esi - 0x10]
jne 0x10023652
lea edi, [esi - 0x10]
mov eax, 1
lock xadd dword [edx], eax
jmp 0x1002368b
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
je 0x10023c53
mov ecx, dword [esi - 0xc]
mov dword [edi + 4], ecx
mov ecx, dword [esi - 0xc]
lea eax, [ecx*2 + 2]
push eax
lea eax, [ecx*2 + 2]
push esi
push eax
lea eax, [edi + 0x10]
push eax
call fcn.10103d20
add esp, 0x10
lea eax, [edi + 0x10]
mov dword [ebx], eax
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x274]
push ecx
mov ebx, esp
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi - 4], 0
lea edx, [esi - 4]
mov ecx, eax
jl 0x100236c3
cmp ecx, dword [esi - 0x10]
jne 0x100236c3
lea edi, [esi - 0x10]
mov eax, 1
lock xadd dword [edx], eax
jmp 0x100236fc
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
je 0x10023c53
mov ecx, dword [esi - 0xc]
mov dword [edi + 4], ecx
mov ecx, dword [esi - 0xc]
lea eax, [ecx*2 + 2]
push eax
lea eax, [ecx*2 + 2]
push esi
push eax
lea eax, [edi + 0x10]
push eax
call fcn.10103d20
add esp, 0x10
lea eax, [edi + 0x10]
mov dword [ebx], eax
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 3
call fcn.10044c80
add esp, 0xc
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x268]
mov esi, dword [eax - 0xc]
test esi, esi
js 0x10023c58
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x1002374b
push esi
lea ecx, [ebp - 0x268]
call fcn.100249c0
mov eax, dword [ebp - 0x268]
lea ecx, [esi + 1]
push ecx
push eax
call fcn.10103904
mov eax, dword [ebp - 0x268]
add esp, 8
cmp esi, dword [eax - 8]
jg 0x10023c58
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp - 0x268]
mov word [eax + esi*2], cx
mov eax, dword [ebp - 0x268]
lea esi, [eax - 0x10]
cmp esi, esi
je 0x100237ce
cmp dword [esi + 0xc], ecx
lea edi, [esi + 0xc]
jl 0x100237b9
mov ecx, dword [esi]
cmp ecx, ecx
jne 0x100237b9
mov ecx, esi
call fcn.10024750
mov ebx, eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x100237ae
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [ebx + 0x10]
mov dword [ebp - 0x268], eax
jmp 0x100237ce
push dword [eax - 0xc]
lea ecx, [ebp - 0x268]
push eax
call fcn.10024680
mov eax, dword [ebp - 0x268]
cmp dword [eax - 0xc], 0
jge 0x100237d9
or ecx, 0xffffffff
jmp 0x100237fc
push str..wait.
push eax
call fcn.10103a8d
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x268]
test ecx, ecx
jne 0x100237f8
or ecx, 0xffffffff
jmp 0x100237fc
sub ecx, eax
sar ecx, 1
xor edx, edx
lea esi, [eax - 0x10]
cmp ecx, 0xffffffff
push ecx
mov ecx, dword [esi]
setne dl
mov dword [ebp - 0x278], edx
mov ebx, esp
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
mov ecx, eax
jl 0x10023833
cmp ecx, dword [esi]
jne 0x10023833
mov edi, esi
mov eax, 1
lock xadd dword [edx], eax
jmp 0x1002386f
mov eax, dword [ecx]
push 2
push dword [esi + 4]
call dword [eax]
mov edi, eax
test edi, edi
je 0x10023c53
mov ecx, dword [esi + 4]
mov dword [edi + 4], ecx
mov ecx, dword [esi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [edi + 0x10]
push eax
call fcn.10103d20
add esp, 0x10
lea eax, [edi + 0x10]
lea ecx, [ebp - 0x280]
mov dword [ebx], eax
call fcn.10044fc0
add esp, 4
mov edi, eax
mov byte [ebp - 4], 7
mov eax, dword [edi]
mov esi, dword [eax - 0xc]
test esi, esi
js 0x10023c58
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, esi
or eax, ecx
jge 0x100238ae
push esi
mov ecx, edi
call fcn.100249c0
lea eax, [esi + 1]
push eax
push dword [edi]
call fcn.10103904
mov eax, dword [edi]
add esp, 8
cmp esi, dword [eax - 8]
jg 0x10023c58
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [edi]
mov word [eax + esi*2], cx
mov esi, dword [edi]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi - 4], 0
lea edx, [esi - 4]
mov ecx, eax
jl 0x100238fa
cmp ecx, dword [esi - 0x10]
jne 0x100238fa
lea edi, [esi - 0x10]
mov eax, 1
lock xadd dword [edx], eax
jmp 0x10023933
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
je 0x10023c53
mov ecx, dword [esi - 0xc]
mov dword [edi + 4], ecx
mov ecx, dword [esi - 0xc]
lea eax, [ecx*2 + 2]
push eax
lea eax, [ecx*2 + 2]
push esi
push eax
lea eax, [edi + 0x10]
push eax
call fcn.10103d20
add esp, 0x10
lea esi, [edi + 0x10]
mov dword [ebp - 0x270], esi
mov byte [ebp - 4], 9
or ebx, 0xffffffff
mov edx, dword [ebp - 0x280]
mov ecx, ebx
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10023962
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x294]
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x1002397e
push 1
push 0x1012ee38
mov ecx, edi
call fcn.10024890
mov ecx, 0x1012ee3c
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100239ab
test dx, dx
je 0x100239a7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100239ab
add eax, 4
add ecx, 4
test dx, dx
jne 0x10023985
xor eax, eax
jmp 0x100239b0
sbb eax, eax
or eax, 1
test eax, eax
je 0x10023b09
mov ecx, 0x1012ee44
mov eax, esi
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100239e6
test dx, dx
je 0x100239e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100239e6
add eax, 4
add ecx, 4
test dx, dx
jne 0x100239c0
xor eax, eax
jmp 0x100239eb
sbb eax, eax
or eax, 1
test eax, eax
je 0x10023b09
mov ecx, 0x1012ee4c
mov eax, esi
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10023a26
test dx, dx
je 0x10023a22
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10023a26
add eax, 4
add ecx, 4
test dx, dx
jne 0x10023a00
xor eax, eax
jmp 0x10023a2b
sbb eax, eax
or eax, 1
test eax, eax
je 0x10023b09
mov ecx, 0x1012ee54
mov eax, esi
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10023a66
test dx, dx
je 0x10023a62
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10023a66
add eax, 4
add ecx, 4
test dx, dx
jne 0x10023a40
xor eax, eax
jmp 0x10023a6b
sbb eax, eax
or eax, 1
test eax, eax
je 0x10023b09
push 0x1012ee80
lea ecx, [ebp - 0x270]
call fcn.10024110
test eax, eax
je 0x10023ad2
push 0x1012ee88
lea ecx, [ebp - 0x270]
call fcn.10024110
test eax, eax
je 0x10023ad2
push dword [ebp - 0x26c]
lea eax, [ebp - 0x28c]
push 0x1012eeb0
push eax
call fcn.10044f30
add esp, 0xc
mov byte [ebp - 4], 0xc
mov ecx, edi
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.10024890
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x28c]
jmp 0x10023b3e
push dword [ebp - 0x26c]
lea eax, [ebp - 0x290]
push str.cmd.exe__c___s_
push eax
call fcn.10044f30
add esp, 0xc
mov byte [ebp - 4], 0xb
mov ecx, edi
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.10024890
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x290]
jmp 0x10023b3e
push dword [ebp - 0x26c]
lea eax, [ebp - 0x284]
push str.wscript.exe___s_
push eax
call fcn.10044f30
add esp, 0xc
mov byte [ebp - 4], 0xa
mov ecx, edi
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.10024890
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x284]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10023b57
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x278], 0
je 0x10023b6e
push 5
push str._wait
mov ecx, edi
call fcn.10024890
add esi, 0xfffffff0
mov byte [ebp - 4], 6
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10023b8b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov ecx, ebx
mov edx, dword [ebp - 0x26c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10023bae
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov ecx, ebx
mov edx, dword [ebp - 0x268]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10023bd1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x27c]
lea eax, [ebp - 0x264]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x100235f0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 1
mov ecx, ebx
mov edx, dword [ebp - 0x274]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10023c17
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov esi, dword [ebp + 8]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x10023c35
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 - 0x14]
xor ecx, ebp
call fcn.10103392
mov esp, ebp
pop ebp
ret
call fcn.10024740
push 0x80070057
call fcn.100223c0
int3