Function at 0x41d570
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x498f58
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x4bd0c8]
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 esi, edx
mov edi, ecx
xor eax, eax
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], 7
mov word [ebp - 0x84], ax
mov dword [ebp - 0x6c], 3
mov dword [ebp - 0x68], eax
push eax
push eax
push 1
push eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], 2
cmp dword [edi + 0x10], 0
je 0x41d95f
cmp dword [esi + 0x10], 0
je 0x41d95f
push str..tmp
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.004097e0
add esp, 4
mov byte [ebp - 4], 3
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae edx, dword [ebp - 0x28]
cmp dword [edi + 0x14], 8
jb 0x41d637
mov edi, dword [edi]
push ecx
mov ecx, edi
call fcn.004167c0
add esp, 4
test al, al
je 0x41d94d
mov dword [ebp - 0xa0], 0
xor eax, eax
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 5
push eax
push 0x1194
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x88]
call fcn.00419c00
sub eax, 0
je 0x41d6bd
sub eax, 1
je 0x41d6b3
sub eax, 1
je 0x41d6a9
mov esi, 0xeeac9002
jmp 0x41d8f1
mov esi, 0xeeac9003
jmp 0x41d8f1
mov esi, 0xeeac9004
jmp 0x41d8f1
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
movq qword [ebp - 0x4c], xmm0
mov dword [ebp - 0x40], 0
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 7
push eax
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x28]
call fcn.0041d0d0
add esp, 4
test al, al
je 0x41d8e4
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
mov edi, dword [ebp - 0x30]
mov edx, 0x1d
cmovae ecx, dword [ebp - 0x40]
mov eax, edi
cmp edi, edx
cmova eax, edx
mov edx, 0x4b3a1c
push eax
call fcn.0040a9e0
add esp, 4
test eax, eax
jne 0x41d8dd
cmp edi, 0x1d
jb 0x41d8dd
ja 0x41d8dd
xorps xmm0, xmm0
mov dword [ebp - 0xd4], eax
movq qword [ebp - 0xdc], xmm0
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], 7
mov word [ebp - 0xd0], ax
mov byte [ebp - 4], 9
cmp byte [ebp + 8], al
jne 0x41d7f1
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41d788
mov eax, dword [esi]
push eax
lea ecx, [ebp - 0xf4]
call fcn.00403710
mov eax, 1
mov byte [ebp - 4], 0xa
mov dword [ebp - 0xf8], eax
lea edx, [ebp - 0xdc]
mov dword [ebp - 0xfc], eax
lea ecx, [ebp - 0xf4]
lea eax, [ebp - 0xa0]
push eax
call fcn.0041d0d0
add esp, 4
test al, al
je 0x41d7f1
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0xdc]
ja 0x41d7f1
jne 0x41d7ed
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0xd8]
ja 0x41d7f1
jne 0x41d7ed
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0xd4]
ja 0x41d7f1
xor bl, bl
jmp 0x41d7f3
mov bl, 1
mov dword [ebp - 4], 9
test byte [ebp - 0xf8], 1
je 0x41d80e
lea ecx, [ebp - 0xf4]
call fcn.004036b0
test bl, bl
je 0x41d8ce
push str..bak
mov edx, esi
lea ecx, [ebp - 0xb8]
call fcn.004097e0
add esp, 4
lea eax, [ebp - 0xb8]
cmp dword [ebp - 0xa4], 8
mov ecx, esi
cmovae eax, dword [ebp - 0xb8]
cmp dword [esi + 0x14], 8
jb 0x41d849
mov ecx, dword [esi]
push 1
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x41d8ae
cmp dword [esi + 0x14], 8
jb 0x41d85f
mov esi, dword [esi]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov edx, esi
cmovae ecx, dword [ebp - 0x28]
push ecx
call fcn.004167c0
add esp, 4
test al, al
je 0x41d8ae
xor esi, esi
lea eax, [ebp - 0xb8]
cmp dword [ebp - 0xa4], 8
cmovae eax, dword [ebp - 0xb8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0xb8]
call fcn.004036b0
lea ecx, [ebp - 0xdc]
call fcn.00416c70
jmp 0x41d8e9
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0xb8]
mov esi, eax
call fcn.004036b0
lea ecx, [ebp - 0xdc]
call fcn.00416c70
jmp 0x41d8e9
lea ecx, [ebp - 0xdc]
xor esi, esi
call fcn.00416c70
jmp 0x41d8e9
mov esi, 0xeeac9005
jmp 0x41d8e9
mov esi, 0xeeac9006
lea ecx, [ebp - 0x4c]
call fcn.00416c70
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x8c]
cmp edx, 8
jb 0x41d955
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41d939
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41da37
push edx
push ecx
call fcn.0046e38b
add esp, 8
lea ecx, [ebp - 0x28]
call fcn.004036b0
jmp 0x41d964
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea ecx, [ebp - 0x28]
call fcn.004036b0
jmp 0x41d964
mov esi, 0x57
mov eax, dword [ebp - 0x88]
test eax, eax
je 0x41d98d
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x88]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x88], 0
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x54]
cmp edx, 8
jb 0x41d9cc
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41d9c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41da37
push edx
push ecx
call fcn.0046e38b
add esp, 8
mov edx, dword [ebp - 0x70]
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
cmp edx, 8
jb 0x41da19
mov ecx, dword [ebp - 0x84]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41da0f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41da37
push edx
push ecx
call fcn.0046e38b
add esp, 8
mov eax, esi
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.0046e348
mov esp, ebp
pop ebp
ret
call fcn.00473154
int3