Function at 0x429920
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4d8c3f
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x54d158]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x54d158]
xor eax, esp
push eax
lea eax, [esp + 0x12c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x13c]
mov ebp, dword [esp + 0x140]
mov dword [esp + 0x18], eax
mov dword [esp + 0x134], 0
cmp dword [eax + 4], 0
je 0x429b38
mov eax, dword [ebp]
push 0
push 0
push 0xff
lea ecx, [esp + 0x30]
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea ebx, [esp + 0x24]
mov edi, 2
call fcn.00450d60
mov esi, eax
test esi, esi
jne 0x429a4d
push str.Document_not_parsed_successfully.__n
call fcn.004accd0
add eax, 0x40
push eax
call fcn.004ae12e
add esp, 8
call fcn.00461640
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call esi
cmp dword [0x553af4], eax
jne 0x4299ed
mov eax, 0x555b60
jmp 0x4299f7
call fcn.00461560
add eax, 0x1c4
cmp dword [eax + 4], 0
je 0x429a76
call fcn.00461640
call esi
cmp dword [0x553af4], eax
jne 0x429a13
mov eax, 0x555b60
jmp 0x429a1f
call fcn.00461560
add eax, 0x1c4
je 0x429a76
cmp dword [eax + 4], 0x5dd
jne 0x429a76
sub edi, 1
test edi, edi
jle 0x429a76
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ebx, [esp + 0x24]
call fcn.00450d60
mov esi, eax
test esi, esi
je 0x4299bb
mov edi, dword [esi + 0xc]
test edi, edi
je 0x429b1c
jmp 0x429a60
cmp dword [edi + 4], 1
je 0x429b18
mov edi, dword [edi + 0x18]
test edi, edi
jne 0x429a60
jmp 0x429b1c
mov eax, dword [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x429aab
mov dword [esp + 0x134], 0xffffffff
mov eax, dword [esp + 0x144]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x429b5a
mov esi, dword [esp + 0x144]
push ecx
mov edi, esp
add esi, 0xfffffff0
mov dword [esp + 0x20], esp
push esi
mov dword [esp + 0x28], edi
call fcn.0040ff10
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [esp + 0x138], 2
mov ecx, dword [esp + 0x1c]
push ebp
push ecx
mov byte [esp + 0x140], 0
call fcn.00429310
mov edi, eax
mov dword [esp + 0x134], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x429c78
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
jmp 0x429c78
test edi, edi
jne 0x429b70
push str.empty_document_n
call fcn.004accd0
add eax, 0x40
push eax
call fcn.004ae12e
push esi
call fcn.004386a0
add esp, 0xc
mov dword [esp + 0x134], 0xffffffff
mov eax, dword [esp + 0x144]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429b66
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x80004005
jmp 0x429c7a
mov eax, dword [edi + 8]
mov edx, str.xplatform
call fcn.00452850
test eax, eax
je 0x429bab
push esi
call fcn.004386a0
add esp, 4
lea ecx, [esp + 0x144]
mov dword [esp + 0x134], 0xffffffff
call fcn.00410230
mov eax, 0x80004005
jmp 0x429c7a
mov ebx, dword [edi + 0xc]
mov ecx, dword [esp + 0x18]
push ebx
call fcn.00429eb0
mov edi, eax
test edi, edi
jne 0x429bd1
mov edi, dword [ebx + 0x14]
mov eax, 0x51c5e8
call fcn.00439ec0
mov edi, eax
test edi, edi
je 0x429b81
push ecx
lea edx, [esp + 0x148]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.00410050
mov byte [esp + 0x138], 3
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x138], 0
call fcn.0042a220
lea ecx, [esp + 0x18]
call fcn.00410110
lea ecx, [esp + 0x1c]
mov byte [esp + 0x134], 4
call fcn.00410110
push esi
lea ebx, [esp + 0x1c]
mov byte [esp + 0x138], 5
call fcn.00429520
add esp, 4
mov eax, ebx
push ebp
push eax
call fcn.00429cb0
push esi
mov edi, eax
call fcn.004386a0
add esp, 0xc
lea ecx, [esp + 0x1c]
mov byte [esp + 0x134], 4
call fcn.00410230
mov ecx, ebx
mov byte [esp + 0x134], 0
call fcn.00410230
lea ecx, [esp + 0x144]
mov dword [esp + 0x134], 0xffffffff
call fcn.00410230
mov eax, edi
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.004ac89d
add esp, 0x124
ret 0xc