Function at 0x401e30
Capabilities:
Move file
Set file attributes

Disassembly:
mov eax, 0xc904
call fcn.0040e7e0
mov eax, dword [0x435110]
mov ecx, dword [0x4340bc]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push edi
mov edi, dword [0x4340b0]
mov dword [esp + 0xc90c], eax
mov eax, dword [0x4340a8]
sub eax, edi
mov edi, dword [esp + 0xc914]
push 0x80
lea edx, [ecx + eax - 0x3845]
push edi
mov dword [0x4340bc], edx
call esi
mov eax, dword [0x4340c8]
mov ecx, dword [0x4340ac]
mov edx, dword [0x4340bc]
mov ebx, dword [esp + 0xc918]
add ecx, eax
push 0x80
lea eax, [ecx + edx - 0x13ee]
push ebx
mov dword [0x4340c0], eax
call esi
mov edx, dword [0x4340b8]
mov ecx, 0xffffeb46
sub ecx, edx
test edi, edi
mov dword [str._r_____r____], ecx
je 0x401f85
test ebx, ebx
je 0x401f85
push 0
push edi
call fcn.0040e81d
add esp, 8
cmp eax, 0xffffffff
je 0x401f85
mov edx, dword [0x4340ac]
mov eax, dword [str._r_____r____]
lea ecx, [eax + edx]
mov edx, dword [0x4340b8]
lea ecx, [edx + ecx - 0x3770]
mov dword [0x4340b8], ecx
cmp dword [esp + 0xc91c], 1
jne 0x401f23
push 0
push ebx
call fcn.0040e81d
add esp, 8
cmp eax, 0xffffffff
jne 0x401f85
mov eax, dword [str._r_____r____]
mov esi, dword [0x4340b4]
mov edx, dword [0x4340b0]
push pe_nt_image_headers32
sub eax, esi
lea eax, [eax + edx + 0xd52]
push 0x8000
push edi
mov dword [0x4340a8], eax
call fcn.00418117
mov edx, dword [0x4340b0]
mov ecx, dword [0x4340a8]
sub ecx, edx
mov edx, dword [0x4340bc]
mov esi, eax
add esp, 0xc
cmp esi, 0xffffffff
lea eax, [edx + ecx - 0x3845]
mov dword [0x4340bc], eax
jne 0x401f9d
push edi
push 0x429b24
call fcn.0040eafd
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xc900]
call fcn.0040e7cd
add esp, 0xc904
ret
push 0
push 0
push esi
call fcn.00417c90
mov ecx, dword [0x4340b4]
mov edx, dword [0x4340c4]
mov eax, dword [0x4340bc]
sub ecx, edx
sub ecx, eax
add ecx, 0x1e45
push 0
mov dword [0x4340ac], ecx
call fcn.0040eac4
push eax
lea edx, [esp + 0x20]
push str.c:windows_system32_d
push edx
call fcn.0040e497
push 0x180
lea eax, [esp + 0x2c]
push 0x8302
push eax
call fcn.00418117
mov ecx, dword [0x4340ac]
mov edx, dword [str._r_____r____]
mov edi, eax
mov eax, dword [0x4340c0]
sub ecx, edx
sub ecx, eax
add ecx, 0x19b8
add esp, 0x28
cmp edi, 0xffffffff
mov dword [0x4340b0], ecx
jne 0x40204a
push esi
call fcn.004120c2
push ebx
push 0x429b24
call fcn.0040eafd
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xc900]
call fcn.0040e7cd
add esp, 0xc904
ret
push 0
push 0
push edi
call fcn.00417c90
mov eax, dword [str._r_____r____]
mov edx, dword [0x4340ac]
mov ecx, dword [0x4340c0]
sub edx, eax
push 0xc800
lea eax, [esp + 0x11c]
sub edx, ecx
push eax
add edx, 0x19b8
push esi
mov dword [0x4340b0], edx
call fcn.0041946a
add esp, 0x18
test eax, eax
je 0x4020b9
nop
push eax
lea ecx, [esp + 0x110]
push ecx
push edi
call fcn.004124b7
push 0xc800
lea edx, [esp + 0x11c]
push edx
push esi
call fcn.0041946a
add esp, 0x18
test eax, eax
jne 0x402090
push esi
call fcn.004120c2
push edi
call fcn.004120c2
add esp, 8
push 1
push ebx
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov ecx, dword [esp + 0xc90c]
pop edi
pop esi
pop ebx
call fcn.0040e7cd
add esp, 0xc904
ret