Function at 0x41d550
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x498f48
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 0x41d93f
cmp dword [esi + 0x10], 0
je 0x41d93f
push str..tmp
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.004097b0
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 0x41d617
mov edi, dword [edi]
push ecx
mov ecx, edi
call fcn.00416790
add esp, 4
test al, al
je 0x41d92d
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.00419be0
sub eax, 0
je 0x41d69d
sub eax, 1
je 0x41d693
sub eax, 1
je 0x41d689
mov esi, 0xeeac9002
jmp 0x41d8d1
mov esi, 0xeeac9003
jmp 0x41d8d1
mov esi, 0xeeac9004
jmp 0x41d8d1
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.0041d0b0
add esp, 4
test al, al
je 0x41d8c4
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.0040a9b0
add esp, 4
test eax, eax
jne 0x41d8bd
cmp edi, 0x1d
jb 0x41d8bd
ja 0x41d8bd
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 0x41d7d1
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41d768
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.0041d0b0
add esp, 4
test al, al
je 0x41d7d1
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0xdc]
ja 0x41d7d1
jne 0x41d7cd
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0xd8]
ja 0x41d7d1
jne 0x41d7cd
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0xd4]
ja 0x41d7d1
xor bl, bl
jmp 0x41d7d3
mov bl, 1
mov dword [ebp - 4], 9
test byte [ebp - 0xf8], 1
je 0x41d7ee
lea ecx, [ebp - 0xf4]
call fcn.004036b0
test bl, bl
je 0x41d8ae
push str..bak
mov edx, esi
lea ecx, [ebp - 0xb8]
call fcn.004097b0
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 0x41d829
mov ecx, dword [esi]
push 1
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x41d88e
cmp dword [esi + 0x14], 8
jb 0x41d83f
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.00416790
add esp, 4
test al, al
je 0x41d88e
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.00416c40
jmp 0x41d8c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0xb8]
mov esi, eax
call fcn.004036b0
lea ecx, [ebp - 0xdc]
call fcn.00416c40
jmp 0x41d8c9
lea ecx, [ebp - 0xdc]
xor esi, esi
call fcn.00416c40
jmp 0x41d8c9
mov esi, 0xeeac9005
jmp 0x41d8c9
mov esi, 0xeeac9006
lea ecx, [ebp - 0x4c]
call fcn.00416c40
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 0x41d935
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41d919
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41da17
push edx
push ecx
call fcn.0046e37b
add esp, 8
lea ecx, [ebp - 0x28]
call fcn.004036b0
jmp 0x41d944
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea ecx, [ebp - 0x28]
call fcn.004036b0
jmp 0x41d944
mov esi, 0x57
mov eax, dword [ebp - 0x88]
test eax, eax
je 0x41d96d
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 0x41d9ac
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41d9a2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41da17
push edx
push ecx
call fcn.0046e37b
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 0x41d9f9
mov ecx, dword [ebp - 0x84]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41d9ef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41da17
push edx
push ecx
call fcn.0046e37b
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.0046e338
mov esp, ebp
pop ebp
ret
call fcn.00473144
int3