Function at 0x412d70
Capabilities:
Access peb ldr_data
Delete file
Move file

Disassembly:
push 0xffffffffffffffff
push 0x4468b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x814
mov eax, dword [0x45b1e4]
push ebx
push ebp
push esi
mov dword [esp + 0x81c], eax
push edi
mov ebp, ecx
mov ebx, dword [esp + 0x834]
push ebx
lea eax, [esp + 0x54]
push 0x448cf8
push eax
mov dword [esp + 0x838], 1
call fcn.00428c0a
add esp, 0xc
push 0x10000000
push str.Everyone
lea ecx, [esp + 0x58]
push ecx
mov ecx, 0x45c168
call fcn.0040eec0
lea ecx, [esp + 0x30]
call fcn.0041f9b5
mov byte [esp + 0x82c], 2
call fcn.00438ca4
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x10], edi
push 0x449e88
lea eax, [esp + 0x838]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x838], 3
call fcn.004037a0
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x834], 4
call fcn.0041fa4a
mov esi, eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x82c], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x412e5c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test esi, esi
je 0x41310d
lea ecx, [esp + 0x30]
call fcn.0041f792
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x34]
call fcn.0041fd37
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [edi - 0x10]
cmp eax, esi
mov byte [esp + 0x82c], 5
je 0x412edd
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x412ecb
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x412ecb
push eax
call fcn.00402c10
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x412ec2
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
lea edi, [ebx + 0x10]
mov dword [esp + 0x10], edi
jmp 0x412edd
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00403080
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x82c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412f03
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x30]
call fcn.0041f978
test eax, eax
jne 0x4130fa
mov eax, dword [esp + 0x30]
push 0x10
lea ecx, [esp + 0x34]
call dword [eax + 0x38]
test eax, eax
je 0x412ffd
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x83c]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.00407c30
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push 0x448e8c
push eax
push ecx
mov byte [esp + 0x83c], 6
call fcn.004037a0
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x83c]
push eax
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0x83c], 7
call fcn.00407c30
push ecx
mov edx, esp
mov dword [esp + 0x54], esp
push 0x448e8c
push eax
push edx
mov byte [esp + 0x840], 8
call fcn.004037a0
mov ecx, ebp
mov byte [esp + 0x834], 9
call fcn.00412d70
test eax, eax
mov eax, dword [esp + 0x2c]
sete bl
add eax, 0xfffffff0
mov byte [esp + 0x82c], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412fcf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x82c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412ff5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
jne 0x4131c4
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x838]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.00407c30
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x54]
push 0x448cf8
push ecx
call fcn.00428c0a
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x413047
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0x10000000
push str.Everyone
lea eax, [esp + 0x58]
push eax
mov ecx, 0x45c168
call fcn.0040eec0
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x83c]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.00407c30
mov esi, eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x838]
push edx
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x838], 0xa
call fcn.00407c30
mov esi, dword [esi]
mov eax, dword [eax]
push 5
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ebx, eax
mov eax, dword [esp + 0x18]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4130cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x82c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4130f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
jne 0x4131c4
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x412e64
mov ebx, dword [esp + 0x834]
push 4
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov esi, eax
lea eax, [edi - 0x10]
mov byte [esp + 0x82c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41313c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x30]
mov byte [esp + 0x82c], 1
call fcn.0041f9db
lea eax, [ebx - 0x10]
mov byte [esp + 0x82c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41316f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x838]
add eax, 0xfffffff0
mov dword [esp + 0x82c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41319b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, esi
mov ecx, dword [esp + 0x824]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x820]
call fcn.00428731
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x820
ret 8
lea eax, [edi - 0x10]
mov byte [esp + 0x82c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4131e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x30]
mov byte [esp + 0x82c], 1
call fcn.0041f9db
mov eax, dword [esp + 0x834]
add eax, 0xfffffff0
mov byte [esp + 0x82c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413220
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x838]
add eax, 0xfffffff0
mov dword [esp + 0x82c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41324c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
jmp 0x41319d