Function at 0x4133a0
Capabilities:
Enumerate files on windows
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x642430
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xaac
push ebx
push esi
push edi
xor ebx, ebx
push 0x204
lea eax, [ebp - 0x864]
push ebx
push eax
mov esi, ecx
mov dword [ebp - 0x868], ebx
call fcn.006100a0
push 0x204
lea ecx, [ebp - 0x24c]
push ebx
push ecx
mov dword [ebp - 0x250], ebx
call fcn.006100a0
push 0x204
lea edx, [ebp - 0x454]
push ebx
push edx
mov dword [ebp - 0x458], ebx
call fcn.006100a0
push 0x204
lea eax, [ebp - 0x65c]
push ebx
push eax
mov dword [ebp - 0x660], ebx
call fcn.006100a0
add esp, 0x30
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
mov ecx, dword [ebp + 8]
push ecx
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
lea eax, [esi + 0x18bc]
lea edx, [ebp - 0x868]
mov dword [ebp - 0x24], eax
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bx
jne 0x413450
lea eax, [ebp - 0x868]
add eax, 0xfffffffe
jmp 0x413470
mov cx, word [eax + 2]
add eax, 2
cmp cx, bx
jne 0x413470
mov edx, dword [0x66f150]
mov ecx, dword [0x66f154]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov eax, dword [ebp + 0xc]
mov edx, eax
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x413492
lea edi, [ebp - 0x868]
sub eax, edx
add edi, 0xfffffffe
jmp 0x4134b0
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x4134b0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [ebp - 0xab8]
push edx
lea eax, [ebp - 0x868]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x41359d
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edi, 7
jmp 0x413500
xor ecx, ecx
lea eax, [ebp - 0xa8c]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], cx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x413520
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0xa8c]
push edx
lea ecx, [ebp - 0x48]
call fcn.00407940
mov byte [ebp - 4], 1
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x20]
call fcn.00413310
mov byte [ebp - 4], 0
cmp dword [ebp - 0x34], 8
jb 0x413565
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0060faf6
add esp, 4
lea eax, [ebp - 0xab8]
push eax
xor edx, edx
push esi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], dx
call ebx
test eax, eax
jne 0x413500
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x413500
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x20]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
je 0x413824
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
cmp eax, dword [ebp - 0x1c]
je 0x413824
lea eax, [ebp - 0x660]
sub eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x250]
sub eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4135f0
lea edi, [ebp - 0x660]
add edi, 0xfffffffe
jmp 0x413610
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x413610
mov ebx, dword [0x66ea40]
mov eax, dword [ebp - 0x10]
mov dword [edi], ebx
cmp dword [eax + 0x14], 8
jb 0x41362f
mov eax, dword [eax]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x413631
lea edi, [ebp - 0x660]
sub eax, edx
add edi, 0xfffffffe
jmp 0x413650
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x413650
mov ecx, eax
shr ecx, 2
mov esi, edx
mov edx, dword [ebp - 0x2c]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x413672
lea edi, [ebp - 0x250]
add edi, 0xfffffffe
lea ebx, [ebx]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x413690
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov dword [edi], ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4136ca
test dx, dx
je 0x4136c6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4136ca
add eax, 4
add ecx, 4
test dx, dx
jne 0x4136a4
xor eax, eax
jmp 0x4136cf
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4137b4
push 0x208
lea edx, [ebp - 0x458]
push 0
push edx
call fcn.006100a0
mov eax, dword [ebp - 0x10]
mov edi, dword [eax + 0x14]
add esp, 0xc
cmp edi, 8
jb 0x4136fa
mov eax, dword [eax]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x413700
sub eax, edx
sar eax, 1
mov edx, eax
mov eax, dword [ebp + 0xc]
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x413717
mov ecx, dword [ebp - 0x10]
sub eax, esi
sar eax, 1
cmp edi, 8
jb 0x413730
mov ecx, dword [ecx]
sub edx, eax
push edx
push ecx
lea edx, [ebp - 0x458]
push edx
call fcn.006125de
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov edx, eax
jmp 0x413750
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x413750
lea edi, [ebp - 0x458]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x413766
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [ebp - 0x458]
rep movsb byte es:[edi], byte [esi]
mov edx, eax
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x413790
lea edi, [ebp - 0x250]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4137a6
jmp 0x4137ec
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x14], 8
jb 0x4137bf
mov eax, dword [eax]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4137c1
lea edi, [ebp - 0x250]
sub eax, edx
add edi, 0xfffffffe
jmp 0x4137e0
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4137e0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 1
lea eax, [ebp - 0x250]
rep movsb byte es:[edi], byte [esi]
push eax
lea ecx, [ebp - 0x660]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, dword [ebp - 0x10]
add eax, 0x1c
mov dword [ebp - 0x10], eax
cmp eax, dword [ebp - 0x1c]
jne 0x4135e3
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [ebp - 0x20]
xor eax, eax
cmp ebx, eax
je 0x41385f
mov edi, dword [ebp - 0x1c]
mov esi, ebx
cmp ebx, edi
je 0x413854
lea ecx, [ecx]
lea edx, [ebp - 0x14]
push esi
push edx
call fcn.0040bba0
add esi, 0x1c
add esp, 8
cmp esi, edi
jne 0x413840
push ebx
call fcn.0060faf6
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc