Function at 0x448790
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b2a6e
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x4dbe18]
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 eax, dword [ebp + 0xc]
mov dword [ebp - 0x228], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x224], esp
mov esi, esp
push eax
call fcn.00406650
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.004486b0
add esp, 4
cmp eax, ebx
je 0x448a2f
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push eax
call fcn.0048de2f
push 0x206
lea edx, [ebp - 0x216]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x218], cx
call fcn.0048f0a0
mov eax, dword [ebp + 8]
push 0x104
push eax
lea ecx, [ebp - 0x218]
push ecx
call fcn.0048d226
add esp, 0x1c
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
call fcn.00406650
add esp, 4
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x224], ebx
mov eax, dword [0x4e47ac]
cmp eax, ebx
je 0x448880
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
cmp eax, ebx
je 0x448a0a
mov eax, dword [0x4e47b0]
cmp eax, ebx
je 0x4488a2
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
cmp eax, ebx
je 0x448a0a
cmp eax, 0xffffffff
je 0x448a0a
mov eax, dword [0x4e3954]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e3954
call edx
add eax, 0x10
mov dword [ebp - 0x220], eax
mov byte [ebp - 4], 2
call fcn.0048de41
push eax
lea eax, [ebp - 0x218]
push eax
push str._s_d
lea edi, [ebp - 0x220]
call fcn.00406770
mov eax, dword [0x4e7008]
add esp, 0xc
cmp eax, ebx
jne 0x4488f1
call fcn.00449cf0
mov dword [0x4e7008], eax
mov ecx, dword [eax + 0x140]
cmp ecx, 2
jne 0x448913
mov eax, dword [0x4e7008]
mov edx, dword [eax + 0x140]
cmp edx, ecx
jne 0x448913
mov eax, dword [eax + 0xb4]
jmp 0x448915
xor eax, eax
mov esi, dword [ebp - 0x220]
push esi
cmp eax, ebx
je 0x44892b
mov ecx, dword [ebp - 0x21c]
push ecx
call eax
jmp 0x448938
mov edx, dword [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
cmp eax, ebx
jne 0x448944
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x448956
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x21c]
call fcn.004064b0
lea eax, [esi - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x448976
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x224]
inc eax
cmp eax, 7
mov dword [ebp - 0x224], eax
jl 0x448867
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, dword [ebp - 0x228]
call fcn.004064b0
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4489c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4489e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
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.0048ac3c
mov esp, ebp
pop ebp
ret
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x448a2f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x448a55
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x4489ee