Function at 0x11f22fe0
Capabilities:
Delete file
Get file size
Move file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x11fc5d68
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
push ebp
push esi
xor ebp, ebp
push edi
mov dword [0x12135d40], ebp
call ebx
mov esi, dword [esp + 0x34]
mov dword [0x12135d48], eax
cmp esi, ebp
je 0x11f23312
push esi
call fcn.11e67d05
add esp, 4
test eax, eax
je 0x11f23312
cmp dword [0x12135d4c], ebp
jne 0x11f2304f
mov dword [0x12135d40], 2
mov dword [0x12135d44], 0x49c
jmp 0x11f23326
push esi
lea ecx, [esp + 0x1c]
call fcn.11f2fc40
push esi
mov dword [esp + 0x30], ebp
call fcn.11ee6a70
add esp, 4
cmp eax, ebp
je 0x11f23090
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xffffffff
call fcn.11f2fce0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
push ebp
push ebp
push 3
push ebp
push 1
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x11f230d7
mov dword [0x12135d40], 4
mov dword [0x12135d44], 0x4ba
call ebx
lea ecx, [esp + 0x18]
mov dword [0x12135d48], eax
mov dword [esp + 0x2c], edi
call fcn.11f2fce0
jmp 0x11f2332d
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ebp
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x11fd6250]
mov dword [esp + 0x10], ecx
mov edx, dword [0x12136280]
lea eax, [esp + 0x10]
push edx
push eax
push 0x12052ea0
push esi
mov byte [esp + 0x3c], 1
call fcn.11f307e0
add esp, 0x10
test eax, eax
jne 0x11f2315c
mov dword [0x12135d40], 0x24
mov dword [0x12135d44], 0x4c7
call ebx
lea ecx, [esp + 0x10]
mov dword [0x12135d48], eax
mov byte [esp + 0x2c], 0
call fcn.11e7f280
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xffffffff
call fcn.11f2fce0
jmp 0x11f2332d
mov edx, dword [esp + 0x3c]
xor eax, eax
test edx, edx
setne al
test eax, eax
mov dword [esp + 0x3c], eax
je 0x11f2317f
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x11f2317f
test ebp, ebp
jne 0x11f2317f
mov dword [esp + 0x3c], ebp
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x10]
push ecx
push 0
push edx
push 0
push 0
push 0
push eax
push esi
mov ebp, 1
call fcn.11f23350
add esp, 0x20
test eax, eax
jne 0x11f2329e
mov ecx, dword [0x11fd6250]
mov dword [esp + 0x34], ecx
mov edx, dword [0x12136280]
lea eax, [esp + 0x34]
push edx
push eax
push 0x1204f154
push esi
mov byte [esp + 0x3c], 2
call fcn.11f307e0
add esp, 0x10
test eax, eax
je 0x11f232a5
mov ecx, dword [esp + 0x34]
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 2
push ecx
push esi
call edi
test eax, eax
je 0x11f23281
mov edx, dword [esp + 0x10]
push 3
push esi
push edx
call edi
test eax, eax
je 0x11f23245
mov eax, dword [esp + 0x3c]
xor ebp, ebp
test eax, eax
je 0x11f23220
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x34]
push eax
call fcn.11e7f410
jmp 0x11f232c5
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x11f232c5
mov edx, dword [esp + 0x34]
push edx
call fcn.11f30600
add esp, 4
jmp 0x11f232c5
mov dword [0x12135d40], 0x27
mov dword [0x12135d44], 0x502
call ebx
mov dword [0x12135d48], eax
mov eax, dword [esp + 0x34]
push 3
push esi
push eax
call edi
test eax, eax
jne 0x11f232c5
lea ecx, [esp + 0x34]
or ebp, 0xffffffff
push ecx
mov ecx, dword [esp + 0x3c]
call fcn.11e7f410
jmp 0x11f232c5
mov dword [0x12135d40], 0x28
mov dword [0x12135d44], 0x511
call ebx
mov dword [0x12135d48], eax
jmp 0x11f232c5
mov ebp, 1
jmp 0x11f232de
mov dword [0x12135d40], 0x24
mov dword [0x12135d44], 0x4e4
call ebx
mov dword [0x12135d48], eax
mov ebp, 1
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 1
call fcn.11e7f280
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
call fcn.11e7f280
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xffffffff
call fcn.11f2fce0
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
mov dword [0x12135d40], 1
mov dword [0x12135d44], 0x495
call ebx
mov dword [0x12135d48], eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret