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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5209c9
mov eax, dword fs:[0]
push eax
sub esp, 0x2a4
mov eax, dword [0x58c250]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2a4], ecx
mov dword [ebp - 4], 1
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
call fcn.00401500
add eax, 0x10
add esp, 4
mov dword [ebp - 0x290], eax
mov byte [ebp - 4], 3
push 2
push 0x53cd20
lea ecx, [ebp - 0x290]
call fcn.00401ed0
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x2a0], edi
mov dword [ebp - 0x29c], ebx
mov dword [ebp - 0x298], ebx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x290]
lea eax, [ebp - 0x27c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x424d9c
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x424cf0
xor edx, edx
mov edi, 7
lea eax, [ebp - 0x250]
mov word [ebp - 0x2c], dx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], 0
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x424d10
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004069f0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x2a0]
call fcn.00424bb0
mov byte [ebp - 4], 4
cmp dword [ebp - 0x18], 8
jb 0x424d58
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004efd7c
add esp, 4
lea ecx, [ebp - 0x27c]
push ecx
xor eax, eax
push esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call ebx
test eax, eax
jne 0x424cf0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x424cf0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [ebp - 0x29c]
mov edi, dword [ebp - 0x2a0]
mov ecx, ebx
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x42512e
mov dword [ebp - 0x28c], edi
cmp edi, ebx
je 0x42512e
mov esi, dword [ebp + 8]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi - 4], 0
lea ecx, [esi - 4]
jl 0x424df0
cmp eax, dword [esi - 0x10]
jne 0x424df0
lea edi, [esi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x424e28
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x425201
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.004f0e71
add esp, 0x10
lea ebx, [edi + 0x10]
mov dword [ebp - 0x284], ebx
mov byte [ebp - 4], 7
mov esi, dword [ebp + 0xc]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi - 4], 0
lea ecx, [esi - 4]
jl 0x424e5e
cmp eax, dword [esi - 0x10]
jne 0x424e5e
lea edi, [esi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x424e96
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x425201
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.004f0e71
add esp, 0x10
add edi, 0x10
mov dword [ebp - 0x288], edi
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x28c]
cmp dword [eax + 0x14], 8
jb 0x424eb1
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x280]
call fcn.00411460
mov byte [ebp - 4], 0xa
mov esi, dword [ebp - 0x280]
mov ecx, 0x53cd18
mov eax, esi
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x424ef6
test dx, dx
je 0x424ef2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x424ef6
add eax, 4
add ecx, 4
test dx, dx
jne 0x424ed0
xor eax, eax
jmp 0x424efb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x4250a1
mov ecx, 0x53bf58
mov eax, esi
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x424f36
test dx, dx
je 0x424f32
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x424f36
add eax, 4
add ecx, 4
test dx, dx
jne 0x424f10
xor eax, eax
jmp 0x424f3b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x4250a1
push 1
push 0x53bb00
lea ecx, [ebp - 0x284]
call fcn.00401ed0
mov eax, dword [ebp - 0x280]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x284]
call fcn.00401ed0
push 1
push 0x53bb00
lea ecx, [ebp - 0x288]
call fcn.00401ed0
mov eax, dword [ebp - 0x280]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x288]
call fcn.00401ed0
mov ebx, dword [ebp - 0x288]
mov esi, dword [ebp - 0x284]
push 1
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x425040
push 1
push 0x53bb00
lea ecx, [ebp - 0x284]
call fcn.00401ed0
push 1
push 0x53bb00
lea ecx, [ebp - 0x288]
call fcn.00401ed0
mov ebx, dword [ebp - 0x288]
push ecx
lea eax, [ebx - 0x10]
mov esi, esp
mov dword [ebp - 0x2ac], esp
push eax
mov dword [ebp - 0x2a8], esi
call fcn.00401500
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0xf
mov esi, dword [ebp - 0x284]
lea eax, [esi - 0x10]
mov edi, esp
mov dword [ebp - 0x2a8], esp
push eax
mov dword [ebp - 0x2b0], edi
call fcn.00401500
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [ebp - 4], 0x11
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x2a4]
call fcn.00424c40
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x280]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425066
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 7
add ebx, 0xfffffff0
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425086
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov byte [ebp - 4], 4
add esi, 0xfffffff0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x425107
mov ecx, dword [esi]
push esi
jmp 0x425100
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x280]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4250c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 7
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4250e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425107
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x28c]
add eax, 0x1c
mov dword [ebp - 0x28c], eax
cmp eax, dword [ebp - 0x29c]
jne 0x424dc7
mov ebx, dword [ebp - 0x29c]
mov edi, dword [ebp - 0x2a0]
mov byte [ebp - 4], 3
xor eax, eax
cmp edi, eax
je 0x425162
mov esi, edi
cmp edi, ebx
je 0x425157
mov edi, edi
lea ecx, [ebp - 0x294]
push esi
push ecx
call fcn.004213e0
add esi, 0x1c
add esp, 8
cmp esi, ebx
jne 0x425140
push edi
call fcn.004efd7c
add esp, 4
xor eax, eax
mov dword [ebp - 0x2a0], eax
mov dword [ebp - 0x29c], eax
mov dword [ebp - 0x298], eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x290]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42519a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4251bd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4251e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f0194
mov esp, ebp
pop ebp
ret 8
call fcn.004015b0
int3