Function at 0x44b300
Capabilities:
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 0x453140
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x298
mov eax, dword [0x465040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x104
lea eax, [ebp - 0x130]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xorps xmm0, xmm0
mov dword [ebp - 0x138], 0
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x134], 0
movups xmmword [ebp - 0x148], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44b380
sub ecx, edx
lea eax, [ebp - 0x130]
push ecx
push eax
lea ecx, [ebp - 0x148]
call fcn.00450e70
mov dword [ebp - 4], 0
lea esi, [ebp - 0x148]
cmp dword [ebp - 0x134], 0xf
mov edi, dword [ebp - 0x138]
cmova esi, dword [ebp - 0x148]
test edi, edi
je 0x44b427
push 0x5c
lea eax, [ebp - 0x260]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x203]
push 0xa3
push 0
push eax
call sub.VCRUNTIME140.dll_memset
or eax, 0xffffffff
mov byte [ebp - 0x204], 1
lea ecx, [edi - 1]
add esp, 0xc
cmp ecx, eax
cmovb eax, ecx
movzx ecx, byte [eax + esi]
add eax, esi
cmp byte [ebp + ecx - 0x260], 0
jne 0x44b423
nop dword [eax]
cmp eax, esi
je 0x44b427
movzx ecx, byte [eax - 1]
dec eax
cmp byte [ebp + ecx - 0x260], 0
je 0x44b410
sub eax, esi
jmp 0x44b42a
or eax, 0xffffffff
lea ecx, [eax + 1]
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x160], xmm0
cmp edi, ecx
jb 0x44b5d2
mov eax, edi
sub eax, ecx
cmp eax, edi
cmovb edi, eax
cmp dword [ebp - 0x134], 0xf
lea eax, [ebp - 0x148]
cmova eax, dword [ebp - 0x148]
add eax, ecx
lea ecx, [ebp - 0x160]
push edi
push eax
call fcn.00450e70
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
push eax
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
mov ecx, 0xf
lea edi, [ebp - 0x2a8]
mov esi, str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
add esp, 4
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdq
mov ecx, 6
idiv ecx
xor esi, esi
lea edi, [edx + 6]
test edi, edi
jle 0x44b4de
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdq
mov ecx, 0x24
idiv ecx
mov al, byte [ebp + edx - 0x2a8]
mov byte [ebp + esi - 0x28], al
inc esi
cmp esi, edi
jl 0x44b4c0
cmp edi, 0x14
jae 0x44b5cd
push str..exe
lea eax, [ebp - 0x28]
mov byte [ebp + edi - 0x28], 0
push 0x14
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
add esp, 0xc
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14c], 0xf
lea eax, [ebp - 0x160]
cmova eax, dword [ebp - 0x160]
push ecx
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
mov ecx, dword [ebp - 0x14c]
add esp, 8
cmp ecx, 0xf
jbe 0x44b558
mov edx, dword [ebp - 0x160]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x44b54e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44b59f
push ecx
push edx
call fcn.0045176b
add esp, 8
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0xf
mov byte [ebp - 0x160], 0
cmp ecx, 0xf
jbe 0x44b5af
mov edx, dword [ebp - 0x148]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x44b5a5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44b5a5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0045176b
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.00451342
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00451910
call fcn.00450a20
int3