Function at 0x42ff80
Capabilities:
Move file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e736
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x3d8
mov eax, dword [0x4b8040]
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 - 0x230]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm0, xmm0
mov dword [ebp - 0x238], 0
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x234], 0
movups xmmword [ebp - 0x248], xmm0
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x430000
sub ecx, edx
lea eax, [ebp - 0x230]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x248]
call fcn.004027e0
mov dword [ebp - 4], 0
lea edi, [ebp - 0x248]
cmp dword [ebp - 0x234], 7
mov esi, dword [ebp - 0x238]
cmova edi, dword [ebp - 0x248]
mov dword [ebp - 0x394], edi
test esi, esi
je 0x430111
push 0x100
lea eax, [ebp - 0x390]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, 0x4b0578
mov edx, 0x100
movzx eax, word [ecx]
cmp ax, dx
jae 0x4300c1
movzx eax, al
add ecx, 2
mov byte [ebp + eax - 0x390], 1
cmp ecx, 0x4b057a
jne 0x430071
lea eax, [esi - 1]
or ecx, 0xffffffff
cmp eax, ecx
cmovb ecx, eax
lea esi, [edi + ecx*2]
nop dword [eax]
movzx eax, word [esi]
cmp ax, dx
jae 0x4300b2
cmp byte [ebp + eax - 0x390], 0
jne 0x4300bb
cmp esi, edi
je 0x430111
sub esi, 2
jmp 0x4300a0
sub esi, edi
sar esi, 1
jmp 0x430114
lea eax, [esi - 1]
or ecx, 0xffffffff
cmp eax, ecx
cmovb ecx, eax
lea esi, [edi + ecx*2]
movzx edi, word [esi]
mov ecx, 0x5c
mov eax, 0x4b0578
lea edx, [ecx - 0x5b]
cmp cx, di
je 0x430107
cmp edx, 1
je 0x4300fa
movzx ecx, word [eax + 2]
add eax, 2
dec edx
cmp cx, di
jne 0x4300e4
test eax, eax
jne 0x430107
cmp esi, dword [ebp - 0x394]
je 0x430111
sub esi, 2
jmp 0x4300cf
sub esi, dword [ebp - 0x394]
sar esi, 1
jmp 0x430114
or esi, 0xffffffff
mov ecx, dword [ebp - 0x238]
inc esi
mov dword [ebp - 0x3a0], 0
xorps xmm0, xmm0
mov dword [ebp - 0x39c], 0
movups xmmword [ebp - 0x3b0], xmm0
cmp ecx, esi
jb 0x430680
mov eax, ecx
sub eax, esi
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x234], 7
lea eax, [ebp - 0x248]
cmova eax, dword [ebp - 0x248]
push ecx
lea ecx, [ebp - 0x3b0]
lea eax, [eax + esi*2]
push eax
call fcn.004027e0
push 0
push 0
push 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x3b0]
cmp dword [ebp - 0x39c], 7
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmova eax, dword [ebp - 0x3b0]
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call edi
mov esi, eax
lea ecx, [ebp - 0x260]
push 0
push esi
call fcn.0041daf0
cmp dword [ebp - 0x24c], 0xf
lea ecx, [ebp - 0x260]
push 0
cmova ecx, dword [ebp - 0x260]
lea eax, [ebp - 0x3b0]
cmp dword [ebp - 0x39c], 7
push 0
cmova eax, dword [ebp - 0x3b0]
push esi
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call edi
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x39c]
cmp ecx, 7
jbe 0x430230
mov edx, dword [ebp - 0x3b0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x430226
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x430226
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004431bb
add esp, 8
xor eax, eax
mov dword [ebp - 0x3a0], 0
push eax
mov dword [ebp - 0x39c], 7
mov word [ebp - 0x3b0], ax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
mov dword [ebp - 0x394], edx
push eax
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
mov dword [ebp - 0x398], 0x13e05fb5
add esp, 4
mov dword [ebp - 0x394], 0x34e1658c
mov eax, dword [ebp - 0x398]
mov ecx, dword [ebp - 0x394]
mov dword [ebp - 0x3e0], eax
mov dword [ebp - 0x3dc], ecx
mov dword [ebp - 0x398], 0xe2d3fdf9
mov dword [ebp - 0x394], 0xdf2ef115
mov eax, dword [ebp - 0x398]
mov ecx, dword [ebp - 0x394]
mov dword [ebp - 0x3d8], eax
mov dword [ebp - 0x3d4], ecx
mov dword [ebp - 0x398], 0x6d17ed94
mov dword [ebp - 0x394], 0xd48edcf6
mov eax, dword [ebp - 0x398]
mov ecx, dword [ebp - 0x394]
mov dword [ebp - 0x3d0], eax
mov dword [ebp - 0x3cc], ecx
mov dword [ebp - 0x398], 0x115f7553
mov dword [ebp - 0x394], 0x770b9654
mov eax, dword [ebp - 0x398]
mov ecx, dword [ebp - 0x394]
mov dword [ebp - 0x3c8], eax
mov dword [ebp - 0x3c4], ecx
mov dword [ebp - 0x398], 0xa45882f0
mov dword [ebp - 0x394], 0x6b7ad7c9
mov eax, dword [ebp - 0x398]
mov ecx, dword [ebp - 0x394]
mov dword [ebp - 0x3c0], eax
mov dword [ebp - 0x3bc], ecx
mov dword [ebp - 0x398], 0x8444d4a2
mov dword [ebp - 0x394], 0x26300d74
mov eax, dword [ebp - 0x398]
mov ecx, dword [ebp - 0x394]
mov dword [ebp - 0x3b8], eax
mov dword [ebp - 0x3b4], ecx
mov dword [ebp - 0x398], 0x2bb66e85
mov dword [ebp - 0x394], 0x679510d5
mov eax, dword [ebp - 0x398]
mov ecx, dword [ebp - 0x394]
mov dword [ebp - 0x290], eax
mov dword [ebp - 0x28c], ecx
mov dword [ebp - 0x398], 0x98beb99e
mov dword [ebp - 0x394], 0xaf16a950
mov eax, dword [ebp - 0x398]
mov ecx, dword [ebp - 0x394]
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x284], ecx
mov dword [ebp - 0x398], 0x470dedf
mov dword [ebp - 0x394], 0xb5eaa59b
mov eax, dword [ebp - 0x398]
mov ecx, dword [ebp - 0x394]
mov dword [ebp - 0x280], eax
mov dword [ebp - 0x27c], ecx
mov dword [ebp - 0x398], 0x7f0c4430
mov dword [ebp - 0x394], 0x165cf366
mov eax, dword [ebp - 0x398]
mov ecx, dword [ebp - 0x394]
mov dword [ebp - 0x278], eax
mov dword [ebp - 0x274], ecx
mov dword [ebp - 0x398], 0xde6be5c9
mov dword [ebp - 0x394], 0x6b7ad7c9
mov eax, dword [ebp - 0x398]
mov ecx, dword [ebp - 0x394]
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x26c], ecx
mov dword [ebp - 0x398], 0x8444d4a2
mov dword [ebp - 0x394], 0x26300d74
mov eax, dword [ebp - 0x398]
mov ecx, dword [ebp - 0x394]
movaps xmm1, xmmword [ebp - 0x3e0]
xorps xmm0, xmm0
xorps xmm1, xmmword [ebp - 0x290]
movaps xmmword [ebp - 0x3e0], xmm1
movaps xmm1, xmmword [ebp - 0x3d0]
xorps xmm1, xmmword [ebp - 0x280]
movaps xmmword [ebp - 0x3d0], xmm1
movaps xmm1, xmmword [ebp - 0x3c0]
mov dword [ebp - 0x264], ecx
lea ecx, [ebp - 0x3e0]
mov dword [ebp - 0x268], eax
lea edx, [ecx + 1]
xorps xmm1, xmmword [ebp - 0x270]
movaps xmmword [ebp - 0x3c0], xmm1
movups xmmword [ebp - 0x278], xmm0
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4304e0
sub ecx, edx
lea eax, [ebp - 0x3e0]
push ecx
push eax
lea ecx, [ebp - 0x278]
call fcn.0040e0d0
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdq
mov ecx, 6
idiv ecx
mov edi, dword [ebp - 0x278]
xor esi, esi
lea eax, [edx + 6]
mov dword [ebp - 0x394], eax
test eax, eax
jle 0x430550
nop
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdq
mov ecx, 0x24
idiv ecx
cmp dword [ebp - 0x264], 0xf
lea eax, [ebp - 0x278]
cmova eax, edi
mov al, byte [eax + edx]
mov byte [ebp + esi - 0x28], al
inc esi
mov eax, dword [ebp - 0x394]
cmp esi, eax
jl 0x430520
cmp eax, 0x14
jae 0x43067b
push str..exe
mov byte [ebp + eax - 0x28], 0
lea eax, [ebp - 0x28]
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 - 0x24c], 0xf
lea eax, [ebp - 0x260]
cmova eax, dword [ebp - 0x260]
push ecx
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
mov eax, dword [ebp - 0x264]
add esp, 8
cmp eax, 0xf
jbe 0x4305ca
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x4305c0
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43064d
push ecx
push edi
call fcn.004431bb
add esp, 8
mov ecx, dword [ebp - 0x24c]
cmp ecx, 0xf
jbe 0x430600
mov edx, dword [ebp - 0x260]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4305f6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43064d
push ecx
push edx
call fcn.004431bb
add esp, 8
mov ecx, dword [ebp - 0x234]
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], 0
cmp ecx, 7
jbe 0x43065d
mov edx, dword [ebp - 0x248]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x430653
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x430653
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004431bb
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.0044317d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00443682
call fcn.004026d0
int3