Function at 0x41e1c0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5573c3
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x5b706c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x90], eax
mov edi, dword [ebp + 8]
add eax, 0x14
push eax
lea eax, [ebp - 0x8c]
mov ecx, edi
push eax
call fcn.0040e810
lea esi, [edi + 0xf0]
mov dword [ebp - 4], 0
mov ecx, dword [edi + 0xec]
push esi
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004a23f0
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 2
call fcn.00403d90
mov eax, dword [ebp - 0x90]
mov ecx, edi
add eax, 0x2c
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.0040e810
push esi
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
mov ecx, dword [edi + 0xec]
push eax
call fcn.004a23f0
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 5
call fcn.00403d90
xor eax, eax
mov dword [ebp - 0x64], 0
push eax
push 0x584430
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
call fcn.00403df0
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 6
push eax
mov ecx, edi
call fcn.00411870
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 5
call fcn.00403d90
push 0xc
push str.CURRENT_FILE
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00403f90
push 0x586218
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xa8]
call fcn.004185a0
add esp, 4
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push dword [ebp - 0x30]
cmovae ecx, dword [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.004158f0
mov dword [ebp - 0x7c], 0
xor ecx, ecx
mov dword [ebp - 0x78], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x8c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x7c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea edx, [ebp - 0x8c]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x74]
call fcn.004ad250
push 1
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xa
push eax
mov ecx, edi
call fcn.00410d00
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x60]
cmp edx, 0x10
jb 0x41e396
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41e38c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e7b3
push edx
push ecx
call fcn.0051ec14
add esp, 8
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
call fcn.00403d90
lea ecx, [ebp - 0xa8]
call fcn.00403d90
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x41e3f6
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41e3ec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e7b8
push edx
push ecx
call fcn.0051ec14
add esp, 8
push 0xf
push str.status_SwapFile
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00403f90
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xa8]
call fcn.004b4180
push eax
mov ecx, edi
mov byte [ebp - 4], 0xc
call fcn.00411870
lea ecx, [ebp - 0xa8]
call fcn.00403d90
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x41e478
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41e46e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e7bd
push edx
push ecx
call fcn.0051ec14
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea eax, [ebp - 0x58]
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x44], 8
push 9
cmovae eax, dword [ebp - 0x58]
push ecx
push eax
call esi
test eax, eax
jne 0x41e618
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 8
push str.ERRORNUM
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x64], 0
mov esi, eax
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
call fcn.00403f90
mov edx, esi
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x13]
call fcn.00404aa0
lea ecx, [ebp - 0x13]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
cmp eax, ecx
je 0x41e50c
sub ecx, eax
push ecx
push eax
lea ecx, [ebp - 0x8c]
call fcn.00403f90
push 1
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x74]
mov ecx, edi
push eax
call fcn.00410d00
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x78]
cmp edx, 0x10
jb 0x41e55f
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41e555
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e7c2
push edx
push ecx
call fcn.0051ec14
add esp, 8
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x60]
cmp edx, 0x10
jb 0x41e597
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41e58d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e7c7
push edx
push ecx
call fcn.0051ec14
add esp, 8
push 0x10
push str.error_DeployFile
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
call fcn.00403f90
lea edx, [ebp - 0x74]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xa8]
call fcn.004b4180
mov byte [ebp - 4], 0x10
push eax
mov ecx, edi
call fcn.00411730
lea ecx, [ebp - 0xa8]
call fcn.00403d90
mov edx, dword [ebp - 0x60]
cmp edx, 0x10
jb 0x41e779
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41e76f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e7cc
jmp 0x41e76f
mov eax, dword [ebp - 0x90]
test dword [eax + 0x44], 1
je 0x41e77f
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x41e77f
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 4
cmovae eax, dword [ebp - 0x40]
push 0
push eax
call esi
test eax, eax
jne 0x41e77f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 8
push str.ERRORNUM
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x64], 0
mov esi, eax
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
call fcn.00403f90
mov edx, esi
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x8c]
call fcn.0040b710
push 1
push eax
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0x12
push eax
mov ecx, edi
call fcn.00410d00
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x78]
cmp edx, 0x10
jb 0x41e6e6
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41e6dc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e7d1
push edx
push ecx
call fcn.0051ec14
add esp, 8
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
cmp edx, 0x10
jb 0x41e733
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41e729
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e7d6
push edx
push ecx
call fcn.0051ec14
add esp, 8
push 0x10
push str.error_DeployFile
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
call fcn.00403f90
lea edx, [ebp - 0x74]
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xa8]
call fcn.004b4180
mov byte [ebp - 4], 0x14
jmp 0x41e5ce
push edx
push ecx
call fcn.0051ec14
add esp, 8
mov byte [ebp - 0x59], 0
jmp 0x41e783
mov byte [ebp - 0x59], 1
lea ecx, [ebp - 0x40]
call fcn.00403d90
lea ecx, [ebp - 0x58]
call fcn.00403d90
mov al, byte [ebp - 0x59]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret 4
call fcn.00528129
call fcn.00528129
call fcn.00528129
call fcn.00528129
call fcn.00528129
call fcn.00528129
call fcn.00528129
call fcn.00528129
int3