Function at 0x42cda0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x477107
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x4a0800]
xor eax, esp
mov dword [esp + 0x298], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a0800]
xor eax, esp
push eax
lea eax, [esp + 0x2b0]
mov dword fs:[0], eax
xor ebp, ebp
push str.MEDIAPATH
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], ebp
call fcn.00402930
lea eax, [esp + 0x14]
push eax
lea edi, [esp + 0x1c]
mov dword [esp + 0x2bc], ebp
call fcn.0040f930
mov bl, al
mov dword [esp + 0x2bc], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ce34
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x42cfd8
mov edx, dword [esp + 0x18]
mov ebx, 7
mov eax, edx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], ebp
mov word [esp + 0x44], bp
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x42ce57
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x48]
call fcn.00401750
push ebx
push str.Update_
mov ecx, esi
mov dword [esp + 0x2c0], 1
call fcn.0040d7c0
mov eax, dword [esp + 0x44]
mov edi, 8
cmp dword [esp + 0x58], edi
jae 0x42ce9c
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x20]
call fcn.00402930
mov byte [esp + 0x2b8], 2
cmp dword [esp + 0x58], edi
mov edx, dword [esp + 0x44]
jae 0x42cebc
lea edx, [esp + 0x44]
mov eax, edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebp
mov word [esp + 0x28], bp
lea esi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x42ced0
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x2c]
call fcn.00401750
push 3
push 0x48b4fc
mov ecx, esi
mov byte [esp + 0x2c0], 3
call fcn.0040d7c0
call fcn.00446123
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x42cf1a
push 0x80004005
call fcn.00402750
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov byte [esp + 0x2b8], 4
cmp dword [esp + 0x3c], edi
mov eax, dword [esp + 0x28]
jae 0x42cf40
lea eax, [esp + 0x28]
lea ecx, [esp + 0x5c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
jne 0x42d002
lea eax, [esi - 0x10]
mov byte [esp + 0x2b8], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42cf7d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x3c], edi
jb 0x42cf90
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004383e1
add esp, 4
mov byte [esp + 0x2b8], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebp
mov word [esp + 0x28], bp
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42cfc5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x58], edi
jb 0x42cfd8
mov ecx, dword [esp + 0x44]
push ecx
call fcn.004383e1
add esp, 4
xor al, al
mov ecx, dword [esp + 0x2b0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x298]
xor ecx, esp
call fcn.00454f77
add esp, 0x2a8
ret
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x42d010
lea eax, [esp + 0x88]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x42d020
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x8c]
push edx
lea ecx, [esp + 0x1c]
call fcn.00402d20
test byte [esp + 0x5c], 0x10
mov esi, dword [esp + 0x14]
jne 0x42d0f8
mov edi, dword [esi - 0xc]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x42d072
push edi
lea ecx, [esp + 0x18]
call fcn.004027d0
mov esi, dword [esp + 0x14]
lea eax, [edi + 1]
push eax
push esi
call fcn.00457c0e
add esp, 8
cmp edi, ebp
jl 0x42d19a
cmp edi, dword [esi - 8]
jg 0x42d19a
mov dword [esi - 0xc], edi
mov word [esi + edi*2], bp
cmp dword [esi - 0xc], ebp
jl 0x42d0f3
push str..zip
push esi
call fcn.00455dfc
add esp, 8
cmp eax, ebp
je 0x42d0f3
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x42d0f3
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.00408c70
mov eax, dword [eax]
add esp, 0xc
push eax
call ebx
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d0f3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, 8
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x5c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42d010
lea eax, [esi - 0x10]
mov byte [esp + 0x2b8], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d134
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x3c], edi
jb 0x42d147
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004383e1
add esp, 4
mov byte [esp + 0x2b8], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], ebp
mov word [esp + 0x28], bp
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42d180
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x58], edi
jb 0x42d193
mov ecx, dword [esp + 0x44]
push ecx
call fcn.004383e1
add esp, 4
mov al, 1
jmp 0x42cfda
push 0x80070057
call fcn.00402750
int3