Function at 0x407520
Capabilities:
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446293
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x300
mov eax, dword [0x45e068]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x2ca], cl
mov dword [ebp - 4], 0
mov eax, 0x7ffffffe
mov edx, dword [ebx + 0x18]
sub eax, edx
cmp eax, 2
jb 0x407b6e
cmp dword [ebx + 0x1c], 8
lea eax, [ebx + 8]
push 2
cmovae eax, dword [ebx + 8]
push 0x4551d4
push edx
push eax
push ecx
push dword [ebp - 0x2d4]
lea ecx, [ebp - 0x2f4]
call fcn.0040a6d0
cmp dword [ebp - 0x2e0], 8
lea ecx, [ebp - 0x2c8]
lea eax, [ebp - 0x2f4]
cmovae eax, dword [ebp - 0x2f4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x2e0]
mov esi, eax
mov dword [ebp - 0x2d4], esi
cmp ecx, 8
jb 0x407611
mov edx, dword [ebp - 0x2f4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x407607
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407b73
push ecx
push edx
call fcn.004264a3
add esp, 8
xor eax, eax
mov dword [ebp - 0x2e4], 0
mov dword [ebp - 0x2e0], 7
mov word [ebp - 0x2f4], ax
cmp esi, 0xffffffff
je 0x407b1a
nop word [eax + eax]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x29c]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x407660
sub ecx, edx
lea eax, [ebp - 0x29c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.004030e0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
mov esi, dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
setae dl
mov byte [ebp - 0x2c9], dl
cmp esi, 1
jne 0x4076db
mov edi, esi
mov edx, 0x45508c
test edi, edi
je 0x407ab9
sub eax, edx
mov dword [ebp - 0x2d8], eax
movzx ecx, word [edx + eax]
movzx eax, word [edx]
cmp cx, ax
jne 0x4076d5
mov eax, dword [ebp - 0x2d8]
add edx, 2
sub edi, 1
jne 0x4076b6
jmp 0x407ab9
mov dl, byte [ebp - 0x2c9]
test dl, dl
lea edi, [ebp - 0x2c]
cmovne edi, dword [ebp - 0x2c]
cmp esi, 2
jne 0x407719
mov edx, 0x455090
test esi, esi
je 0x407ab9
sub edi, edx
nop dword [eax + eax]
movzx ecx, word [edx + edi]
movzx eax, word [edx]
cmp cx, ax
jne 0x407719
add edx, 2
sub esi, 1
jne 0x407700
jmp 0x407ab9
mov ecx, dword [ebx + 0x18]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 1
jb 0x407b6e
cmp dword [ebx + 0x1c], 8
lea eax, [ebx + 8]
push 1
cmovae eax, dword [ebx + 8]
push 0x45517c
push ecx
push eax
push ecx
push dword [ebp - 0x2d4]
lea ecx, [ebp - 0x30c]
call fcn.0040a6d0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x30c]
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.00402ed0
mov dword [ebp - 0x34], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x34], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x2f8]
cmp ecx, 8
jb 0x4077ed
mov edx, dword [ebp - 0x30c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4077e3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407b73
push ecx
push edx
call fcn.004264a3
add esp, 8
xor eax, eax
mov dword [ebp - 0x2fc], 0
test byte [ebp - 0x2c8], 0x10
mov dword [ebp - 0x2f8], 7
mov word [ebp - 0x30c], ax
je 0x40786f
cmp dword [ebp - 0x18], 8
lea edi, [ebp - 0x2c]
mov esi, dword [ebp - 0x1c]
cmovae edi, dword [ebp - 0x2c]
cmp esi, 0xc
jne 0x407852
mov edx, str.preinstalled
test esi, esi
je 0x407845
sub edi, edx
movzx ecx, word [edx + edi]
movzx eax, word [edx]
cmp cx, ax
jne 0x407852
add edx, 2
sub esi, 1
jne 0x407831
cmp byte [ebp - 0x2ca], 0
jne 0x407a7b
sub esp, 0x18
lea eax, [ebp - 0x44]
mov ecx, esp
push eax
call fcn.00409910
xor cl, cl
call fcn.00407520
add esp, 0x18
jmp 0x407a7b
cmp dword [ebp - 0x18], 8
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
cmovae edx, dword [ebp - 0x2c]
setae byte [ebp - 0x2c9]
mov dword [ebp - 0x2d8], edx
mov dword [ebp - 0x2dc], eax
cmp eax, 1
jb 0x4078fe
or ecx, 0xffffffff
dec eax
cmp eax, ecx
cmovb ecx, eax
lea edi, [edx + ecx*2]
mov ecx, edi
sub ecx, 0x45508c
cmp word [edi], 0x2e
mov dword [ebp - 0x2d0], ecx
jne 0x4078e8
mov esi, 1
mov eax, 0x45508c
nop
movzx edx, word [ecx + eax]
movzx ecx, word [eax]
cmp dx, cx
jne 0x4078dc
add eax, 2
sub esi, 1
je 0x4078f4
mov ecx, dword [ebp - 0x2d0]
jmp 0x4078c0
mov ecx, dword [ebp - 0x2d0]
mov edx, dword [ebp - 0x2d8]
cmp edi, edx
je 0x4078fe
sub edi, 2
sub ecx, 2
jmp 0x4078a9
sub edi, dword [ebp - 0x2d8]
sar edi, 1
jmp 0x407901
or edi, 0xffffffff
cmp edi, 0xffffffff
je 0x407a7b
mov eax, dword [ebp - 0x2dc]
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x5c], xmm0
cmp eax, edi
jb 0x407b7d
sub eax, edi
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp byte [ebp - 0x2c9], 0
lea eax, [ebp - 0x2c]
cmovne eax, dword [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x5c]
lea eax, [eax + edi*2]
push eax
call fcn.004030e0
mov byte [ebp - 4], 5
lea edi, [ebp - 0x5c]
mov eax, dword [ebp - 0x48]
cmp eax, 8
mov edx, dword [ebp - 0x5c]
mov esi, dword [ebp - 0x4c]
setae byte [ebp - 0x2c9]
cmovae edi, edx
mov dword [ebp - 0x2d0], edx
cmp esi, 4
jne 0x407a3f
mov edx, str..jar
test esi, esi
je 0x4079a8
sub edi, edx
nop word [eax + eax]
movzx ecx, word [edi + edx]
movzx eax, word [edx]
cmp cx, ax
jne 0x407a36
add edx, 2
sub esi, 1
jne 0x407990
mov ecx, dword [ebp - 0x34]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 9
jb 0x407b6e
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
push 9
cmovae eax, dword [ebp - 0x44]
push str..disabled
push ecx
push eax
push ecx
push dword [ebp - 0x2d4]
lea ecx, [ebp - 0x74]
call fcn.0040a6d0
cmp dword [ebp - 0x60], 8
lea ecx, [ebp - 0x74]
lea eax, [ebp - 0x44]
cmovae ecx, dword [ebp - 0x74]
cmp dword [ebp - 0x30], 8
push ecx
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ecx, dword [ebp - 0x60]
cmp ecx, 8
jb 0x407a36
mov edx, dword [ebp - 0x74]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x407a2c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407b73
push ecx
push edx
call fcn.004264a3
add esp, 8
mov edx, dword [ebp - 0x2d0]
mov eax, dword [ebp - 0x48]
cmp byte [ebp - 0x2c9], 0
mov byte [ebp - 4], 4
je 0x407a7b
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x407a71
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407b73
push ecx
push edx
call fcn.004264a3
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x30]
cmp ecx, 8
jb 0x407ab9
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x407aaf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407b73
push ecx
push edx
call fcn.004264a3
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x407af7
mov edx, dword [ebp - 0x2c]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x407aed
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407b73
push ecx
push edx
call fcn.004264a3
add esp, 8
mov esi, dword [ebp - 0x2d4]
lea eax, [ebp - 0x2c8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x407640
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebx + 0x1c]
cmp ecx, 8
jb 0x407b50
mov edx, dword [ebx + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x407b46
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407b78
push ecx
push edx
call fcn.004264a3
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00426465
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00401330
call fcn.0042b22f
call fcn.0042b22f
call fcn.00409d00
int3