Function at 0x453a10
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4db6c0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x513330]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x70]
push str.____________________Entrance____________________
lea ecx, [esp + 0x38]
push ecx
push eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], str.BuildConvOutputFileName
call fcn.00471a00
add esp, 0xc
mov dword [esp + 0x48], 0
mov ecx, dword [ebx + 0x38]
lea edx, [esp + 0x18]
call fcn.00453660
mov byte [esp + 0x48], 1
mov ecx, dword [ebx + 0x38]
lea edx, [esp + 0x28]
call fcn.00453830
lea esi, [esp + 0x2c]
mov eax, ebx
mov byte [esp + 0x48], 2
call fcn.00474c60
mov byte [esp + 0x48], 3
mov eax, dword [eax]
lea edx, [esp + 0x20]
push edx
mov ecx, eax
call fcn.00405a00
mov byte [esp + 0x48], 5
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x453ad2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebx + 0xb8]
lea eax, [ebx + 0xb8]
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x28], eax
call fcn.00405a00
lea esi, [esp + 0x20]
mov byte [esp + 0x48], 6
call fcn.0043a140
mov eax, 0x4efc7c
lea esi, [esp + 0x14]
call fcn.00424db0
mov eax, dword [esp + 0x20]
call fcn.00424db0
call fcn.0043a0e0
lea edi, [ebx + 0xb4]
lea eax, [esp + 0x28]
call fcn.004082a0
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov eax, esi
push eax
call fcn.0040e720
mov ecx, dword [esp + 0x14]
push ecx
mov dword [esp + 0x20], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x453c03
cmp byte [ebx + 0xc2], 0
jne 0x453c03
cmp dword [esp + 0x1c], 0x14
jge 0x453c03
mov edx, dword [esp + 0x14]
mov ecx, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov esi, 1
sub esi, dword [edx - 4]
sub eax, ecx
or eax, esi
jge 0x453b8e
lea eax, [esp + 0x14]
call fcn.00405d80
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.004a5cf7
add esp, 8
test eax, eax
jl 0x453dc2
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx - 8]
jg 0x453dc2
mov dword [ecx - 0xc], eax
mov ecx, dword [esp + 0x14]
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, dword [edi]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea edx, [esp + 0x1c]
push edx
call fcn.0040e720
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0040e720
mov ecx, dword [esp + 0x14]
inc dword [esp + 0x1c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x453b51
mov edx, dword [esp + 0x24]
push edx
lea eax, [esp + 0x20]
push eax
mov ebx, 0x4efc7c
call fcn.00439b90
add esp, 8
mov ebx, dword [ebp + 8]
add ebx, 0x20
mov edi, ebx
mov byte [esp + 0x48], 7
call fcn.004082a0
mov byte [esp + 0x48], 6
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x453c51
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x14]
call fcn.0043a140
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
push ecx
push eax
push ebx
call fcn.0040e720
mov eax, dword [esp + 0x24]
mov edi, esi
call fcn.004082a0
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x24]
add edi, 0x24
cmp dword [ecx - 0xc], 0
jne 0x453cdb
mov ecx, esi
lea esi, [esp + 0x24]
call fcn.0046bc10
mov byte [esp + 0x48], 8
call fcn.004082a0
mov byte [esp + 0x48], 6
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x453cbd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x453ccc
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
push ecx
push eax
push edi
call fcn.0040e720
mov ecx, dword [ebx]
mov edx, dword [edi]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push str.outputTempFile___s_:_outputFile___s
lea eax, [esp + 0x40]
push eax
push ecx
call fcn.004719c0
mov byte [esp + 0x5c], 5
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 0x14
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x453d1d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x48], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x453d42
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x48], 1
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x453d67
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x48], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x453d8c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.______________________Exit______________________
lea ecx, [esp + 0x38]
mov dword [esp + 0x4c], 0xffffffff
mov edx, dword [esp + 0x3c]
push ecx
push edx
call fcn.00471a00
add esp, 0xc
mov al, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00405ef0
int3