Function at 0x4057b0
Capabilities:
Delete file
Move file

Disassembly:
push 0xffffffffffffffff
push 0x42cd40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x58], 1
call fcn.00408f35
mov byte [esp + 0x58], 2
call fcn.0041fbe3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea ebp, [eax + 0x10]
mov dword [esp + 0x10], ebp
push 0x42e658
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x64], 3
call fcn.004042c0
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x60], 4
call fcn.00408fc8
mov esi, eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x58], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40584a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test esi, esi
je 0x405a69
lea ecx, [esp + 0x38]
call fcn.00408d16
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x3c]
call fcn.004091f0
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [ebp - 0x10]
cmp eax, esi
mov byte [esp + 0x58], 5
je 0x4058c8
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x4058b6
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4058b6
push eax
call fcn.00401800
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x4058ad
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
lea ebp, [ebx + 0x10]
mov dword [esp + 0x10], ebp
jmp 0x4058c8
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.004019a0
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x58], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4058eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x38]
call fcn.00408efc
test eax, eax
jne 0x405a5d
mov eax, dword [esp + 0x38]
push 0x10
lea ecx, [esp + 0x3c]
call dword [eax + 0x38]
test eax, eax
je 0x4059cf
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.00404210
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x42ea80
push eax
push ecx
mov byte [esp + 0x68], 6
call fcn.004042c0
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0x68], 7
call fcn.00404210
push ecx
mov edx, esp
mov dword [esp + 0x3c], esp
push 0x42ea80
push eax
push edx
mov byte [esp + 0x6c], 8
call fcn.004042c0
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x60], 9
call fcn.004057b0
test eax, eax
mov eax, dword [esp + 0x1c]
sete bl
add eax, 0xfffffff0
mov byte [esp + 0x58], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4059a4
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 + 0x58], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4059c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
jne 0x405b03
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.00404210
mov esi, eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x64], 0xa
call fcn.00404210
mov esi, dword [esi]
mov eax, dword [eax]
push 5
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov ebx, eax
mov eax, dword [esp + 0x24]
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 0x405a32
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x58], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405a55
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
jne 0x405b03
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x405852
mov esi, dword [esp + 0x60]
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov edi, eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x58], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405a99
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x38]
mov byte [esp + 0x58], 1
call fcn.00408f59
lea eax, [esi - 0x10]
mov byte [esp + 0x58], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405ac6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x64]
add eax, 0xfffffff0
mov dword [esp + 0x58], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405aec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, edi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 8
lea eax, [ebp - 0x10]
mov byte [esp + 0x58], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405b22
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x38]
mov byte [esp + 0x58], 1
call fcn.00408f59
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
mov byte [esp + 0x58], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405b53
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x64]
add eax, 0xfffffff0
mov dword [esp + 0x58], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405b79
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x4c
ret 8