Function at 0x1004bd6c
Capabilities:
Delete file

Disassembly:
push ebp
sub esp, 0x54
mov eax, 0x100c13f8
call fcn.100a35ac
sub esp, 0xe4
push ebx
push esi
push edi
mov edi, dword [ebp + 0x60]
xor esi, esi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], esi
cmp dword [edi - 0xc], esi
jne 0x1004bd9d
mov eax, 0x80004005
jmp 0x1004c26a
mov eax, dword [ebp + 0x6c]
mov eax, dword [eax]
cmp eax, esi
je 0x1004bdad
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [ebp + 0x68], esi
jl 0x1004c268
push 1
push dword [ebp + 0x64]
lea ecx, [ebp + 0x64]
call fcn.1000bfdd
mov eax, dword [eax]
mov byte [ebp - 4], 1
cmp eax, esi
je 0x1004bdd1
mov eax, dword [eax]
jmp 0x1004bdd3
xor eax, eax
push eax
lea ecx, [ebp + 0x50]
call fcn.10005f07
mov ecx, dword [ebp + 0x64]
mov byte [ebp - 4], 3
cmp ecx, esi
je 0x1004bdef
call fcn.10003111
mov dword [ebp + 0x64], esi
push ecx
lea eax, [ebp + 0x50]
mov dword [ebp + 0x54], esp
mov ecx, esp
push eax
call fcn.10003561
lea eax, [ebp + 0x60]
push eax
lea ecx, [edi + 0x64]
call fcn.100640e7
cmp dword [ebp + 0x68], esi
jle 0x1004be77
mov byte [ebp - 4], 5
call fcn.1009d5b7
push dword [ebp + 0x60]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
mov edi, eax
lea eax, [ebp + 0x48]
push eax
mov ebx, edx
mov dword [ebp + 0x48], esi
mov dword [ebp + 0x4c], esi
call fcn.100a5daa
push ebx
push edi
push dword [ebp + 0x4c]
push dword [ebp + 0x48]
call fcn.100a7da6
fdiv qword [0x100cff10]
add esp, 0x14
fild dword [ebp + 0x68]
fcompp
fnstsw ax
test ah, 0x41
jp 0x1004be77
push 0x100f57e0
lea eax, [ebp + 0x3c]
push eax
mov dword [ebp + 0x3c], esi
call fcn.100a2371
push dword [ebp + 0x60]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, 0x1004c252
ret
mov dword [ebp - 4], 4
call fcn.1009d5b7
lea ecx, [ebp + 0x38]
push ecx
lea ecx, [ebp + 0x40]
push ecx
push dword [ebp + 0x60]
mov dword [ebp + 0x40], esi
mov dword [ebp + 0x38], esi
mov edx, dword [eax]
mov ecx, eax
call dword [edx]
cmp eax, esi
jne 0x1004becb
push 0x100cb0a0
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [ebp + 0x6c]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x60]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp + 0x50]
add ecx, 0xfffffff0
call fcn.10001d29
mov eax, esi
jmp 0x1004c26a
mov eax, dword [ebp + 0x40]
mov dword [ebp + 0x68], eax
push esi
lea ecx, [ebp + 0x1c]
mov dword [ebp + 0x34], 0xf
call fcn.10002b79
push str.__xml_version______encoding_____
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 8
call fcn.1000586e
lea ecx, [ebp - 0xc8]
call fcn.100232ef
mov edi, 0x100
push edi
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0xa
call fcn.100234f0
mov eax, dword [ebp - 0x6c]
push 0x10
pop ebx
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x58], ebx
jae 0x1004bf24
lea eax, [ebp - 0x6c]
push 1
push eax
lea ecx, [ebp - 0xc8]
call fcn.100444c5
cmp eax, esi
je 0x1004bf7a
lea ecx, [ebp - 0xf0]
call fcn.100232c8
lea ecx, [ebp - 0xc4]
call fcn.10023045
push esi
push 1
lea ecx, [ebp - 0x70]
call fcn.10003516
push esi
push 1
lea ecx, [ebp + 0x1c]
call fcn.10003516
cmp dword [ebp + 0x68], esi
je 0x1004bf70
push dword [ebp + 0x68]
call fcn.100a2009
pop ecx
mov esi, 0x80004005
jmp 0x1004beae
push dword [ebp + 0x68]
call fcn.100a2700
cmp eax, edi
pop ecx
jle 0x1004bf89
mov eax, edi
push eax
push dword [ebp + 0x68]
lea ecx, [ebp - 0x8c]
call fcn.10043bde
mov eax, dword [ebp - 0x88]
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x74], ebx
jae 0x1004bfad
lea eax, [ebp - 0x88]
lea ecx, [ebp + 0x64]
push ecx
lea ecx, [ebp - 0xf0]
push ecx
push eax
lea ecx, [ebp - 0xc8]
call fcn.10043245
cmp eax, esi
je 0x1004c01d
lea eax, [ebp + 0x64]
push eax
lea eax, [ebp + 0x54]
push eax
push esi
lea ecx, [ebp - 0xf0]
mov dword [ebp + 0x54], esi
mov dword [ebp + 0x64], esi
call fcn.10022e50
push dword [ebp + 0x64]
lea ecx, [ebp - 0x2c]
push dword [ebp + 0x54]
call fcn.10043c04
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x18], ebx
jb 0x1004bffe
mov eax, dword [eax + 4]
jmp 0x1004c001
add eax, 4
push eax
lea ecx, [ebp + 0x1c]
call fcn.10005569
xor edi, edi
push esi
inc edi
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xc
call fcn.10003516
jmp 0x1004c020
xor edi, edi
inc edi
cmp dword [ebp + 0x30], esi
jne 0x1004c032
push str.utf_8
lea ecx, [ebp + 0x1c]
call fcn.10005569
push esi
lea ecx, [ebp]
mov dword [ebp + 0x18], 7
call fcn.10002c37
sub esp, 0x1c
mov byte [ebp - 4], 0xe
mov ecx, esp
cmp dword [ebp + 0x30], esi
je 0x1004c185
lea eax, [ebp + 0x1c]
mov dword [ebp + 0x54], esp
push eax
call fcn.10005543
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 0x4c], esp
push dword [ebp + 0x68]
mov byte [ebp - 4], 0xf
call fcn.1000586e
lea ecx, [ebp + 0x64]
mov byte [ebp - 4], bl
call fcn.10051b16
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x48]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.10051d9e
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 0x13
call fcn.10005455
push esi
push edi
lea ecx, [ebp - 0x48]
call fcn.100035a9
lea ecx, [ebp + 0x64]
mov byte [ebp - 4], 0xe
call fcn.10051b1f
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x48]
push str.encoding_
push eax
call fcn.10005890
add esp, 0xc
push 0x100cc73c
push eax
lea eax, [ebp - 0xa8]
push eax
mov byte [ebp - 4], 0x14
call fcn.10005f4f
add esp, 0xc
push esi
push edi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x16
call fcn.10003516
mov eax, dword [ebp - 0xa4]
cmp dword [ebp - 0x90], ebx
jae 0x1004c108
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp + 0x64]
call fcn.1000c7a3
mov eax, dword [eax]
mov byte [ebp - 4], 0x17
cmp eax, esi
je 0x1004c11f
mov eax, dword [eax]
jmp 0x1004c121
xor eax, eax
push eax
lea ecx, [ebp - 0x2c]
call fcn.10006227
mov ecx, dword [ebp + 0x64]
mov byte [ebp - 4], 0x19
cmp ecx, esi
je 0x1004c13d
call fcn.10003111
mov dword [ebp + 0x64], esi
push 0x100cb0a0
lea ecx, [ebp - 0x48]
call fcn.10006227
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp]
push eax
mov byte [ebp - 4], 0x1a
call fcn.10013cdc
add esp, 0xc
push esi
push edi
lea ecx, [ebp - 0x48]
call fcn.100035a9
push esi
push edi
lea ecx, [ebp - 0x2c]
call fcn.100035a9
push esi
push edi
lea ecx, [ebp - 0xa8]
call fcn.10003516
jmp 0x1004c1eb
mov dword [ebp + 0x4c], esp
push str.utf_8
call fcn.1000586e
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 0x54], esp
push dword [ebp + 0x68]
mov byte [ebp - 4], 0x1b
call fcn.1000586e
lea ecx, [ebp + 0x64]
mov byte [ebp - 4], 0x1c
call fcn.10051b16
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x1e
call fcn.10051d9e
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 0x1f
call fcn.10005455
push esi
push edi
lea ecx, [ebp - 0x2c]
call fcn.100035a9
lea ecx, [ebp + 0x64]
mov byte [ebp - 4], 0xe
call fcn.10051b1f
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x1004c1f7
lea eax, [ebp + 4]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [ebp + 0x6c]
push esi
mov dword [ecx], eax
push edi
lea ecx, [ebp]
call fcn.100035a9
push esi
push edi
lea ecx, [ebp - 0x8c]
call fcn.10003516
lea ecx, [ebp - 0xf0]
call fcn.100232c8
lea ecx, [ebp - 0xc4]
call fcn.10023045
push esi
push edi
lea ecx, [ebp - 0x70]
call fcn.10003516
push esi
push edi
lea ecx, [ebp + 0x1c]
call fcn.10003516
cmp dword [ebp + 0x68], esi
je 0x1004c252
push dword [ebp + 0x68]
call fcn.100a2009
pop ecx
mov ecx, dword [ebp + 0x60]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp + 0x50]
add ecx, 0xfffffff0
call fcn.10001d29
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add ebp, 0x58
leave
ret 0x10