Function at 0x10014170
Capabilities:
Delete file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1012345e
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x1015d2f0]
xor eax, esp
mov dword [esp + 0xf0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1015d2f0]
xor eax, esp
push eax
lea eax, [esp + 0x108]
mov dword fs:[0], eax
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, ecx
lea ebp, [esi + 0x3c]
lea edi, [ebp + 0x20]
push edi
mov dword [esp + 0x60], ebp
call ebx
mov ebp, dword [ebp + 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebp, ebp
ja 0x100141ec
lea edi, [esi + 0x94]
push edi
call ebx
mov ebx, dword [esi + 0x90]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
jbe 0x10014834
xor edi, edi
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], edi
mov byte [esp + 0x64], 0
push 0xffffffffffffffff
push edi
lea eax, [esi + 0x20]
push eax
lea ecx, [esp + 0x6c]
mov dword [esp + 0x11c], edi
call fcn.100057a0
push 1
push 0x1013af20
lea ecx, [esp + 0x68]
call fcn.10006400
mov ebx, 0x10
push ebx
push 0x1013e004
lea ecx, [esp + 0x68]
call fcn.10006400
cmp dword [esp + 0x74], edi
jbe 0x10014293
mov eax, dword [esp + 0x64]
cmp dword [esp + 0x78], ebx
jae 0x1001424e
lea eax, [esp + 0x64]
push edi
push 0x80
push 3
push edi
push 1
push accept
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x10014273
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1001427e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x10014293
mov eax, dword [esp + 0x64]
cmp dword [esp + 0x78], ebx
jae 0x1001428c
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x7c]
push ecx
call fcn.10001d40
push str.__xml_version_1.0__encoding_UTF_8____n
lea ecx, [esp + 0x80]
mov byte [esp + 0x114], 1
call fcn.1002ded0
push edi
push str.datacheckcout
xor ecx, ecx
lea edi, [esp + 0x84]
call fcn.100311e0
test al, al
je 0x100147d8
lea edx, [esp + 0x24]
push edx
call fcn.10040b80
lea eax, [esp + 0x24]
push eax
add esi, 0x74
push esi
mov byte [esp + 0x118], 2
call fcn.10016540
mov ecx, dword [esp + 0x38]
mov edi, dword [ecx]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], ebx
mov esi, dword [esp + 0x38]
xor ebp, ebp
cmp ebx, ebp
je 0x10014314
cmp ebx, dword [esp + 0x24]
je 0x10014319
call fcn.100f3f6c
cmp edi, esi
je 0x100144a9
cmp ebx, ebp
jne 0x1001449e
call fcn.100f3f6c
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x1001433a
call fcn.100f3f6c
mov esi, dword [edi + 8]
cmp esi, ebp
je 0x1001447c
mov ecx, dword [esp + 0xb8]
cmp ecx, ebp
je 0x10014392
cmp dword [esp + 0xc8], 1
jne 0x10014392
mov eax, dword [esp + 0xbc]
xor edx, edx
cmp eax, ebp
setne dl
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ebp
mov dword [esp + 0xcc], ebp
mov dword [esp + 0xd0], ebp
mov dword [esp + 0xc8], edx
push ebp
push str.item
xor ecx, ecx
lea edi, [esp + 0x84]
call fcn.100311e0
test al, al
je 0x10014409
mov eax, dword [esi]
push eax
push ecx
mov eax, esp
mov ecx, edi
mov dword [esp + 0x28], esp
mov dword [eax], str.start
call fcn.10013790
mov ecx, dword [esi + 4]
push ecx
push ecx
mov eax, esp
mov ecx, edi
mov dword [esp + 0x28], esp
mov dword [eax], 0x1013e038
call fcn.10013790
mov edx, dword [esi + 8]
push edx
push ecx
mov eax, esp
mov ecx, edi
mov dword [esp + 0x28], esp
mov dword [eax], str.first
call fcn.10013790
mov eax, dword [esi + 0xc]
push eax
push ecx
mov eax, esp
mov ecx, edi
mov dword [esp + 0x28], esp
mov dword [eax], str.count
call fcn.10013790
mov eax, dword [esp + 0xb4]
cmp eax, ebp
je 0x1001446f
mov ebx, dword [esp + 0xe0]
mov ebx, dword [ebx]
mov edx, dword [esp + 0xb8]
mov ecx, eax
mov edi, eax
and eax, 0xffff
sar edi, 0x10
mov edi, dword [ebx + edi*4]
mov ebx, dword [esp + 0x18]
shl eax, 5
mov eax, dword [edi + eax + 0x10]
mov dword [esp + 0xbc], edx
xor edx, edx
cmp ecx, ebp
setne dl
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xcc], ebp
mov dword [esp + 0xd0], ebp
mov dword [esp + 0xc8], edx
push esi
call fcn.100f4085
mov edi, dword [esp + 0x20]
add esp, 4
cmp ebx, ebp
jne 0x100144a5
call fcn.100f3f6c
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x10014491
call fcn.100f3f6c
mov eax, dword [edi]
mov dword [esp + 0x1c], eax
mov edi, eax
jmp 0x10014304
mov eax, dword [ebx]
jmp 0x10014330
mov eax, dword [ebx]
jmp 0x10014487
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x38]
mov dword [ecx + 4], ecx
mov dword [esp + 0x3c], ebp
cmp eax, dword [esp + 0x38]
je 0x100144d5
mov esi, dword [eax]
push eax
call fcn.100f4085
add esp, 4
mov eax, esi
cmp esi, dword [esp + 0x38]
jne 0x100144c2
lea ecx, [esp + 0x40]
push ecx
call fcn.10040b80
mov eax, dword [esp + 0x5c]
lea edx, [esp + 0x40]
push edx
push eax
mov byte [esp + 0x118], 3
call fcn.10016540
mov ecx, dword [esp + 0x54]
mov edi, dword [ecx]
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], ebx
mov esi, dword [esp + 0x54]
cmp ebx, ebp
je 0x10014516
cmp ebx, dword [esp + 0x40]
je 0x1001451b
call fcn.100f3f6c
cmp edi, esi
je 0x1001470b
cmp ebx, ebp
jne 0x10014700
call fcn.100f3f6c
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x1001453c
call fcn.100f3f6c
mov esi, dword [edi + 8]
cmp esi, ebp
je 0x100146de
mov ecx, dword [esp + 0xb8]
cmp ecx, ebp
je 0x10014594
cmp dword [esp + 0xc8], 1
jne 0x10014594
mov eax, dword [esp + 0xbc]
xor edx, edx
cmp eax, ebp
setne dl
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ebp
mov dword [esp + 0xcc], ebp
mov dword [esp + 0xd0], ebp
mov dword [esp + 0xc8], edx
push ebp
push str.item
xor ecx, ecx
lea edi, [esp + 0x84]
call fcn.100311e0
test al, al
je 0x1001466b
mov eax, dword [esi]
push eax
lea ecx, [esp + 0xec]
push 0x101419c8
push ecx
call fcn.100f468d
add esp, 0xc
push 0x4000
push str.start
lea ecx, [esp + 0xf0]
call fcn.100311e0
mov edx, dword [esi + 4]
push edx
lea eax, [esp + 0xec]
push 0x101419c8
push eax
call fcn.100f468d
add esp, 0xc
push 0x4000
push 0x1013e038
lea ecx, [esp + 0xf0]
call fcn.100311e0
mov ecx, dword [esi + 8]
push ecx
lea edx, [esp + 0xec]
push 0x101419c8
push edx
call fcn.100f468d
add esp, 0xc
push 0x4000
push str.first
lea ecx, [esp + 0xf0]
call fcn.100311e0
mov eax, dword [esi + 0xc]
push eax
lea ecx, [esp + 0xec]
push 0x101419c8
push ecx
call fcn.100f468d
add esp, 0xc
push 0x4000
push str.count
lea ecx, [esp + 0xf0]
call fcn.100311e0
mov eax, dword [esp + 0xb4]
cmp eax, ebp
je 0x100146d1
mov ebx, dword [esp + 0xe0]
mov ebx, dword [ebx]
mov edx, dword [esp + 0xb8]
mov ecx, eax
mov edi, eax
and eax, 0xffff
sar edi, 0x10
mov edi, dword [ebx + edi*4]
mov ebx, dword [esp + 0x18]
shl eax, 5
mov eax, dword [edi + eax + 0x10]
mov dword [esp + 0xbc], edx
xor edx, edx
cmp ecx, ebp
setne dl
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xcc], ebp
mov dword [esp + 0xd0], ebp
mov dword [esp + 0xc8], edx
push esi
call fcn.100f4085
mov edi, dword [esp + 0x20]
add esp, 4
cmp ebx, ebp
jne 0x10014707
call fcn.100f3f6c
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x100146f3
call fcn.100f3f6c
mov eax, dword [edi]
mov dword [esp + 0x1c], eax
mov edi, eax
jmp 0x10014508
mov eax, dword [ebx]
jmp 0x10014532
mov eax, dword [ebx]
jmp 0x100146e9
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x54]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x58], ebp
cmp eax, ecx
je 0x1001473b
mov esi, dword [eax]
push eax
call fcn.100f4085
mov ecx, dword [esp + 0x58]
add esp, 4
mov eax, esi
cmp esi, ecx
jne 0x10014726
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x54]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x58], ebp
cmp eax, ecx
je 0x10014767
mov esi, dword [eax]
push eax
call fcn.100f4085
mov ecx, dword [esp + 0x58]
add esp, 4
mov eax, esi
cmp esi, ecx
jne 0x10014752
push ecx
call fcn.100f4085
mov ecx, dword [esp + 0x44]
add esp, 4
push ecx
mov dword [esp + 0x58], ebp
call fcn.100f4085
mov byte [esp + 0x114], 1
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x3c]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x3c]
add esp, 4
mov dword [esp + 0x3c], ebp
cmp eax, ecx
je 0x100147b9
mov esi, dword [eax]
push eax
call fcn.100f4085
mov ecx, dword [esp + 0x3c]
add esp, 4
mov eax, esi
cmp esi, ecx
jne 0x100147a4
push ecx
call fcn.100f4085
mov edx, dword [esp + 0x28]
add esp, 4
push edx
mov dword [esp + 0x3c], ebp
call fcn.100f4085
add esp, 4
mov ebx, 0x10
mov eax, dword [esp + 0x64]
cmp dword [esp + 0x78], ebx
jae 0x100147e6
lea eax, [esp + 0x64]
test byte [esp + 0xd4], 0x30
jne 0x1001480f
lea ecx, [esp + 0x98]
push ecx
push eax
lea ecx, [esp + 0xdc]
lea edi, [esp + 0x84]
call fcn.1002e260
add esp, 8
lea edx, [esp + 0x7c]
push edx
mov byte [esp + 0x114], 0
call fcn.1002de20
cmp dword [esp + 0x78], ebx
jb 0x10014834
mov eax, dword [esp + 0x64]
push eax
call fcn.100f4085
add esp, 4
mov ecx, dword [esp + 0x108]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xf0]
xor ecx, esp
call fcn.100f30a6
add esp, 0x100
ret