Function at 0x427860
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x471857
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x4997f0]
xor eax, esp
mov dword [esp + 0x298], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4997f0]
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.00402860
lea eax, [esp + 0x14]
push eax
lea edi, [esp + 0x1c]
mov dword [esp + 0x2bc], ebp
call fcn.0040c6c0
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 0x4278f4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x427a98
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 0x427917
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x48]
call fcn.00401690
push ebx
push str.Update_
mov ecx, esi
mov dword [esp + 0x2c0], 1
call fcn.004135e0
mov eax, dword [esp + 0x44]
mov edi, 8
cmp dword [esp + 0x58], edi
jae 0x42795c
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x20]
call fcn.00402860
mov byte [esp + 0x2b8], 2
cmp dword [esp + 0x58], edi
mov edx, dword [esp + 0x44]
jae 0x42797c
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 0x427990
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x2c]
call fcn.00401690
push 3
push 0x4835e4
mov ecx, esi
mov byte [esp + 0x2c0], 3
call fcn.004135e0
call fcn.00440b9e
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x4279da
push 0x80004005
call fcn.00402680
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 0x427a00
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 0x427ac2
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 0x427a3d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x3c], edi
jb 0x427a50
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00432e81
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 0x427a85
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x58], edi
jb 0x427a98
mov ecx, dword [esp + 0x44]
push ecx
call fcn.00432e81
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.0044f9f6
add esp, 0x2a8
ret
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x427ad0
lea eax, [esp + 0x88]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x427ae0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x8c]
push edx
lea ecx, [esp + 0x1c]
call fcn.00402c50
test byte [esp + 0x5c], 0x10
mov esi, dword [esp + 0x14]
jne 0x427bb8
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 0x427b32
push edi
lea ecx, [esp + 0x18]
call fcn.00402700
mov esi, dword [esp + 0x14]
lea eax, [edi + 1]
push eax
push esi
call fcn.00452686
add esp, 8
cmp edi, ebp
jl 0x427c5a
cmp edi, dword [esi - 8]
jg 0x427c5a
mov dword [esi - 0xc], edi
mov word [esi + edi*2], bp
cmp dword [esi - 0xc], ebp
jl 0x427bb3
push str..zip
push esi
call fcn.0045087b
add esp, 8
cmp eax, ebp
je 0x427bb3
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x427bb3
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.00408aa0
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 0x427bb3
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 0x427ad0
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 0x427bf4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x3c], edi
jb 0x427c07
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00432e81
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 0x427c40
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x58], edi
jb 0x427c53
mov ecx, dword [esp + 0x44]
push ecx
call fcn.00432e81
add esp, 4
mov al, 1
jmp 0x427a9a
push 0x80070057
call fcn.00402680
int3