Function at 0x100030e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
mov eax, dword [0x1007b060]
xor eax, esp
mov dword [esp + 0xa0], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push 0
push eax
lea eax, [esp + 0x94]
mov dword [esp + 0x8c], 0xf
push eax
mov dword [esp + 0x8c], 0
mov byte [esp + 0x7c], 0
mov dword [esp + 0x78], vtable.AnsiString.0
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], 0
mov byte [esp + 0x5c], 0
mov dword [esp + 0x58], vtable.AnsiString.0
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
mov dword [esp + 0x38], vtable.AnsiString.0
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
mov dword [esp + 0x18], vtable.AnsiString.0
call fcn.1005b9c0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x100031a3
lea ecx, [esi + 4]
lea eax, [esp + 0x70]
cmp eax, ecx
je 0x100031b3
jmp 0x100031a5
xor ecx, ecx
push 0xffffffffffffffff
push 0
push ecx
lea ecx, [esp + 0x7c]
call fcn.10003660
cmp dword [esp + 0xa4], 0x10
mov eax, dword [esi + 0x1c]
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], vtable.AnsiString.0
jb 0x100031e4
push dword [esp + 0x90]
call edi
add esp, 4
push 0
lea eax, [esp + 0x90]
push ebx
push eax
call fcn.1005b9c0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1000320a
lea ecx, [esi + 4]
lea eax, [esp + 0x50]
cmp eax, ecx
je 0x1000321a
jmp 0x1000320c
xor ecx, ecx
push 0xffffffffffffffff
push 0
push ecx
lea ecx, [esp + 0x5c]
call fcn.10003660
cmp dword [esp + 0xa4], 0x10
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x68], eax
mov dword [esp + 0x8c], vtable.AnsiString.0
jb 0x10003242
push dword [esp + 0x90]
call edi
add esp, 4
push str.document.xml
lea ecx, [esp + 0x50]
call fcn.10056210
mov esi, eax
test esi, esi
je 0x10003263
lea ecx, [esi + 4]
lea eax, [esp + 0x10]
cmp eax, ecx
je 0x10003273
jmp 0x10003265
xor ecx, ecx
push 0xffffffffffffffff
push 0
push ecx
lea ecx, [esp + 0x1c]
call fcn.10003660
mov eax, dword [esi + 0x1c]
lea ecx, [esp + 0x4c]
push str.simpledoc.xml
mov dword [esp + 0x2c], eax
call fcn.10056210
mov esi, eax
test esi, esi
je 0x1000329b
lea ecx, [esi + 4]
lea eax, [esp + 0x30]
cmp eax, ecx
je 0x100032ab
jmp 0x1000329d
xor ecx, ecx
push 0xffffffffffffffff
push 0
push ecx
lea ecx, [esp + 0x3c]
call fcn.10003660
mov eax, dword [esi + 0x1c]
cmp dword [esp + 0x24], 0x10
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x10]
cmovae eax, dword [esp + 0x10]
push eax
call esi
cmp dword [esp + 0x44], 0x10
lea eax, [esp + 0x30]
cmovae eax, dword [esp + 0x30]
push eax
call esi
push 0
call fcn.10003540
cmp dword [esp + 0x64], 0x10
lea edx, [esp + 0x50]
lea ecx, [esp + 0x70]
cmovae edx, dword [esp + 0x50]
cmp dword [esp + 0x84], 0x10
cmovae ecx, dword [esp + 0x70]
call fcn.10002f60
mov esi, eax
test esi, esi
jne 0x1000332c
cmp dword [esp + 0x44], 0x10
lea edx, [esp + 0x30]
lea ecx, [esp + 0x10]
cmovae edx, dword [esp + 0x30]
cmp dword [esp + 0x24], 0x10
cmovae ecx, dword [esp + 0x10]
call fcn.100028a0
cmp dword [esp + 0x24], 0x10
mov dword [esp + 0xc], vtable.AnsiString.0
jb 0x10003344
push dword [esp + 0x10]
call edi
add esp, 4
cmp dword [esp + 0x44], 0x10
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
mov dword [esp + 0x2c], vtable.AnsiString.0
jb 0x10003371
push dword [esp + 0x30]
call edi
add esp, 4
cmp dword [esp + 0x64], 0x10
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
mov dword [esp + 0x4c], vtable.AnsiString.0
jb 0x1000339e
push dword [esp + 0x50]
call edi
add esp, 4
cmp dword [esp + 0x84], 0x10
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], 0
mov byte [esp + 0x50], 0
mov dword [esp + 0x6c], vtable.AnsiString.0
jb 0x100033ce
push dword [esp + 0x70]
call edi
add esp, 4
mov ecx, dword [esp + 0xac]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10060998
mov esp, ebp
pop ebp
ret