Function at 0x40a970
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x478330
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a9128]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
lea ecx, [esp + 0x2c]
call fcn.0043616d
mov dword [esp + 0x4c], 0
call fcn.00434e50
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40a9c2
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x4c], 1
call fcn.00434e50
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40a9f1
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x4c], 2
call fcn.00434e50
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40aa20
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x20], ebp
movsx edi, byte [esp + 0x54]
push edi
lea ecx, [esp + 0x18]
push str._c:RECYCLER88_
push ecx
mov byte [esp + 0x58], 3
call fcn.00401c20
mov esi, dword [esp + 0x20]
push esi
call fcn.0040a6c0
add esp, 0x10
test eax, eax
je 0x40aaec
lea eax, [ebp - 0x10]
mov byte [esp + 0x4c], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40aa80
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x4c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40aaa1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x4c], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40aac2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], 0xffffffff
call fcn.00436191
mov eax, 1
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
push edi
lea ecx, [esp + 0x18]
push str._c:.
push ecx
call fcn.00401c20
mov edx, dword [esp + 0x20]
add esp, 0xc
push 0
push edx
lea ecx, [esp + 0x34]
call fcn.004361f9
test eax, eax
je 0x40ac3f
mov bl, 4
lea esp, [esp]
lea ecx, [esp + 0x2c]
call fcn.00435e86
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 0x38]
push 0x10
lea ecx, [esp + 0x30]
call edx
test eax, eax
je 0x40ac30
lea ecx, [esp + 0x2c]
call fcn.00436134
test eax, eax
jne 0x40ac30
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x30]
call fcn.00436398
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x50], bl
call fcn.00436324
cmp dword [0x4aa8cc], 0
mov byte [esp + 0x4c], 5
je 0x40ab94
mov edx, dword [esp + 0x18]
push edx
push str._sMICROSOFT_7701091_6666888_16826688.._
lea eax, [esp + 0x24]
push eax
jmp 0x40aba3
mov ecx, dword [esp + 0x18]
push ecx
push str._sMICROSOFT_7701091_6666888_16826688..._
lea edx, [esp + 0x24]
push edx
call fcn.00401c20
mov esi, dword [esp + 0x28]
add esp, 0xc
push esi
call fcn.0040a6c0
add esp, 4
test eax, eax
je 0x40abe7
push edi
lea eax, [esp + 0x24]
push str._c:RECYCLER88
push eax
call fcn.00401c20
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
add esp, 0xc
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x40acd6
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x4c], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40ac0b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x4c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ac30
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x28], 0
jne 0x40ab20
mov ebx, dword [esp + 0x1c]
lea ecx, [esp + 0x2c]
call fcn.00435db6
lea eax, [ebp - 0x10]
mov byte [esp + 0x4c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ac69
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x4c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ac8a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x4c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40acaf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], 0xffffffff
call fcn.00436191
xor eax, eax
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
lea ecx, [esp + 0x2c]
call fcn.00435db6
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x4c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ad03
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x4c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ad28
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x4c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ad49
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x4c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ad6a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
jmp 0x40aaa4