Function at 0x1085259
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1138
call fcn.0107ade0
mov eax, dword [0x10b3818]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x112e
lea eax, [ebp - 0x1132]
push ebx
push eax
mov esi, ecx
mov dword [ebp - 0x1138], ebx
mov word [ebp - 0x1134], bx
call fcn.0107aa60
add esp, 0xc
mov edi, 0x1007c60
lea eax, [esi + 0x30]
push eax
call dword [fcn.010011c4]
cmp dword [esi + 0x18], ebx
jle 0x10852ca
lea ecx, [esi + 0x14]
cmp dword [ecx + 4], ebx
push ebx
jle 0x1085486
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [esi + 0x2c], eax
call fcn.010840d5
jmp 0x10852cd
mov dword [esi + 0x2c], ebx
lea eax, [esi + 0x30]
push eax
call dword [fcn.010011c0]
mov eax, dword [esi + 0x2c]
cmp eax, ebx
je 0x1085494
push dword [eax]
mov ecx, esi
call fcn.01083b5e
test eax, eax
je 0x108547a
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x108547a
mov ebx, dword [eax + 8]
test bl, 8
mov eax, dword [eax + 0x18]
je 0x108533e
mov eax, dword [0x10b30cc]
cmp eax, 0x10b30cc
je 0x108532e
test byte [eax + 0x1c], 4
je 0x108532e
mov ecx, dword [esi + 0x2c]
push dword [ecx]
push edi
push 0x23
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01026c2b
mov eax, dword [esi + 0x2c]
push dword [eax]
call dword [0x1001178]
jmp 0x1085478
cmp dword [esi + 0x68], 0
je 0x1085392
push 0x898
lea ecx, [ebp - 0x1134]
push ecx
push eax
call fcn.01086f89
test eax, eax
jne 0x1085392
mov eax, dword [0x10b30cc]
cmp eax, 0x10b30cc
je 0x1085386
test byte [eax + 0x1c], 4
je 0x1085386
lea ecx, [ebp - 0x1134]
push ecx
mov ecx, dword [esi + 0x2c]
push dword [ecx]
push edi
push 0x24
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ab68
lea eax, [ebp - 0x1134]
push eax
jmp 0x108543e
test bl, 4
mov ecx, dword [esi + 0x2c]
mov edx, dword [ecx + 8]
je 0x10853df
test edx, edx
je 0x10853bb
mov eax, dword [0x10b30cc]
cmp eax, 0x10b30cc
je 0x1085406
test byte [eax + 0x1c], 4
je 0x1085406
push edx
push dword [ecx]
push edi
push 0x25
jmp 0x10853fb
mov eax, dword [0x10b30cc]
cmp eax, 0x10b30cc
je 0x1085478
test byte [eax + 0x1c], 1
je 0x1085478
push dword [ecx]
push edi
push 0x26
jmp 0x1085464
test edx, edx
je 0x108540e
mov eax, dword [0x10b30cc]
cmp eax, 0x10b30cc
je 0x1085406
test byte [eax + 0x1c], 4
je 0x1085406
push edx
push dword [ecx]
push edi
push 0x27
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ab68
mov eax, dword [esi + 0x2c]
push dword [eax + 8]
jmp 0x108543e
mov edx, dword [ecx + 4]
test edx, edx
je 0x108544d
mov eax, dword [0x10b30cc]
cmp eax, 0x10b30cc
je 0x1085438
test byte [eax + 0x1c], 4
je 0x1085438
push edx
push dword [ecx]
push edi
push 0x28
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ab68
mov eax, dword [esi + 0x2c]
push dword [eax + 4]
mov ecx, esi
call fcn.010849d1
mov dword [ebp - 0x1138], eax
jmp 0x108546f
mov eax, dword [0x10b30cc]
cmp eax, 0x10b30cc
je 0x1085478
test byte [eax + 0x1c], 1
je 0x1085478
push dword [ecx]
push edi
push 0x29
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01026c2b
cmp dword [ebp - 0x1138], 0
jne 0x1085494
xor ebx, ebx
mov ecx, esi
call fcn.010847d7
jmp 0x10852a0
push ebx
push 1
push 0xc000008c
call dword [fcn.01001218]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x1138]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0107a6bf
leave
ret