Function at 0x4bb6b0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5500fe
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x5abcc4]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0xd8]
call fcn.004096a0
mov dword [ebp - 4], 0
cmp dword [ebp + 0x10], 0
je 0x4bb7cb
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 0xc]
call eax
push eax
call fcn.00526f00
add esp, 4
test eax, eax
jbe 0x4bb72c
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 0xc]
call eax
push eax
push str.Title
mov ecx, dword [ebp + 8]
call fcn.004ab270
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 0x10]
call eax
push eax
call fcn.00526f00
add esp, 4
test eax, eax
jbe 0x4bb761
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 0x10]
call eax
push eax
push str.Author
mov ecx, dword [ebp + 8]
call fcn.004ab270
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 0x14]
call eax
push eax
call fcn.00526f00
add esp, 4
test eax, eax
jbe 0x4bb796
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 0x14]
call eax
push eax
push str.Subject
mov ecx, dword [ebp + 8]
call fcn.004ab270
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 0x18]
call eax
push eax
call fcn.00526f00
add esp, 4
test eax, eax
jbe 0x4bb7cb
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 0x18]
call eax
push eax
push str.Keywords
mov ecx, dword [ebp + 8]
call fcn.004ab270
lea ecx, [ebp - 0xd4]
push ecx
call fcn.00444d50
lea edx, [ebp - 0xcc]
push edx
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x4bb8d0
cmp dword [ebp - 0xcc], 0
jle 0x4bb810
push 0x579d70
lea eax, [ebp - 0xe0]
push eax
call fcn.00526960
add esp, 8
jmp 0x4bb832
push 0x579d74
lea ecx, [ebp - 0xe0]
push ecx
call fcn.00526960
add esp, 8
mov edx, dword [ebp - 0xcc]
neg edx
mov dword [ebp - 0xcc], edx
mov eax, dword [ebp - 0xcc]
cdq
mov ecx, 0x3c
idiv ecx
mov dword [ebp - 0xdc], eax
mov edx, dword [ebp - 0xdc]
imul edx, edx, 0x3c
mov eax, dword [ebp - 0xcc]
sub eax, edx
mov dword [ebp - 0xe4], eax
mov ecx, dword [ebp - 0xe4]
push ecx
mov edx, dword [ebp - 0xdc]
push edx
lea eax, [ebp - 0xe0]
push eax
lea ecx, [ebp - 0xd4]
call fcn.00444f40
push eax
lea ecx, [ebp - 0xd4]
call fcn.00444f00
push eax
lea ecx, [ebp - 0xd4]
call fcn.00444ec0
push eax
lea ecx, [ebp - 0xd4]
call fcn.00444e80
push eax
lea ecx, [ebp - 0xd4]
call fcn.00444e40
push eax
lea ecx, [ebp - 0xd4]
call fcn.00444d90
push eax
push str.D:_04ld_02ld_02ld_02ld_02ld_02ld_s_02ld_02ld
lea ecx, [ebp - 0xd8]
push ecx
call fcn.0040a160
add esp, 0x2c
jmp 0x4bb92c
lea ecx, [ebp - 0xd4]
call fcn.00444f40
push eax
lea ecx, [ebp - 0xd4]
call fcn.00444f00
push eax
lea ecx, [ebp - 0xd4]
call fcn.00444ec0
push eax
lea ecx, [ebp - 0xd4]
call fcn.00444e80
push eax
lea ecx, [ebp - 0xd4]
call fcn.00444e40
push eax
lea ecx, [ebp - 0xd4]
call fcn.00444d90
push eax
push str.D:_04ld_02ld_02ld_02ld_02ld_02ld
lea edx, [ebp - 0xd8]
push edx
call fcn.0040a160
add esp, 0x20
lea ecx, [ebp - 0xd8]
call fcn.004a7b60
push eax
push str.CreationDate
mov ecx, dword [ebp + 8]
call fcn.004ab270
lea ecx, [ebp - 0x10]
call fcn.004096a0
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0xc]
push eax
push str._s.dd_tmp
lea ecx, [ebp - 0x10]
push ecx
call fcn.0040a160
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.004a7b60
push eax
mov ecx, dword [ebp + 8]
call fcn.004ab9e0
movzx edx, al
test edx, edx
je 0x4bbc63
mov dword [ebp - 0xe8], 0
cmp dword [ebp + 0x10], 0
je 0x4bbb37
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 4]
call eax
movzx ecx, al
test ecx, ecx
je 0x4bbb37
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x10]
mov edx, dword [eax + 0x20]
call edx
push eax
lea ecx, [ebp - 0xec]
call fcn.004096e0
mov byte [ebp - 4], 2
push str._owner
lea ecx, [ebp - 0xec]
call fcn.00408d80
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 0x30]
call eax
movzx ecx, al
test ecx, ecx
sete dl
movzx eax, dl
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 0x2c]
call eax
movzx ecx, al
test ecx, ecx
sete dl
movzx eax, dl
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 0x28]
call eax
movzx ecx, al
test ecx, ecx
sete dl
movzx eax, dl
push eax
lea ecx, [ebp - 0xec]
call fcn.004a7b60
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 0x20]
call eax
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.gsio.dll_gs_A2U]
add esp, 4
push eax
lea ecx, [ebp - 0xf4]
call fcn.004bbfd0
mov dword [ebp - 0x110], eax
mov edx, dword [ebp - 0x110]
mov dword [ebp - 0x114], edx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x114]
call fcn.004a7b60
push eax
lea ecx, [ebp - 0x10]
call fcn.004a7b60
push eax
call dword [sym.imp.gsio.dll_gs_A2U]
add esp, 4
push eax
lea ecx, [ebp - 0xf8]
call fcn.004bbfd0
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x118]
call fcn.004a7b60
push eax
call dword [sym.imp.gspdf.dll_encryptDocument]
add esp, 0x1c
mov byte [ebp - 0xed], al
lea ecx, [ebp - 0xf8]
call fcn.00408fa0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xf4]
call fcn.00408fa0
movzx eax, byte [ebp - 0xed]
test eax, eax
je 0x4bbaf0
lea ecx, [ebp - 0x10]
call fcn.004a7b60
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x4bbb23
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x10]
call fcn.004a7b60
push eax
call fcn.0052cf0b
add esp, 8
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 0
je 0x4bbb23
lea ecx, [ebp - 0x10]
call fcn.004a7b60
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xec]
call fcn.00408fa0
jmp 0x4bbc2a
push 0
push 0
push 0
push 0x579a32
push 0x579a33
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.gsio.dll_gs_A2U]
add esp, 4
push eax
lea ecx, [ebp - 0x100]
call fcn.004bbfd0
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x120], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x120]
call fcn.004a7b60
push eax
lea ecx, [ebp - 0x10]
call fcn.004a7b60
push eax
call dword [sym.imp.gsio.dll_gs_A2U]
add esp, 4
push eax
lea ecx, [ebp - 0x104]
call fcn.004bbfd0
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x124]
call fcn.004a7b60
push eax
call dword [sym.imp.gspdf.dll_encryptDocument]
add esp, 0x1c
mov byte [ebp - 0xf9], al
lea ecx, [ebp - 0x104]
call fcn.00408fa0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x100]
call fcn.00408fa0
movzx ecx, byte [ebp - 0xf9]
test ecx, ecx
je 0x4bbbf7
lea ecx, [ebp - 0x10]
call fcn.004a7b60
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x4bbc2a
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x10]
call fcn.004a7b60
push eax
call fcn.0052cf0b
add esp, 8
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 0
je 0x4bbc2a
lea ecx, [ebp - 0x10]
call fcn.004a7b60
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [ebp - 0xe8], 0
jne 0x4bbc63
mov dword [ebp - 0x108], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00408fa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd8]
call fcn.00408fa0
mov eax, dword [ebp - 0x108]
jmp 0x4bbc91
mov dword [ebp - 0x10c], 2
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00408fa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd8]
call fcn.00408fa0
mov eax, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.005255a0
mov esp, ebp
pop ebp
ret