Function at 0x10011597
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x22bc
call fcn.1002fb29
mov eax, dword [0x100400b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x22b4], ecx
mov dword [ebp - 0x22b8], edx
mov dword [ebp - 0x22bc], eax
test esi, esi
je 0x1001184a
test ecx, ecx
je 0x1001184a
test edx, edx
je 0x1001184a
mov ecx, esi
call fcn.1000df5e
test eax, eax
jne 0x10011601
push esi
call dword [sym.imp.kernel32.dll_DeleteFileW]
mov eax, 0x80044809
jmp 0x1001184f
push 0x104
lea edx, [ebp - 0x20c]
mov ecx, esi
call fcn.1000df5e
test eax, eax
js 0x1001184f
and dword [ebp - 0x22b0], 0
lea eax, [ebp - 0x22b0]
and dword [ebp - 0x22ac], 0
lea edx, [ebp - 0x229c]
and dword [ebp - 0x22a8], 0
push ebx
push edi
push eax
push ecx
lea ecx, [ebp - 0x20c]
call fcn.1000df5e
mov esi, eax
test esi, esi
js 0x1001182b
mov ebx, dword [ebp - 0x22ac]
test ebx, ebx
jg 0x10011669
mov esi, 0x80004005
jmp 0x1001182b
and dword [ebp - 0x22a0], 0
test ebx, ebx
jle 0x10011829
mov edi, dword [ebp - 0x22b0]
add edi, 0x5198
push dword [ebp - 0x22b4]
lea esi, [edi - 0x5198]
mov ecx, esi
call fcn.1000df5e
test eax, eax
js 0x1001180e
push 0x7d
push edi
call fcn.1001ddb2
pop ecx
pop ecx
test eax, eax
je 0x1001180e
add eax, 2
je 0x10011843
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x1254]
push 0x824
push eax
call fcn.1000df5e
add esp, 0x10
cmp eax, 0x50
je 0x10011843
push ecx
push dword [ebp - 0x22b8]
lea eax, [ebp - 0x1254]
mov edx, 0x824
mov ecx, edi
mov dword [ebp - 0x22a4], eax
call fcn.1000df5e
test eax, eax
je 0x1001183c
xor eax, eax
cmp ax, word [ebp - 0x1254]
je 0x1001176a
cmp dword [ebp + 0x18], eax
jne 0x1001176a
push 0x5c
pop eax
cmp ax, word [ebp - 0x1254]
jne 0x10011843
lea eax, [ebp - 0x1252]
mov dword [ebp - 0x22a4], eax
xor eax, eax
cmp ax, word [ebp - 0x1252]
je 0x10011843
lea ecx, [ebp - 0x1252]
call fcn.100084aa
test al, al
jne 0x10011843
lea eax, [ebp - 0x1252]
mov edx, 0x824
push eax
mov ecx, edi
call fcn.1000df5e
test eax, eax
je 0x10011843
push 0
push 0
push ecx
lea eax, [edi - 0x4150]
mov edx, esi
push eax
push ecx
push edi
lea ecx, [ebp - 0x20c]
call fcn.1000df5e
mov esi, eax
test esi, esi
js 0x1001182b
mov esi, dword [ebp - 0x22bc]
test esi, esi
je 0x1001180e
cmp dword [ebp + 0x20], 0
jle 0x1001180e
cmp dword [ebp - 0x22a0], 0
je 0x100117c0
push 0xffffffffffffffff
push 0x10039868
push dword [ebp + 0x20]
push esi
call fcn.1000df5e
add esp, 0x10
cmp eax, 0x50
je 0x1001183c
mov eax, dword [ebp - 0x22a4]
xor ecx, ecx
cmp cx, word [eax]
je 0x100117f9
cmp dword [ebp + 0x18], ecx
jne 0x100117f9
mov edx, dword [ebp + 0x20]
mov ecx, esi
push eax
call fcn.1000df5e
test eax, eax
jne 0x100117f9
push 0xffffffffffffffff
push 0x100393f0
push dword [ebp + 0x20]
push esi
call fcn.1000df5e
add esp, 0x10
cmp eax, 0x50
je 0x1001183c
mov edx, dword [ebp + 0x20]
lea eax, [edi - 0x4150]
push eax
mov ecx, esi
call fcn.1000df5e
test eax, eax
je 0x1001183c
mov eax, dword [ebp - 0x22a0]
add edi, 0x7228
inc eax
mov dword [ebp - 0x22a0], eax
cmp eax, ebx
jl 0x10011684
xor esi, esi
lea ecx, [ebp - 0x22b0]
call fcn.1000a277
pop edi
mov eax, esi
pop ebx
jmp 0x1001184f
mov esi, 0x80040161
jmp 0x1001182b
mov esi, 0x80041610
jmp 0x1001182b
mov eax, 0x80040013
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1001c65c
leave
ret 0x1c