Function at 0x41a730
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x47a190
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a9128]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x2c]
push eax
call fcn.00401b60
mov edx, dword [esp + 0x30]
lea ecx, [esi + 4]
push edx
call fcn.00401b60
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
mov edx, dword [esi]
mov dword [esi + 8], ecx
mov eax, dword [edx - 0xc]
test eax, eax
jle 0x41aa37
call fcn.00434e50
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41a7a0
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 + 0x2c], eax
mov dword [esp + 0x24], 0
call fcn.00434e50
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41a7d2
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 + 0x30], ebp
mov ecx, dword [esi + 8]
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
mov byte [esp + 0x2c], 1
call fcn.00418eb0
push eax
lea eax, [esp + 0x38]
push esi
mov bl, 2
push eax
mov byte [esp + 0x30], bl
call fcn.00401c40
add esp, 0xc
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 3
call fcn.00401b60
mov eax, dword [esp + 0x34]
mov byte [esp + 0x24], bl
add eax, 0xfffffff0
or ebx, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a841
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 + 0x24], 1
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a865
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x2c]
push edi
call fcn.0040a6c0
add esp, 4
test eax, eax
mov dword [esi + 0x18], eax
jne 0x41a8bd
push esi
lea ecx, [esp + 0x38]
push ecx
mov ecx, esi
call fcn.00418fb0
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 4
call fcn.00401b60
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x24], 1
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41a8b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x2c]
push edi
call fcn.0040a6c0
mov ecx, dword [esi]
mov dword [esi + 0x18], eax
mov eax, dword [ecx - 0xc]
add esp, 4
cmp eax, 0x104
jl 0x41a91b
lea eax, [ebp - 0x10]
mov byte [esp + 0x24], 0
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41a8f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x24], ebx
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x41aa37
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41aa37
cmp dword [edi - 0xc], 0x104
jl 0x41a96a
lea eax, [ebp - 0x10]
mov byte [esp + 0x24], 0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a944
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x24], ebx
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x41aa37
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41aa37
call fcn.00434e50
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41a984
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
push esi
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 5
call fcn.00401b60
push esi
mov ecx, esi
call fcn.004162d0
mov ecx, dword [esp + 0x38]
push esi
mov dword [esi + 0x14], eax
call fcn.00401b60
mov eax, dword [esi]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x41aa15
push esi
mov ecx, esi
call fcn.00416290
test eax, eax
je 0x41a9e0
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.00418660
jmp 0x41a9ec
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call fcn.004168e0
lea ecx, [esp + 0x14]
mov dword [esi + 0x20], 1
call fcn.00401470
lea ecx, [esp + 0x30]
call fcn.00401470
lea ecx, [esp + 0x2c]
call fcn.00401470
mov eax, 1
jmp 0x41aa39
lea ecx, [esp + 0x14]
mov dword [esi + 0x20], 0
call fcn.00401470
lea ecx, [esp + 0x30]
call fcn.00401470
lea ecx, [esp + 0x2c]
call fcn.00401470
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0x10