Function at 0x411890
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7356d9
mov eax, dword fs:[0]
push eax
sub esp, 0x18c
mov eax, dword [0x82384c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa0], 0
mov byte [ebp - 0x99], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x80]
push ecx
call fcn.004113d0
add esp, 8
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x108]
push eax
call fcn.00411cd0
add esp, 8
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0xb0], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0xb0]
push edx
lea eax, [ebp - 0x68]
push eax
call fcn.00411dc0
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x108]
call fcn.00405650
lea ecx, [ebp - 0x68]
call fcn.004144c0
cmp eax, 3
jbe 0x411981
push 3
push 0
lea ecx, [ebp - 0x138]
push ecx
lea ecx, [ebp - 0x68]
call fcn.00414370
mov dword [ebp - 0xb4], eax
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xa0]
or eax, 1
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xb8]
mov dword [ebp - 0xa8], ecx
jmp 0x4119b1
lea edx, [ebp - 0x68]
push edx
lea ecx, [ebp - 0x120]
call fcn.00405790
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xa0]
or eax, 2
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0xa8], ecx
mov edx, dword [ebp - 0xa8]
mov dword [ebp - 0xc0], edx
mov eax, dword [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x98]
call fcn.00408a10
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0xa0]
and ecx, 2
je 0x4119f3
and dword [ebp - 0xa0], 0xfffffffd
lea ecx, [ebp - 0x120]
call fcn.00405650
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0xa0]
and edx, 1
je 0x411a14
and dword [ebp - 0xa0], 0xfffffffe
lea ecx, [ebp - 0x138]
call fcn.00405650
mov dword [ebp - 0xa4], 0
jmp 0x411a2f
mov eax, dword [ebp - 0xa4]
add eax, 1
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0xa
jae 0x411b83
call fcn.005aae65
xor edx, edx
mov ecx, 0x10000
div ecx
mov dword [ebp - 0xc4], edx
mov edx, dword [ebp - 0xc4]
push edx
push str._04X
push 0x20
lea eax, [ebp - 0x50]
push eax
call fcn.0040d6f0
add esp, 0x10
lea ecx, [ebp - 0x98]
push ecx
lea edx, [ebp - 0x80]
push edx
lea eax, [ebp - 0x198]
push eax
call fcn.00416ec0
add esp, 0xc
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], ecx
mov byte [ebp - 4], 7
lea edx, [ebp - 0x50]
push edx
mov eax, dword [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x180]
push ecx
call fcn.00417080
add esp, 0xc
mov dword [ebp - 0xec], eax
mov edx, dword [ebp - 0xec]
mov dword [ebp - 0xe8], edx
mov byte [ebp - 4], 8
push 0x7ed174
mov eax, dword [ebp - 0xe8]
push eax
lea ecx, [ebp - 0x168]
push ecx
call fcn.00417080
add esp, 0xc
mov dword [ebp - 0xe4], eax
mov edx, dword [ebp - 0xe4]
mov dword [ebp - 0xf0], edx
mov byte [ebp - 4], 9
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xf0]
push ecx
lea edx, [ebp - 0x150]
push edx
call fcn.00416f80
add esp, 0xc
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.00405690
lea ecx, [ebp - 0x150]
call fcn.00405650
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x168]
call fcn.00405650
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x180]
call fcn.00405650
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x198]
call fcn.00405650
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00411850
add esp, 4
movzx edx, al
test edx, edx
jne 0x411b7e
mov byte [ebp - 0x99], 1
jmp 0x411b83
jmp 0x411a20
movzx eax, byte [ebp - 0x99]
test eax, eax
jne 0x411bcd
mov dword [ebp - 0xd4], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x98]
call fcn.00405650
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.00405650
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.00405650
mov eax, dword [ebp - 0xd4]
jmp 0x411cb5
mov ecx, dword [ebp + 0x10]
call fcn.00405580
push eax
mov ecx, dword [ebp + 8]
call fcn.00405580
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x411c28
mov dword [ebp - 0xd8], 2
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x98]
call fcn.00405650
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.00405650
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.00405650
mov eax, dword [ebp - 0xd8]
jmp 0x411cb5
push 4
push 0
mov ecx, dword [ebp + 0x10]
call fcn.00405580
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x411c7b
mov dword [ebp - 0xdc], 3
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x98]
call fcn.00405650
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.00405650
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.00405650
mov eax, dword [ebp - 0xdc]
jmp 0x411cb5
mov dword [ebp - 0xe0], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x98]
call fcn.00405650
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.00405650
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.00405650
mov eax, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fb522
mov esp, ebp
pop ebp
ret