Function at 0x449922
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp byte [ebp + 0x18], 0
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
sete al
push ebx
movzx eax, al
push edi
push eax
call fcn.004b7a49
push dword [ebp + 0x18]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 4], eax
call fcn.004b7a49
xor edi, edi
lea ecx, [ebp - 4]
mov dword [ebp - 8], eax
xor ebx, ebx
inc edi
call fcn.004a0ff9
mov ecx, eax
call fcn.00482110
test al, al
jne 0x4499be
push dword [ebp + 0x18]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
call fcn.004b7a49
push eax
lea ecx, [ebp - 4]
call fcn.004a0c86
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
call fcn.004082d7
test al, al
jne 0x4499a6
lea ecx, [ebp - 4]
call fcn.004a0ff9
mov ecx, eax
call fcn.00482110
test al, al
jne 0x4499be
lea ecx, [ebp - 8]
call fcn.004a0c7d
lea ecx, [ebp - 4]
call fcn.004a0c7d
xor eax, eax
pop edi
pop ebx
leave
ret 0x18
push esi
xor eax, eax
push edi
lea ecx, [ebp - 4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
call fcn.004a0ff9
push eax
lea eax, [ebp - 0x18]
push 0x5190d0
push eax
call fcn.004a04a6
add esp, 0x10
lea ecx, [ebp - 0x18]
call fcn.004a0486
mov ecx, eax
call fcn.00482110
test al, al
jne 0x449a1e
lea ecx, [ebp - 0x18]
call fcn.004a0486
mov ecx, eax
call fcn.004b696a
mov ecx, dword [ebp + 8]
mov esi, eax
call fcn.004b696a
push esi
push eax
call sub.msvcrt.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
jne 0x449a29
lea ecx, [ebp - 0x18]
call fcn.004a0bd2
inc edi
jmp 0x4499bf
lea ecx, [ebp - 0x18]
call fcn.004a0486
push eax
lea ecx, [ebp - 0xc]
call fcn.004a0fd9
lea ecx, [ebp - 0x18]
call fcn.004a0bd2
lea ecx, [ebp - 0xc]
call fcn.004a0ff9
push eax
lea ecx, [ebp - 4]
call fcn.004a0ff9
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileW]
push eax
call edi
test eax, eax
jne 0x449a82
xor esi, esi
lea ecx, [ebp - 0xc]
call fcn.004a0c7d
lea ecx, [ebp - 8]
call fcn.004a0c7d
lea ecx, [ebp - 4]
call fcn.004a0c7d
mov eax, esi
pop esi
jmp 0x4499b8
cmp byte [ebp + 0x1c], bl
je 0x449acb
lea ecx, [ebp - 8]
call fcn.004a0ff9
mov ecx, eax
call fcn.00482110
test al, al
je 0x449acb
lea ecx, [ebp - 8]
call fcn.004a0ff9
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x449acb
lea ecx, [ebp - 4]
call fcn.004a0ff9
push eax
lea ecx, [ebp - 0xc]
call fcn.004a0ff9
push eax
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x449a62
lea ecx, [ebp - 8]
call fcn.004a0ff9
lea ecx, [ebp - 4]
mov esi, eax
call fcn.004a0ff9
mov ecx, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x449b05
test dx, dx
je 0x449b01
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x449b05
add eax, 4
add ecx, 4
test dx, dx
jne 0x449adf
xor eax, eax
jmp 0x449b0a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x449b6f
lea ecx, [ebp - 8]
call fcn.004a0ff9
push eax
lea ecx, [ebp - 0xc]
call fcn.004a0ff9
push eax
call edi
test eax, eax
jne 0x449b83
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ebx, eax
cmp ebx, 3
je 0x449b3a
cmp ebx, 2
jne 0x449b6b
lea ecx, [ebp - 8]
xor ebx, ebx
call fcn.004a0ff9
mov ecx, eax
call fcn.004b9537
test al, al
je 0x449b67
lea ecx, [ebp - 8]
call fcn.004a0ff9
push eax
lea ecx, [ebp - 0xc]
call fcn.004a0ff9
push eax
call edi
test eax, eax
jne 0x449b83
call esi
mov ebx, eax
test ebx, ebx
je 0x449b83
lea ecx, [ebp - 4]
call fcn.004a0ff9
push eax
lea ecx, [ebp - 0xc]
call fcn.004a0ff9
push eax
call edi
mov esi, ebx
jmp 0x449a62