Function at 0x11f094b0
Capabilities:
Delete file
Get file size

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x11fc5440
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
push edi
mov dword [0x12135738], ebx
call esi
mov ebp, dword [esp + 0x28]
mov dword [0x12135740], eax
cmp ebp, ebx
je 0x11f097ca
push ebp
call fcn.11e67d05
add esp, 4
test eax, eax
je 0x11f097ca
cmp dword [0x12135744], ebx
jne 0x11f0951f
mov dword [0x12135738], 2
mov dword [0x1213573c], 0x90e
jmp 0x11f097de
mov eax, dword [0x11fd6250]
mov dword [esp + 0x10], eax
mov esi, 1
push ebx
push 0x60
push esi
push 7
push 0x80
push 0x12019f
push ebp
mov dword [esp + 0x3c], ebx
call fcn.11f2fb50
mov edi, eax
add esp, 0x1c
cmp edi, 0xffffffff
je 0x11f096fd
push edi
call fcn.11ee1880
add esp, 4
cmp eax, ebx
jne 0x11f09721
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebx
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov esi, eax
call dword [0x1213494c]
mov edx, dword [0x12135c78]
lea eax, [esp + 0x10]
push edx
push eax
push 0x12052ea0
push ebp
call fcn.11f2f670
add esp, 0x10
test eax, eax
je 0x11f0972c
cmp dword [esp + 0x34], ebx
je 0x11f095be
cmp dword [esp + 0x38], ebx
je 0x11f095be
mov eax, dword [esp + 0x14]
mov edi, 1
cmp eax, ebx
jne 0x11f095c0
cmp esi, ebx
jne 0x11f095c0
xor edi, edi
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x18]
push eax
push ebx
push ecx
push 1
push edx
push ebp
call fcn.11f071b0
mov esi, eax
add esp, 0x20
cmp esi, ebx
jne 0x11f09761
mov eax, dword [0x11fd6250]
mov dword [esp + 0x28], eax
mov ecx, dword [0x12135c78]
lea edx, [esp + 0x28]
push ecx
push edx
push 0x1204f154
push ebp
mov byte [esp + 0x30], 1
call fcn.11f2f670
add esp, 0x10
test eax, eax
je 0x11f09768
mov eax, dword [esp + 0x28]
push eax
push ebp
call fcn.11f2f3a0
add esp, 8
test eax, eax
je 0x11f096d9
mov ecx, dword [esp + 0x10]
push ebp
push ecx
call fcn.11f2f3a0
add esp, 8
test eax, eax
je 0x11f0967d
xor esi, esi
cmp edi, ebx
je 0x11f09669
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x38]
push 0x103
push edx
push eax
call fcn.11e674bf
add esp, 0xc
jmp 0x11f0978c
mov ecx, dword [esp + 0x28]
push 1
push ecx
call fcn.11f2f0e0
add esp, 8
jmp 0x11f0978c
mov dword [0x12135738], 0x27
mov dword [0x1213573c], 0x96d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x28]
push ebp
push edx
mov dword [0x12135740], eax
call fcn.11f2f3a0
add esp, 8
test eax, eax
jne 0x11f0978c
mov eax, dword [esp + 0x30]
or esi, 0xffffffff
cmp eax, ebx
je 0x11f0978c
mov ecx, dword [esp + 0x28]
push 0x103
push ecx
push eax
call fcn.11e674bf
add esp, 0xc
jmp 0x11f0978c
mov dword [0x12135738], 0x28
mov dword [0x1213573c], 0x97b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x12135740], eax
jmp 0x11f0978c
mov dword [0x12135738], 4
mov dword [0x1213573c], 0x924
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x12135740], eax
jmp 0x11f097a4
push edi
xor esi, esi
call dword [0x1213494c]
jmp 0x11f097a4
mov dword [0x12135738], 0x24
mov dword [0x1213573c], 0x93e
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x10]
mov dword [0x12135740], eax
mov dword [esp + 0x20], 0xffffffff
call fcn.11e7f280
jmp 0x11f097e5
mov esi, 1
jmp 0x11f097a4
mov dword [0x12135738], 0x24
mov dword [0x1213573c], 0x957
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x12135740], eax
mov esi, 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x20], bl
call fcn.11e7f280
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.11e7f280
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
mov dword [0x12135738], 1
mov dword [0x1213573c], 0x907
call esi
mov dword [0x12135740], eax
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret