Function at 0x1003f13d
Capabilities:
Delete file

Disassembly:
push ebp
sub esp, 0x54
mov eax, 0x100e556b
call fcn.100c908c
sub esp, 0xe4
push ebx
push esi
mov esi, dword [ebp + 0x60]
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], edi
cmp dword [esi - 0xc], edi
jne 0x1003f16e
mov eax, 0x80004005
jmp 0x1003f60a
cmp dword [esi + 0x54], edi
je 0x1003f164
mov eax, dword [ebp + 0x6c]
mov eax, dword [eax]
cmp eax, edi
je 0x1003f183
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [ebp + 0x68], edi
jl 0x1003f608
push dword [ebp + 0x64]
lea ecx, [ebp + 0x50]
call fcn.10009e15
push ecx
lea eax, [ebp + 0x50]
mov dword [ebp + 0x64], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 1
call fcn.1000548f
mov ecx, dword [esi + 0x54]
lea eax, [ebp + 0x60]
push eax
call fcn.1007f2f5
cmp dword [ebp + 0x68], edi
jle 0x1003f223
mov byte [ebp - 4], 3
call fcn.100b8167
push dword [ebp + 0x60]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
mov esi, eax
lea eax, [ebp + 0x48]
push eax
mov ebx, edx
mov dword [ebp + 0x48], edi
mov dword [ebp + 0x4c], edi
call fcn.100cbb3c
push ebx
push esi
push dword [ebp + 0x4c]
push dword [ebp + 0x48]
call fcn.100cbaf9
fdiv qword [0x100fa118]
add esp, 0x14
fild dword [ebp + 0x68]
fcompp
fnstsw ax
test ah, 0x41
jp 0x1003f223
push 0x101217e4
lea eax, [ebp + 0x3c]
push eax
mov dword [ebp + 0x3c], edi
call fcn.100c7ae6
push dword [ebp + 0x60]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, 0x1003f5f2
ret
mov dword [ebp - 4], 2
call fcn.100b8167
lea ecx, [ebp + 0x38]
push ecx
lea ecx, [ebp + 0x40]
push ecx
push dword [ebp + 0x60]
mov dword [ebp + 0x40], edi
mov dword [ebp + 0x38], edi
mov edx, dword [eax]
mov ecx, eax
call dword [edx]
cmp eax, edi
jne 0x1003f277
push 0x1010d92c
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.10003f60
mov ecx, dword [ebp + 0x50]
add ecx, 0xfffffff0
call fcn.10003f60
mov eax, edi
jmp 0x1003f60a
mov eax, dword [ebp + 0x40]
mov dword [ebp + 0x68], eax
push edi
lea ecx, [ebp + 0x1c]
mov dword [ebp + 0x34], 0xf
call fcn.10001760
push str.__xml_version______encoding_____
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 6
call fcn.1000138b
lea ecx, [ebp - 0xc8]
call fcn.1004751d
mov esi, 0x100
push esi
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 8
call fcn.100326f9
cmp dword [ebp - 0x58], 0x10
mov eax, dword [ebp - 0x6c]
mov byte [ebp - 4], 9
jae 0x1003f2ce
lea eax, [ebp - 0x6c]
xor ebx, ebx
inc ebx
push ebx
push eax
lea ecx, [ebp - 0xc8]
call fcn.1003734b
cmp eax, edi
je 0x1003f324
lea ecx, [ebp - 0xf0]
call fcn.100474b0
lea ecx, [ebp - 0xc4]
call fcn.100472f9
push edi
push ebx
lea ecx, [ebp - 0x70]
call fcn.100014a9
push edi
push ebx
lea ecx, [ebp + 0x1c]
call fcn.100014a9
cmp dword [ebp + 0x68], edi
je 0x1003f31a
push dword [ebp + 0x68]
call fcn.100c77f9
pop ecx
mov edi, 0x80004005
jmp 0x1003f25a
push dword [ebp + 0x68]
call fcn.100c8160
cmp eax, esi
pop ecx
jle 0x1003f333
mov eax, esi
mov esi, dword [ebp + 0x68]
push eax
push esi
lea ecx, [ebp - 0x8c]
call fcn.1003697b
cmp dword [ebp - 0x74], 0x10
mov eax, dword [ebp - 0x88]
mov byte [ebp - 4], 0xa
jae 0x1003f359
lea eax, [ebp - 0x88]
lea ecx, [ebp + 0x64]
push ecx
lea ecx, [ebp - 0xf0]
push ecx
push eax
lea ecx, [ebp - 0xc8]
call fcn.10032d4c
cmp eax, edi
je 0x1003f3c5
lea eax, [ebp + 0x64]
push eax
lea eax, [ebp + 0x54]
push eax
push edi
lea ecx, [ebp - 0xf0]
mov dword [ebp + 0x54], edi
mov dword [ebp + 0x64], edi
call fcn.10047115
push dword [ebp + 0x64]
lea ecx, [ebp - 0x2c]
push dword [ebp + 0x54]
call fcn.100369a1
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 0xb
jb 0x1003f3ab
mov eax, dword [eax + 4]
jmp 0x1003f3ae
add eax, 4
push eax
lea ecx, [ebp + 0x1c]
call fcn.1000148c
push edi
push ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call fcn.100014a9
cmp dword [ebp + 0x30], edi
jne 0x1003f3d7
push str.utf_8
lea ecx, [ebp + 0x1c]
call fcn.1000148c
push edi
lea ecx, [ebp]
mov dword [ebp + 0x18], 7
call fcn.100023f7
sub esp, 0x1c
mov byte [ebp - 4], 0xc
mov ecx, esp
cmp dword [ebp + 0x30], edi
je 0x1003f52a
lea eax, [ebp + 0x1c]
mov dword [ebp + 0x54], esp
push eax
call fcn.100013ad
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 0x4c], esp
push esi
mov byte [ebp - 4], 0xd
call fcn.1000138b
lea ecx, [ebp + 0x64]
mov byte [ebp - 4], 0xe
call fcn.1006598e
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x48]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x10
call fcn.10065d4b
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 0x11
call fcn.10002208
push edi
push ebx
lea ecx, [ebp - 0x48]
call fcn.100022b8
lea ecx, [ebp + 0x64]
mov byte [ebp - 4], 0xc
call fcn.10065997
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x48]
push str.encoding_
push eax
call fcn.10001907
add esp, 0xc
push 0x100f59c4
push eax
lea eax, [ebp - 0xa8]
push eax
mov byte [ebp - 4], 0x12
call fcn.10001959
add esp, 0xc
push edi
push ebx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x14
call fcn.100014a9
cmp dword [ebp - 0x90], 0x10
mov eax, dword [ebp - 0xa4]
jae 0x1003f4ad
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp + 0x64]
call fcn.1001800a
mov eax, dword [eax]
mov byte [ebp - 4], 0x15
cmp eax, edi
je 0x1003f4c4
mov eax, dword [eax]
jmp 0x1003f4c6
xor eax, eax
push eax
lea ecx, [ebp - 0x2c]
call fcn.1000209a
mov ecx, dword [ebp + 0x64]
mov byte [ebp - 4], 0x17
cmp ecx, edi
je 0x1003f4e2
call fcn.100050b9
mov dword [ebp + 0x64], edi
push 0x1010d92c
lea ecx, [ebp - 0x48]
call fcn.1000209a
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp]
push eax
mov byte [ebp - 4], 0x18
call fcn.100375ce
add esp, 0xc
push edi
push ebx
lea ecx, [ebp - 0x48]
call fcn.100022b8
push edi
push ebx
lea ecx, [ebp - 0x2c]
call fcn.100022b8
push edi
push ebx
lea ecx, [ebp - 0xa8]
call fcn.100014a9
jmp 0x1003f58e
mov dword [ebp + 0x4c], esp
push str.utf_8
call fcn.1000138b
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 0x54], esp
push esi
mov byte [ebp - 4], 0x19
call fcn.1000138b
lea ecx, [ebp + 0x64]
mov byte [ebp - 4], 0x1a
call fcn.1006598e
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x1c
call fcn.10065d4b
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 0x1d
call fcn.10002208
push edi
push ebx
lea ecx, [ebp - 0x2c]
call fcn.100022b8
lea ecx, [ebp + 0x64]
mov byte [ebp - 4], 0xc
call fcn.10065997
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x1003f59a
lea eax, [ebp + 4]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [ebp + 0x6c]
push edi
mov dword [ecx], eax
push ebx
lea ecx, [ebp]
call fcn.100022b8
push edi
push ebx
lea ecx, [ebp - 0x8c]
call fcn.100014a9
lea ecx, [ebp - 0xf0]
call fcn.100474b0
lea ecx, [ebp - 0xc4]
call fcn.100472f9
push edi
push ebx
lea ecx, [ebp - 0x70]
call fcn.100014a9
push edi
push ebx
lea ecx, [ebp + 0x1c]
call fcn.100014a9
cmp esi, edi
je 0x1003f5f2
push esi
call fcn.100c77f9
pop ecx
mov ecx, dword [ebp + 0x60]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp + 0x50]
add ecx, 0xfffffff0
call fcn.10003f60
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