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

Disassembly:
push 0xffffffffffffffff
push 0x440f90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov ebp, ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x48], 0
call fcn.0041a715
mov byte [esp + 0x48], 1
call fcn.004335c2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x10], edi
push 0x444ac8
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x54], 2
call fcn.00403020
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x50], 3
call fcn.0041a7aa
mov esi, eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x48], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40f938
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test esi, esi
je 0x40fab9
lea ecx, [esp + 0x28]
call fcn.0041a4f2
mov dword [esp + 0x20], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x2c]
call fcn.0041aa97
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [edi - 0x10]
cmp eax, esi
mov byte [esp + 0x48], 4
je 0x40f9b6
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x40f9a4
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x40f9a4
push eax
call fcn.00402510
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40f99b
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
lea edi, [ebx + 0x10]
mov dword [esp + 0x10], edi
jmp 0x40f9b6
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00402960
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x48], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f9d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x28]
call fcn.0041a6d8
test eax, eax
jne 0x40faad
mov eax, dword [esp + 0x28]
push 0x10
lea ecx, [esp + 0x2c]
call dword [eax + 0x38]
test eax, eax
je 0x40fa5e
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.00407fd0
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x443cf8
push eax
push ecx
mov byte [esp + 0x58], 5
call fcn.00403020
mov ecx, ebp
call fcn.0040f8a0
test eax, eax
mov eax, dword [esp + 0x18]
sete bl
add eax, 0xfffffff0
mov byte [esp + 0x48], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40fa56
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
jne 0x40fb30
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00407fd0
mov eax, dword [eax]
push 5
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ebx, eax
mov eax, dword [esp + 0x1c]
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 0x40faa5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
jne 0x40fb30
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x40f940
mov esi, dword [esp + 0x50]
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ebx, eax
lea eax, [edi - 0x10]
mov byte [esp + 0x48], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fae9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x28]
mov byte [esp + 0x48], 0
call fcn.0041a73b
lea eax, [esi - 0x10]
mov dword [esp + 0x48], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fb19
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 4
lea eax, [edi - 0x10]
mov byte [esp + 0x48], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fb4f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x28]
mov byte [esp + 0x48], 0
call fcn.0041a73b
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
mov dword [esp + 0x48], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fb83
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x3c
ret 4