Function at 0x10042a20
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10157268
mov eax, dword fs:[0]
push eax
sub esp, 0x6e0
mov eax, dword [0x101c0618]
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 ebx, dword [ebp + 8]
mov dword [ebp - 0x6c4], ebx
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
jne 0x10042a66
xor eax, eax
jmp 0x10042ff1
push 0x20a
lea eax, [ebp - 0x428]
mov dword [ebp - 0x6b0], 0
push 0
push eax
call fcn.100ec480
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.100ec480
add esp, 0x18
call fcn.1000c0e0
mov ecx, eax
test ecx, ecx
je 0x10043012
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x6ac], eax
mov dword [ebp - 4], 0
call fcn.1000c0e0
mov ecx, eax
test ecx, ecx
je 0x1004301c
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x6b8], esi
mov byte [ebp - 4], 1
call fcn.1000c0e0
mov ecx, eax
test ecx, ecx
je 0x10043026
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebp - 0x6cc], eax
lea ecx, [eax + 0x10]
mov dword [ebp - 0x6dc], ecx
mov byte [ebp - 4], 2
call fcn.1000c0e0
mov ecx, eax
test ecx, ecx
je 0x10043030
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x6b4], edi
push 0x10179f5c
lea eax, [ebp - 0x6bc]
mov byte [ebp - 4], 3
push ebx
push eax
call fcn.10019d90
push 0x250
lea eax, [ebp - 0x6a8]
mov byte [ebp - 4], 4
push 0
push eax
call fcn.100ec480
add esp, 0x18
lea eax, [ebp - 0x6a8]
push eax
push dword [ebp - 0x6bc]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x6c8], eax
cmp eax, 0xffffffff
je 0x10042f51
push 0x104
lea eax, [ebp - 0x67c]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.1010b4c8
lea eax, [ebp - 0x21c]
push 0x2e
push eax
call fcn.100ec5da
mov ebx, eax
add esp, 0x14
mov dword [ebp - 0x6c0], ebx
test ebx, ebx
je 0x10042f28
push str..url
push ebx
call fcn.1010927f
add esp, 8
test eax, eax
je 0x10042bd5
push str..lnk
push ebx
call fcn.1010927f
add esp, 8
test eax, eax
jne 0x10042f28
xor eax, eax
mov dword [ebp - 0x430], 0
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x42c], 7
mov word [ebp - 0x440], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10042c00
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x440]
call fcn.10011620
push 0
lea eax, [ebp - 0x440]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x458]
push eax
call fcn.10052460
add esp, 0xc
mov edx, eax
cmp dword [edx + 0x14], 8
mov byte [ebp - 4], 6
jb 0x10042c4c
mov edx, dword [edx]
test edx, edx
jne 0x10042c54
xor ecx, ecx
jmp 0x10042c6f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10042c60
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x6b4]
call fcn.1000adf0
mov edx, dword [ebp - 0x444]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x10042cc0
mov ecx, dword [ebp - 0x458]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10042cb6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004300d
push edx
push ecx
call fcn.100b4158
add esp, 8
mov edx, dword [ebp - 0x42c]
xor eax, eax
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 7
mov word [ebp - 0x458], ax
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x10042d21
mov ecx, dword [ebp - 0x440]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10042d17
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004300d
push edx
push ecx
call fcn.100b4158
add esp, 8
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp - 0x6b4]
mov eax, dword [edx]
mov esi, dword [eax]
cmp esi, eax
je 0x10042e4a
nop word [eax + eax]
mov eax, dword [esi + 0x1c]
cmp dword [eax - 0xc], 0
jne 0x10042df8
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x10042dde
xor eax, eax
mov dword [ebp - method.CBufferRefT_unsigned_short_int_.virtual_0], vtable.CBufferRefT_unsigned_short_int_.0
mov dword [ebp - 0x6d4], edi
mov dword [ebp - 0x6d0], eax
test edi, edi
je 0x10042d8e
cmp word [edi], ax
je 0x10042d8e
nop dword [eax]
inc eax
cmp word [edi + eax*2], 0
jne 0x10042d80
mov dword [ebp - 0x6d0], eax
push 0
push eax
push edi
lea eax, [ebp - 0x6ec]
mov byte [ebp - 4], 7
push eax
call fcn.100443b0
cmp dword [ebp - 0x6e4], 0
mov eax, dword [ebp - 0x6e8]
mov byte [ebp - 4], 4
mov dword [ebp - method.CBufferRefT_unsigned_short_int_.virtual_0], vtable.CBufferRefT_unsigned_short_int_.0
jg 0x10042dc3
xor ebx, ebx
jmp 0x10042dc5
mov ebx, dword [eax]
test eax, eax
je 0x10042dd2
push eax
call fcn.100f6855
add esp, 4
mov dword [ebp - method.CBufferRefT_int_.virtual_0], vtable.CBufferRefT_int_.0
jmp 0x10042df1
push dword [esi + 0x10]
push edi
call fcn.1010927f
add esp, 8
mov ebx, eax
neg ebx
sbb ebx, ebx
inc ebx
mov edx, dword [ebp + 0xc]
test ebx, ebx
jne 0x10042e44
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x10042e24
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x10042e20
nop word [eax + eax]
cmp esi, dword [eax + 8]
jne 0x10042e20
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10042e10
mov esi, eax
jmp 0x10042e3c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x10042e3c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x10042e30
cmp esi, dword [edx]
jne 0x10042d40
mov ebx, dword [ebp - 0x6c0]
cmp esi, dword [edx]
je 0x10042f28
lea eax, [ebp - 0x21c]
push eax
mov eax, dword [ebp - 0x6c4]
push dword [eax]
lea eax, [ebp - 0x428]
push 0x10179f74
push eax
call fcn.10047c30
push str..lnk
push ebx
call fcn.1010927f
add esp, 0x18
test eax, eax
jne 0x10042ed1
push eax
lea eax, [ebp - 0x6b8]
push eax
lea eax, [ebp - 0x6ac]
push eax
lea eax, [ebp - 0x428]
push eax
call fcn.10043040
add esp, 0x10
test eax, eax
je 0x10042f28
lea eax, [ebp - 0x6ac]
push eax
lea ecx, [esi + 0x20]
call fcn.1000b6e0
lea eax, [ebp - 0x6b8]
push eax
lea ecx, [esi + 0x24]
call fcn.1000b6e0
mov dword [esi + 0x28], 0
jmp 0x10042f13
push str..url
push ebx
call fcn.1010927f
add esp, 8
test eax, eax
jne 0x10042f28
lea eax, [ebp - 0x6ac]
push eax
lea eax, [ebp - 0x428]
push eax
call fcn.10043300
add esp, 8
test eax, eax
je 0x10042f28
lea eax, [ebp - 0x6ac]
push eax
lea ecx, [esi + 0x20]
call fcn.1000b6e0
mov dword [esi + 0x28], 1
lea eax, [ebp - 0x6b4]
push eax
lea ecx, [esi + 0x1c]
call fcn.1000b6e0
inc dword [ebp - 0x6b0]
mov ebx, dword [ebp - 0x6c8]
lea eax, [ebp - 0x6a8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10042b74
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x6b8]
mov edx, dword [ebp - 0x6bc]
or ebx, 0xffffffff
mov byte [ebp - 4], 3
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10042f75
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x10042f90
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x6cc]
mov eax, ebx
mov byte [ebp - 4], 1
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10042fae
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10042fc9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x6ac]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10042feb
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x6b0]
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.100b4568
mov esp, ebp
pop ebp
ret
call fcn.100f67b8
push 0x80004005
call fcn.10007270
push 0x80004005
call fcn.10007270
push 0x80004005
call fcn.10007270
push 0x80004005
call fcn.10007270
int3