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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x450bdc
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x461194]
xor eax, esp
mov dword [esp + 0x170], eax
push ebx
push esi
push edi
mov eax, dword [0x461194]
xor eax, esp
push eax
lea eax, [esp + 0x188]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, 8
lea eax, [esi + 4]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x1c], eax
cmp dword [esi + 0x18], ebx
jb 0x401a19
mov eax, dword [eax]
push eax
lea eax, [esp + 0x70]
push eax
call fcn.004111e0
xor edi, edi
lea ecx, [esp + 0x6c]
mov dword [esp + 0x190], edi
call fcn.004112c0
test al, al
je 0x401e54
lea ecx, [esp + 0x6c]
push ecx
call fcn.004107d0
cmp eax, edi
je 0x401a60
lea esp, [esp]
cmp dword [eax + 0x10], 1
je 0x401abb
push eax
call fcn.00410900
cmp eax, edi
jne 0x401a50
mov dword [esp + 0x18], edi
mov ebx, edi
push str.install
lea edx, [esp + 0xe8]
push edx
call fcn.00410a80
xor eax, eax
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], edi
mov word [esp + 0x54], ax
mov byte [esp + 0x190], 2
cmp ebx, edi
je 0x401daf
cmp dword [ebx + 0x14], edi
je 0x401daf
mov eax, ebx
call fcn.00410a30
mov esi, eax
test esi, esi
je 0x401af0
inc edi
test esi, esi
jne 0x401acd
mov esi, dword [ebx + 0x14]
jmp 0x401aec
mov ebx, dword [eax + 0x10]
dec ebx
neg ebx
sbb ebx, ebx
not ebx
and ebx, eax
mov dword [esp + 0x18], ebx
jmp 0x401a66
cmp dword [esi + 0xc], ebx
je 0x401ae9
push 0x14b
push str....._src_tinyxml.cpp
push str.previous__parent__this
call fcn.00432aad
add esp, 0xc
mov esi, dword [esi + 0x3c]
test esi, esi
jne 0x401ab1
mov eax, dword [0x463c8c]
mov edx, dword [eax + 0x10]
movzx ecx, di
shl ecx, 0x10
push ecx
push 0
push 0x401
push edx
mov dword [eax], edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, ebx
call fcn.00410a30
mov dword [esp + 0x14], eax
test eax, eax
je 0x401da9
jmp 0x401b28
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
call fcn.00403590
mov byte [esp + 0x190], 3
mov edi, dword [esp + 0x24]
push 0
sub esp, 0x20
mov eax, fcn.00404230
mov esi, esp
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x5c]
mov dword [esi], 0
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x44], esp
push eax
mov dword [esp + 0x64], edx
call fcn.00401150
add esp, 4
test al, al
jne 0x401b93
lea eax, [esi + 8]
test eax, eax
je 0x401b87
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, 0x46270c
or eax, 1
mov dword [esi], eax
jmp 0x401b99
mov dword [esi], 0
sub esp, 0x20
mov esi, esp
lea edx, [esp + 0x74]
mov eax, 0x4019a0
mov dword [esi], 0
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x64], esp
push edx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
call fcn.00401150
add esp, 4
test al, al
jne 0x401bea
lea eax, [esi + 8]
test eax, eax
je 0x401bde
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, 0x462704
or eax, 1
mov dword [esi], eax
jmp 0x401bf0
mov dword [esi], 0
mov edx, dword [edi]
mov edx, dword [edx]
lea eax, [esp + 0x128]
push eax
lea ecx, [esp + 0x98]
push ecx
mov ecx, edi
call edx
xor ebx, ebx
cmp eax, 1
jne 0x401d0b
cmp ebx, 0x14
jge 0x401d0b
push 0x1f4
call sub.KERNEL32.dll_Sleep
mov edi, dword [esp + 0x24]
push 0
sub esp, 0x20
mov eax, fcn.00404230
mov esi, esp
mov dword [esp + 0x6c], eax
lea ecx, [esp + 0x6c]
mov dword [esi], 0
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x44], esp
push ecx
inc ebx
mov dword [esp + 0x74], eax
call fcn.00401150
add esp, 4
test al, al
jne 0x401c7e
lea eax, [esi + 8]
test eax, eax
je 0x401c72
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov edx, 0x46270c
or edx, 1
mov dword [esi], edx
jmp 0x401c84
mov dword [esi], 0
sub esp, 0x20
mov eax, 0x4019a0
mov esi, esp
mov dword [esp + 0x84], eax
lea ecx, [esp + 0x84]
mov dword [esi], 0
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x64], esp
push ecx
mov dword [esp + 0x8c], eax
call fcn.00401150
add esp, 4
test al, al
jne 0x401ce4
lea eax, [esi + 8]
test eax, eax
je 0x401cd8
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov edx, 0x462704
or edx, 1
mov dword [esi], edx
jmp 0x401cea
mov dword [esi], 0
mov eax, dword [edi]
mov eax, dword [eax]
lea ecx, [esp + 0x128]
push ecx
lea edx, [esp + 0x98]
push edx
mov ecx, edi
call eax
cmp eax, 1
je 0x401c13
mov eax, dword [0x463c8c]
inc dword [eax + 4]
mov ecx, dword [eax + 4]
push 0
push ecx
mov ecx, dword [eax + 0x10]
push 0x402
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x401d3d
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x14]
mov dword [esp + 0x14], eax
jmp 0x401d64
mov ecx, dword [esp + 0x18]
cmp dword [esi + 0xc], ecx
je 0x401d5d
push 0x14b
push str....._src_tinyxml.cpp
push str.previous__parent__this
call fcn.00432aad
add esp, 0xc
mov edx, dword [esi + 0x3c]
mov dword [esp + 0x14], edx
mov byte [esp + 0x190], 2
mov esi, dword [esp + 0x28]
test esi, esi
je 0x401d9e
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x401d9e
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x401d9e
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
cmp dword [esp + 0x14], 0
jne 0x401b24
mov esi, dword [esp + 0x2c]
xor edi, edi
mov eax, dword [esp + 0x1c]
mov ebx, 8
cmp dword [esi + 0x18], ebx
jb 0x401dbf
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0x68], ebx
jb 0x401dd9
mov ecx, dword [esp + 0x54]
push ecx
call fcn.00431205
add esp, 4
xor edx, edx
mov esi, 7
lea ecx, [esp + 0xe4]
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], edi
mov word [esp + 0x54], dx
mov byte [esp + 0x190], dl
call fcn.00410b60
mov dword [esp + 0x190], 0xffffffff
mov dword [esp + 0x6c], vtable.TiXmlDocument.0
cmp dword [esp + 0xd0], ebx
jb 0x401e2c
mov eax, dword [esp + 0xbc]
push eax
call fcn.00431205
add esp, 4
xor ecx, ecx
mov word [esp + 0xbc], cx
lea ecx, [esp + 0x6c]
mov dword [esp + 0xd0], esi
mov dword [esp + 0xcc], edi
call fcn.00410740
mov eax, 1
jmp 0x401ea7
mov dword [esp + 0x190], 0xffffffff
mov dword [esp + 0x6c], vtable.TiXmlDocument.0
cmp dword [esp + 0xd0], ebx
jb 0x401e80
mov edx, dword [esp + 0xbc]
push edx
call fcn.00431205
add esp, 4
xor eax, eax
lea ecx, [esp + 0x6c]
mov dword [esp + 0xd0], 7
mov dword [esp + 0xcc], edi
mov word [esp + 0xbc], ax
call fcn.00410740
xor eax, eax
mov ecx, dword [esp + 0x188]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x170]
xor ecx, esp
call fcn.00430e4c
mov esp, ebp
pop ebp
ret