Function at 0x42d150
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x477417
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.0040f860
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 0x42d1e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x42d388
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 0x42d207
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.0040d6f0
mov eax, dword [esp + 0x44]
mov edi, 8
cmp dword [esp + 0x58], edi
jae 0x42d24c
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 0x42d26c
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 0x42d280
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x2c]
call fcn.00401750
push 3
push 0x48b4a4
mov ecx, esi
mov byte [esp + 0x2c0], 3
call fcn.0040d6f0
call fcn.00446493
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x42d2ca
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 0x42d2f0
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 0x42d3b2
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 0x42d32d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x3c], edi
jb 0x42d340
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00438751
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 0x42d375
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x58], edi
jb 0x42d388
mov ecx, dword [esp + 0x44]
push ecx
call fcn.00438751
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.004552e7
add esp, 0x2a8
ret
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x42d3c0
lea eax, [esp + 0x88]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x42d3d0
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 0x42d4a8
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 0x42d422
push edi
lea ecx, [esp + 0x18]
call fcn.004027d0
mov esi, dword [esp + 0x14]
lea eax, [edi + 1]
push eax
push esi
call fcn.00457f7e
add esp, 8
cmp edi, ebp
jl 0x42d54a
cmp edi, dword [esi - 8]
jg 0x42d54a
mov dword [esi - 0xc], edi
mov word [esi + edi*2], bp
cmp dword [esi - 0xc], ebp
jl 0x42d4a3
push str..zip
push esi
call fcn.0045616c
add esp, 8
cmp eax, ebp
je 0x42d4a3
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x42d4a3
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.00408bb0
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 0x42d4a3
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 0x42d3c0
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 0x42d4e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x3c], edi
jb 0x42d4f7
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00438751
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 0x42d530
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x58], edi
jb 0x42d543
mov ecx, dword [esp + 0x44]
push ecx
call fcn.00438751
add esp, 4
mov al, 1
jmp 0x42d38a
push 0x80070057
call fcn.00402750
int3