Function at 0x14000a970
Capabilities:
Get file system object information
Read file on windows

Disassembly:
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1b430
call fcn.140013330
sub rsp, rax
mov qword [rsp + 0x458], 0xfffffffffffffffe
mov qword [rsp + 0x1b470], rbx
mov qword [rsp + 0x1b478], rsi
mov rax, qword [0x14001e020]
xor rax, rsp
mov qword [rsp + 0x1b420], rax
mov qword [rsp + 0x60], rdx
mov rsi, rcx
mov qword [rsp + 0x2d0], rcx
mov qword [rsp + 0x2b0], rdx
xor edi, edi
mov dword [rsp + 0xf4], edi
mov r15d, edi
mov rcx, rdx
call fcn.140004630
mov dword [rsp + 0xf4], 1
cmp qword [rsi + 0x28], rdi
je 0x14000a9fe
cmp qword [rsi + 0x30], rdi
je 0x14000a9fe
cmp qword [rsi + 0x38], rdi
jne 0x14000aa05
mov dword [rsi + 8], 0x80040102
xor r9d, r9d
or r8, 0xffffffffffffffff
lea rdx, str.silent
lea rcx, [rsp + 0x378]
call fcn.1400104c0
mov r13, rax
mov r12, qword [rsi + 0x68]
mov rbx, qword [r12 + 8]
cmp byte [rbx + 0x79], 0
jne 0x14000aa5b
lea rcx, [rbx + 0x18]
xor r9d, r9d
xor r8d, r8d
mov rdx, r13
call fcn.140010c30
test ax, ax
jns 0x14000aa4f
mov rbx, qword [rbx + 0x10]
jmp 0x14000aa55
mov r12, rbx
mov rbx, qword [rbx]
cmp byte [rbx + 0x79], 0
je 0x14000aa32
mov qword [rsp + 0x2e0], r12
cmp r12, qword [rsi + 0x68]
je 0x14000aa8b
lea rdx, [r12 + 0x18]
xor r9d, r9d
xor r8d, r8d
mov rcx, r13
call fcn.140010c30
test ax, ax
js 0x14000aa8b
lea rbx, [rsp + 0x2e0]
jmp 0x14000aa9f
mov rax, qword [rsi + 0x68]
mov qword [rsp + 0x2d8], rax
lea rbx, [rsp + 0x2d8]
mov rbx, qword [rbx]
mov rax, qword [rsp + 0x398]
mov rcx, rdi
mov qword [rsp + 0x398], rcx
test rax, rax
je 0x14000aacb
mov rcx, rax
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void____ptr64_]
mov rcx, qword [rsp + 0x398]
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
mov r11, qword [rsp + 0x388]
mov rcx, rdi
mov qword [rsp + 0x388], rcx
test r11, r11
je 0x14000aafa
mov rcx, r11
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void____ptr64_]
mov rcx, qword [rsp + 0x388]
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
cmp rbx, qword [rsi + 0x68]
je 0x14000ab35
xor r9d, r9d
or r8, 0xffffffffffffffff
lea rdx, [0x140016e30]
lea rcx, [rsp + 0x510]
call fcn.1400104c0
lea rcx, [rbx + 0x48]
lea r8, [rsp + 0xe0]
mov rdx, rax
call fcn.140011c30
mov eax, dword [rsp + 0xe0]
mov dword [rsi + 0xc], eax
xor r9d, r9d
or r8, 0xffffffffffffffff
lea rdx, str.parent
lea rcx, [rsp + 0x3a8]
call fcn.1400104c0
mov r13, rax
mov r12, qword [rsi + 0x68]
mov rbx, qword [r12 + 8]
cmp byte [rbx + 0x79], 0
jne 0x14000ab99
nop dword [rax]
lea rcx, [rbx + 0x18]
xor r9d, r9d
xor r8d, r8d
mov rdx, r13
call fcn.140010c30
test ax, ax
jns 0x14000ab8d
mov rbx, qword [rbx + 0x10]
jmp 0x14000ab93
mov r12, rbx
mov rbx, qword [rbx]
cmp byte [rbx + 0x79], 0
je 0x14000ab70
mov qword [rsp + 0x2c8], r12
cmp r12, qword [rsi + 0x68]
je 0x14000abc9
lea rdx, [r12 + 0x18]
xor r9d, r9d
xor r8d, r8d
mov rcx, r13
call fcn.140010c30
test ax, ax
js 0x14000abc9
lea rbx, [rsp + 0x2c8]
jmp 0x14000abdd
mov rax, qword [rsi + 0x68]
mov qword [rsp + 0x2b8], rax
lea rbx, [rsp + 0x2b8]
mov rbx, qword [rbx]
mov rax, qword [rsp + 0x3c8]
mov rcx, rdi
mov qword [rsp + 0x3c8], rcx
test rax, rax
je 0x14000ac09
mov rcx, rax
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void____ptr64_]
mov rcx, qword [rsp + 0x3c8]
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
mov r11, qword [rsp + 0x3b8]
mov rcx, rdi
mov qword [rsp + 0x3b8], rcx
test r11, r11
je 0x14000ac38
mov rcx, r11
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void____ptr64_]
mov rcx, qword [rsp + 0x3b8]
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
mov r11d, edi
mov dword [rsp + 0x90], edi
cmp rbx, qword [rsi + 0x68]
je 0x14000ac85
xor r9d, r9d
or r8, 0xffffffffffffffff
lea rdx, [0x140017184]
lea rcx, [rsp + 0x4e0]
call fcn.1400104c0
lea rcx, [rbx + 0x48]
lea r8, [rsp + 0x90]
mov rdx, rax
call fcn.140011c30
mov r11d, dword [rsp + 0x90]
mov r13d, r11d
mov qword [rsp + 0xd8], r13
mov rcx, qword [rsi]
test rcx, rcx
je 0x14000c089
mov qword [rsp + 0x98], rdi
mov rax, qword [rcx]
lea r8, [rsp + 0x98]
xor edx, edx
call qword [rax + 0x20]
mov dword [rsi + 8], eax
test eax, eax
js 0x14000c089
mov rcx, qword [rsp + 0x98]
mov rax, qword [rcx]
xor r8d, r8d
lea rdx, [0x1400171d8]
call qword [rax + 0x38]
mov dword [rsi + 8], eax
test eax, eax
js 0x14000c06f
mov qword [rsp + 0xa8], rdi
mov rcx, qword [rsp + 0x98]
mov rax, qword [rcx]
lea r9, [rsp + 0xa8]
xor r8d, r8d
lea edx, [r8 + 1]
call qword [rax + 0x98]
mov dword [rsi + 8], eax
mov rdx, qword [rsp + 0xa8]
test rdx, rdx
je 0x14000c06f
cmp dword [rdx], 0
je 0x14000ad45
cmp eax, 0x40380
je 0x14000ad45
test eax, eax
js 0x14000ad45
mov rax, qword [rdx + 0x10]
movzx ecx, word [rax + 8]
test ecx, ecx
jne 0x14000ad45
mov rcx, qword [rsi + 0x18]
call fcn.14000a180
jmp 0x14000ace2
test rdx, rdx
je 0x14000c06f
cmp dword [rdx], 0
je 0x14000c06f
mov rax, qword [rdx + 0x10]
mov r8d, dword [rax + 0x20]
mov r9, qword [rax + 0x28]
mov qword [rsp + 0x80], rdi
mov rcx, qword [rsi]
mov rax, qword [rcx]
movsxd rdx, r13d
lea r10, [rsp + 0x80]
mov qword [rsp + 0x30], r10
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rdi
call qword [rax + 0x28]
mov dword [rsi + 8], eax
test eax, eax
js 0x14000c052
mov qword [rsp + 0xa0], rdi
xor r9d, r9d
or r8, 0xffffffffffffffff
lea rdx, str.totalAttachmentSize
lea rcx, [rsp + 0x2e8]
call fcn.1400104c0
nop
mov r8, rax
lea rdx, [rsp + 0x438]
lea rcx, [rsi + 0x60]
call fcn.14000f2d0
mov rbx, qword [rax]
mov rax, qword [rsp + 0x308]
mov rcx, rdi
mov qword [rsp + 0x308], rcx
test rax, rax
je 0x14000ae00
mov rcx, rax
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void____ptr64_]
mov rcx, qword [rsp + 0x308]
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
mov r11, qword [rsp + 0x2f8]
mov rcx, rdi
mov qword [rsp + 0x2f8], rcx
test r11, r11
je 0x14000ae2f
mov rcx, r11
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void____ptr64_]
mov rcx, qword [rsp + 0x2f8]
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
cmp rbx, qword [rsi + 0x68]
je 0x14000af0a
xor r9d, r9d
or r8, 0xffffffffffffffff
lea rdx, str._lld
lea rcx, [rsp + 0x480]
call fcn.1400104c0
lea rcx, [rbx + 0x48]
lea r8, [rsp + 0xa0]
mov rdx, rax
call fcn.140011c30
cmp qword [rsp + 0xa0], 0
je 0x14000af12
mov dword [rsp + 0x110], edi
mov qword [rsp + 0x170], rdi
mov rcx, qword [rsp + 0x80]
mov rax, qword [rcx]
lea rdx, [rsp + 0x170]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x110]
xor r8d, r8d
lea rdx, [0x140017208]
call qword [rax + 0x28]
mov r11d, eax
mov dword [rsi + 8], eax
mov rdx, qword [rsp + 0x170]
test rdx, rdx
je 0x14000aefa
test eax, eax
jne 0x14000aef0
mov ecx, dword [rdx + 8]
shl ecx, 0xa
test rcx, rcx
jle 0x14000aef0
mov eax, 0x8004666d
cmp qword [rsp + 0xa0], rcx
cmovge r11d, eax
mov dword [rsi + 8], r11d
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, dword [rsi + 8]
cmp eax, 0x8004010f
cmove eax, edi
mov dword [rsi + 8], eax
jmp 0x14000af12
mov qword [rsp + 0xa0], rdi
cmp dword [rsi + 8], 0
jl 0x14000c038
mov rcx, qword [rsp + 0x80]
mov rax, qword [rcx]
lea rdx, [rsp + 0x168]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0xf0]
xor r8d, r8d
lea rdx, [0x140017210]
call qword [rax + 0x28]
mov dword [rsi + 8], eax
test eax, eax
js 0x14000c038
cmp eax, 0x40380
je 0x14000c01f
cmp dword [rsp + 0xf0], 1
jne 0x14000c01f
mov rax, qword [rsp + 0x168]
mov edx, dword [rax + 8]
mov r8, qword [rax + 0x10]
mov qword [rsp + 0xb0], rdi
mov dword [rsp + 0xd0], edi
mov rcx, qword [rsp + 0x80]
mov rax, qword [rcx]
lea r9, [rsp + 0xb0]
mov qword [rsp + 0x30], r9
lea r9, [rsp + 0xd0]
mov qword [rsp + 0x28], r9
mov dword [rsp + 0x20], 0x10
xor r9d, r9d
call qword [rax + 0x88]
mov dword [rsi + 8], eax
test eax, eax
js 0x14000c01f
mov qword [rsp + 0x68], rdi
mov rcx, qword [rsp + 0xb0]
mov rax, qword [rcx]
lea r9, [rsp + 0x68]
xor r8d, r8d
xor edx, edx
call qword [rax + 0x98]
mov dword [rsi + 8], eax
test eax, eax
js 0x14000c005
mov qword [rsp + 0xb8], rdi
mov rcx, qword [rsi]
mov rax, qword [rcx]
mov r9d, edi
cmp dword [rsi + 0xc], edi
setne r9b
lea rdx, [rsp + 0xb8]
mov qword [rsp + 0x20], rdx
xor r8d, r8d
xor edx, edx
call qword [rax + 0x30]
mov dword [rsi + 8], eax
test eax, eax
js 0x14000be6e
lea rdx, [rsi + 0x60]
lea rcx, [rsp + 0x460]
call fcn.140007210
mov r9d, edi
cmp dword [rsi + 0xc], edi
sete r9b
lea rax, [rsp + 0x460]
mov qword [rsp + 0x20], rax
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0xb8]
mov rcx, rsi
call fcn.14000d600
test eax, eax
je 0x14000be52
mov qword [rsp + 0x78], rdi
xor r9d, r9d
or r8, 0xffffffffffffffff
lea rdx, [0x140017218]
lea rcx, [rsp + 0x408]
call fcn.1400104c0
nop
mov r8, rax
lea rdx, [rsp + 0x450]
lea rcx, [rsi + 0x60]
call fcn.14000f2d0
mov rbx, qword [rax]
mov rax, qword [rsp + 0x428]
mov rcx, rdi
mov qword [rsp + 0x428], rcx
test rax, rax
je 0x14000b0d5
mov rcx, rax
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void____ptr64_]
mov rcx, qword [rsp + 0x428]
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
mov r11, qword [rsp + 0x418]
mov rcx, rdi
mov qword [rsp + 0x418], rcx
test r11, r11
je 0x14000b104
mov rcx, r11
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void____ptr64_]
mov rcx, qword [rsp + 0x418]
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
cmp rbx, qword [rsi + 0x68]
je 0x14000b3ae
mov dword [rsp + 0x1a8], edi
mov qword [rsp + 0x1b0], rdi
mov qword [rsp + 0x1b8], rdi
mov qword [rsp + 0x1c0], rdi
mov qword [rsp + 0x1c8], rdi
mov qword [rsp + 0x1d0], rdi
lea rdx, [rbx + 0x48]
or r8, 0xffffffffffffffff
lea rcx, [rsp + 0x1a8]
call fcn.14000fe50
nop
lea rcx, [rsp + 0x1a8]
call fcn.14000f850
cmp qword [rsp + 0x1b0], 0
je 0x14000b350
xor eax, eax
mov qword [rsp + 0x134], rax
mov qword [rsp + 0x13c], rax
mov dword [rsp + 0x144], eax
mov dword [rsp + 0x130], 0x1000001f
lea rcx, [rsp + 0x1a8]
call fcn.14000f850
mov qword [rsp + 0x138], rax
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
lea r9, [rsp + 0xe8]
lea r8, [rsp + 0x130]
mov edx, 1
call qword [rax + 0x40]
mov dword [rsi + 8], eax
mov rdx, qword [rsp + 0xe8]
test eax, eax
js 0x14000b340
test rdx, rdx
je 0x14000b350
mov r8d, edi
nop dword [rax]
cmp r8d, dword [rdx]
jae 0x14000b340
mov eax, r8d
lea rcx, [rax + rax*2]
mov eax, dword [rdx + rcx*4 + 4]
mov dword [rsp + 0x100], eax
mov eax, dword [rdx + rcx*4 + 8]
mov dword [rsp + 0x104], eax
cmp dword [rdx + rcx*4 + 0xc], 0x80040103
jne 0x14000b338
mov dword [rsp + 0x130], 0x1000001e
mov dword [rsp + 0x1d8], edi
mov qword [rsp + 0x1e0], rdi
mov qword [rsp + 0x1e8], rdi
mov qword [rsp + 0x1f0], rdi
mov qword [rsp + 0x1f8], rdi
mov qword [rsp + 0x200], rdi
or r8, 0xffffffffffffffff
lea rdx, [rsp + 0x1a8]
lea rcx, [rsp + 0x1d8]
call fcn.14000fe50
nop
lea rcx, [rsp + 0x1d8]
call fcn.14000f7f0
nop
lea rcx, [rsp + 0x1d8]
call fcn.14000f7f0
cmp qword [rsp + 0x1e0], 0
je 0x14000b2d0
lea rcx, [rsp + 0x1d8]
call fcn.14000f7f0
mov qword [rsp + 0x138], rax
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [rsp + 0x130]
lea edx, [r9 + 1]
call qword [rax + 0x40]
mov dword [rsi + 8], eax
mov rax, qword [rsp + 0x1f8]
mov rcx, rdi
mov qword [rsp + 0x1f8], rcx
test rax, rax
je 0x14000b2f9
mov rcx, rax
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void____ptr64_]
mov rcx, qword [rsp + 0x1f8]
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
mov r11, qword [rsp + 0x1e8]
mov rcx, rdi
mov qword [rsp + 0x1e8], rcx
test r11, r11
je 0x14000b328
mov rcx, r11
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void____ptr64_]
mov rcx, qword [rsp + 0x1e8]
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
mov rdx, qword [rsp + 0xe8]
jmp 0x14000b340
inc r8d
jmp 0x14000b1f0
test rdx, rdx
je 0x14000b350
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rax, qword [rsp + 0x1c8]
mov rcx, rdi
mov qword [rsp + 0x1c8], rcx
test rax, rax
je 0x14000b379
mov rcx, rax
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void____ptr64_]
mov rcx, qword [rsp + 0x1c8]
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
mov r11, qword [rsp + 0x1b8]
mov rcx, rdi
mov qword [rsp + 0x1b8], rcx
test r11, r11
je 0x14000b3a8
mov rcx, r11
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void____ptr64_]
mov rcx, qword [rsp + 0x1b8]
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
xor r9d, r9d
or r8, 0xffffffffffffffff
lea rdx, str.subject
lea rcx, [rsp + 0x3d8]
call fcn.1400104c0
nop
lea rcx, [rsi + 0x60]
mov r8, rax
lea rdx, [rsp + 0x448]
call fcn.14000f2d0
mov rbx, qword [rax]
mov rax, qword [rsp + 0x3f8]
mov rcx, rdi
mov qword [rsp + 0x3f8], rcx
test rax, rax
je 0x14000b40a
mov rcx, rax
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void____ptr64_]
mov rcx, qword [rsp + 0x3f8]
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
mov r11, qword [rsp + 0x3e8]
mov rcx, rdi
mov qword [rsp + 0x3e8], rcx
test r11, r11
je 0x14000b439
mov rcx, r11
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void____ptr64_]
mov rcx, qword [rsp + 0x3e8]
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
cmp rbx, qword [rsi + 0x68]
je 0x14000b6e0
mov dword [rsp + 0x178], edi
mov qword [rsp + 0x180], rdi
mov qword [rsp + 0x188], rdi
mov qword [rsp + 0x190], rdi
mov qword [rsp + 0x198], rdi
mov qword [rsp + 0x1a0], rdi
lea rdx, [rbx + 0x48]
or r8, 0xffffffffffffffff
lea rcx, [rsp + 0x178]
call fcn.14000fe50
nop
lea rcx, [rsp + 0x178]
call fcn.14000f850
cmp qword [rsp + 0x180], 0
je 0x14000b682
xor eax, eax
mov qword [rsp + 0x11c], rax
mov qword [rsp + 0x124], rax
mov dword [rsp + 0x12c], eax
mov dword [rsp + 0x118], 0x37001f
lea rcx, [rsp + 0x178]
call fcn.14000f850
mov qword [rsp + 0x120], rax
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
lea r9, [rsp + 0xc0]
lea r8, [rsp + 0x118]
mov edx, 1
call qword [rax + 0x40]
mov dword [rsi + 8], eax
mov rdx, qword [rsp + 0xc0]
test eax, eax
js 0x14000b672
test rdx, rdx
je 0x14000b682
mov r8d, edi
cmp r8d, dword [rdx]
jae 0x14000b672
mov eax, r8d
lea rcx, [rax + rax*2]
mov eax, dword [rdx + rcx*4 + 4]
mov dword [rsp + 0x100], eax
mov eax, dword [rdx + rcx*4 + 8]
mov dword [rsp + 0x104], eax
cmp dword [rdx + rcx*4 + 0xc], 0x80040103
jne 0x14000b66a
mov dword [rsp + 0x118], 0x37001e
mov dword [rsp + 0x208], edi
mov qword [rsp + 0x210], rdi
mov qword [rsp + 0x218], rdi
mov qword [rsp + 0x220], rdi
mov qword [rsp + 0x228], rdi
mov qword [rsp + 0x230], rdi
or r8, 0xffffffffffffffff
lea rdx, [rsp + 0x178]
lea rcx, [rsp + 0x208]
call fcn.14000fe50
nop
lea rcx, [rsp + 0x208]
call fcn.14000f7f0
nop
lea rcx, [rsp + 0x208]
call fcn.14000f7f0
cmp qword [rsp + 0x210], 0
je 0x14000b602
lea rcx, [rsp + 0x208]
call fcn.14000f7f0
mov qword [rsp + 0x120], rax
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [rsp + 0x118]
lea edx, [r9 + 1]
call qword [rax + 0x40]
mov dword [rsi + 8], eax
mov rax, qword [rsp + 0x228]
mov rcx, rdi
mov qword [rsp + 0x228], rcx
test rax, rax
je 0x14000b62b
mov rcx, rax
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void____ptr64_]
mov rcx, qword [rsp + 0x228]
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
mov r11, qword [rsp + 0x218]
mov rcx, rdi
mov qword [rsp + 0x218], rcx
test r11, r11
je 0x14000b65a
mov rcx, r11
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void____ptr64_]
mov rcx, qword [rsp + 0x218]
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
mov rdx, qword [rsp + 0xc0]
jmp 0x14000b672
inc r8d
jmp 0x14000b522
test rdx, rdx
je 0x14000b682
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rax, qword [rsp + 0x198]
mov rcx, rdi
mov qword [rsp + 0x198], rcx
test rax, rax
je 0x14000b6ab
mov rcx, rax
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void____ptr64_]
mov rcx, qword [rsp + 0x198]
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
mov r11, qword [rsp + 0x188]
mov rcx, rdi
mov qword [rsp + 0x188], rcx
test r11, r11
je 0x14000b6da
mov rcx, r11
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void____ptr64_]
mov rcx, qword [rsp + 0x188]
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
mov dword [rsp + 0x250], edi
mov qword [rsp + 0x258], rdi
mov qword [rsp + 0x260], rdi
mov qword [rsp + 0x268], rdi
mov qword [rsp + 0x270], rdi
mov qword [rsp + 0x278], rdi
xor r9d, r9d
or r8, 0xffffffffffffffff
lea rdx, str.attachment
lea rcx, [rsp + 0x318]
call fcn.1400104c0
nop
lea rcx, [rsi + 0x60]
mov r8, rax
lea rdx, [rsp + 0x440]
call fcn.14000f2d0
mov rbx, qword [rax]
mov rax, qword [rsp + 0x338]
mov rcx, rdi
mov qword [rsp + 0x338], rcx
test rax, rax
je 0x14000b76b
mov rcx, rax
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void____ptr64_]
mov rcx, qword [rsp + 0x338]
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
mov r11, qword [rsp + 0x328]
mov rcx, rdi
mov qword [rsp + 0x328], rcx
test r11, r11
je 0x14000b79a
mov rcx, r11
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void____ptr64_]
mov rcx, qword [rsp + 0x328]
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
cmp rbx, qword [rsi + 0x68]
je 0x14000b7bb
lea rdx, [rbx + 0x48]
or r8, 0xffffffffffffffff
lea rcx, [rsp + 0x250]
call fcn.14000fe50
lea rcx, [rsp + 0x250]
call fcn.14000f850
cmp qword [rsp + 0x258], 0
je 0x14000bd51
lea rcx, [rsp + 0x250]
call fcn.14000f850
mov r8, rax
mov edx, 0xcbe8
lea rcx, [rsp + 0x1c50]
call qword [sym.imp.MSVCR100.dll_wcscpy_s]
lea r8, [rsp + 0x2c0]
lea rdx, [0x140017234]
lea rcx, [rsp + 0x1c50]
call qword [sym.imp.MSVCR100.dll_wcstok_s]
mov dword [rsp + 0xf8], edi
mov r13d, 0x80044005
mov r15, rax
cmp edi, 0xc8
jge 0x14000bd49
test rax, rax
je 0x14000bd49
mov qword [rsp + 0x88], rdi
mov rcx, qword [rsi + 0x58]
test rcx, rcx
je 0x14000b85d
mov rax, qword [rcx]
mov rdx, r15
call qword [rax]
test al, al
je 0x14000bd2d
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
lea rdx, [rsp + 0x88]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0xf8]
xor r8d, r8d
xor edx, edx
call qword [rax + 0x80]
mov dword [rsi + 8], eax
test eax, eax
js 0x14000bd2d
xor eax, eax
mov qword [rsp + 0x800], rax
mov qword [rsp + 0x808], rax
mov qword [rsp + 0x810], rax
mov qword [rsp + 0x818], rax
mov qword [rsp + 0x820], rax
mov qword [rsp + 0x828], rax
mov qword [rsp + 0x830], rax
mov qword [rsp + 0x838], rax
mov qword [rsp + 0x840], rax
mov dword [rsp + 0x800], 0x37050003
mov dword [rsp + 0x808], 1
mov qword [rsp + 0x820], rdi
mov qword [rsp + 0x838], rdi
mov qword [rsp + 0x40], pe_nt_image_headers64
lea rax, [rsp + 0xa50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], pe_nt_image_headers64
lea rax, [rsp + 0x850]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.MSVCR100.dll__wsplitpath_s]
lea r8, [rsp + 0xa50]
mov edx, pe_nt_image_headers64
lea rcx, [rsp + 0x850]
call qword [sym.imp.MSVCR100.dll_wcscat_s]
mov dword [rsp + 0x818], 0x3704001f
lea rax, [rsp + 0x850]
mov qword [rsp + 0x820], rax
mov qword [rsp + 0x540], rdi
xor edx, edx
mov r8d, 0x2b0
lea rcx, [rsp + 0x548]
call sub.MSVCR100.dll_memset
mov dword [rsp + 0x20], 0x200
mov r9d, 0x2b8
lea r8, [rsp + 0x540]
mov edx, 0xd0
mov rcx, r15
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x14000b9d9
mov dword [rsp + 0x830], 0x3001001f
lea rax, [rsp + 0x550]
mov qword [rsp + 0x838], rax
mov rcx, qword [rsp + 0x88]
mov rax, qword [rcx]
lea r9, [rsp + 0xc8]
lea r8, [rsp + 0x800]
mov edx, 3
call qword [rax + 0x40]
mov dword [rsi + 8], eax
test eax, eax
js 0x14000bbb7
cmp qword [rsp + 0xc8], 0
je 0x14000bbce
mov r8d, edi
nop dword [rax]
mov rdx, qword [rsp + 0xc8]
cmp r8d, dword [rdx]
jae 0x14000bbb1
mov eax, r8d
lea rcx, [rax + rax*2]
mov eax, dword [rdx + rcx*4 + 4]
mov dword [rsp + 0x100], eax
mov eax, dword [rdx + rcx*4 + 8]
mov dword [rsp + 0x104], eax
cmp dword [rdx + rcx*4 + 0xc], 0x80040103
jne 0x14000bba9
mov r13, rdi
mov r14, rdi
mov ebx, edi
mov r12d, edi
mov r8, qword [rsp + 0x820]
test r8, r8
je 0x14000bae5
mov dword [rsp + 0x818], 0x3704001e
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
or r9d, 0xffffffff
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rbx, eax
test eax, eax
je 0x14000bae5
mov rcx, rbx
call qword [sym.imp.MSVCR100.dll_malloc]
mov r13, rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, qword [rsp + 0x820]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
mov qword [rsp + 0x820], r13
mov r8, qword [rsp + 0x838]
test r8, r8
je 0x14000bb65
mov dword [rsp + 0x830], 0x3001001e
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
or r9d, 0xffffffff
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd r12, eax
test eax, eax
je 0x14000bb65
mov rcx, r12
call qword [sym.imp.MSVCR100.dll_malloc]
mov r14, rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], rax
mov r9d, r12d
mov r8, qword [rsp + 0x838]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov r12d, eax
mov qword [rsp + 0x838], r14
test ebx, ebx
je 0x14000bb8b
test r12d, r12d
je 0x14000bb8b
mov rcx, qword [rsp + 0x88]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [rsp + 0x800]
lea edx, [r9 + 3]
call qword [rax + 0x40]
test r13, r13
je 0x14000bb99
mov rcx, r13
call qword [sym.imp.MSVCR100.dll_free]
test r14, r14
je 0x14000bbb1
mov rcx, r14
call qword [sym.imp.MSVCR100.dll_free]
jmp 0x14000bbb1
inc r8d
jmp 0x14000ba20
mov r13d, 0x80044005
mov rdx, qword [rsp + 0xc8]
test rdx, rdx
je 0x14000bbce
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x88]
mov rax, qword [rcx]
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 3
mov r9d, 1
lea r8, [0x140016470]
mov edx, 0x37010102
call qword [rax + 0x38]
mov dword [rsi + 8], eax
test eax, eax
js 0x14000bd0f
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r12, rax
cmp rax, 0xffffffffffffffff
jne 0x14000bc47
mov dword [rsi + 8], r13d
jmp 0x14000bcf2
mov dword [rsp + 0x70], edi
mov dword [rsp + 0x94], edi
nop word [rax + rax]
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x70]
mov r8d, 0x1000
lea rdx, [rsp + 0xc50]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14000bce9
cmp dword [rsp + 0x70], 0
je 0x14000bce9
lea rbx, [rsp + 0xc50]
nop word [rax + rax]
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
lea r9, [rsp + 0x94]
mov r8d, dword [rsp + 0x70]
mov rdx, rbx
call qword [rax + 0x20]
mov edx, dword [rsp + 0x94]
test edx, edx
cmove eax, r13d
mov dword [rsi + 8], eax
cmp eax, 0
jl 0x14000bce9
mov ecx, dword [rsp + 0x70]
sub ecx, edx
mov dword [rsp + 0x70], ecx
add rbx, rdx
test ecx, ecx
jne 0x14000bca0
cmp eax, ecx
jge 0x14000bc60
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x40]
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x78], rdi
mov rcx, qword [rsp + 0x88]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x20]
mov rcx, qword [rsp + 0x88]
mov rax, qword [rcx]
call qword [rax + 0x10]
lea r8, [rsp + 0x2c0]
lea rdx, [0x140017234]
xor ecx, ecx
call qword [sym.imp.MSVCR100.dll_wcstok_s]
jmp 0x14000b824
mov r13, qword [rsp + 0xd8]
xor eax, eax
mov qword [rsp + 0x23c], rax
mov qword [rsp + 0x244], rax
mov dword [rsp + 0x24c], eax
mov dword [rsp + 0x238], 0x1a001e
lea rbx, str.IPM.Note
mov qword [rsp + 0x240], rbx
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [rsp + 0x238]
lea edx, [r9 + 1]
call qword [rax + 0x40]
mov dword [rsi + 8], eax
mov rax, qword [rsp + 0x270]
mov rcx, rdi
mov qword [rsp + 0x270], rcx
test rax, rax
je 0x14000bdca
mov rcx, rax
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void____ptr64_]
mov rcx, qword [rsp + 0x270]
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
mov r11, qword [rsp + 0x260]
mov rcx, rdi
mov qword [rsp + 0x260], rcx
test r11, r11
je 0x14000bdf9
mov rcx, r11
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void____ptr64_]
mov rcx, qword [rsp + 0x260]
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
nop
mov r14, qword [rsp + 0x60]
jmp 0x14000be28
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x14000be4a
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x40]
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov r15d, 1
jmp 0x14000be5e
lea rbx, str.IPM.Note
mov r14, qword [rsp + 0x60]
mov rcx, qword [rsp + 0xb8]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x14000be7a
lea rbx, str.IPM.Note
mov r14, qword [rsp + 0x60]
cmp dword [rsi + 8], 0
jl 0x14000c00a
cmp dword [rsi + 0xc], 0
jne 0x14000bf2c
mov ecx, 4
call qword [sym.imp.MSVCR100.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__]
mov r12, rax
mov rcx, qword [rsi]
mov rax, qword [rcx]
mov r9, r12
mov r8, qword [rsp + 0x68]
xor edx, edx
call qword [rax + 0xa8]
mov dword [rsi + 8], eax
test eax, eax
js 0x14000bf24
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14000bec9
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsi]
mov r10, qword [rcx]
mov qword [rsp + 0x58], rbx
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x48], 8
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x38], 2
mov qword [rsp + 0x30], rdi
mov eax, dword [r12]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
mov r9, qword [rsp + 0xb0]
mov r8, qword [rsp + 0x80]
mov rdx, r13
call qword [r10 + 0xa0]
mov dword [rsi + 8], eax
jmp 0x14000c00a
mov r15d, edi
jmp 0x14000c00a
mov rcx, qword [rsp + 0x80]
mov rax, qword [rcx]
lea rdx, [rsp + 0x148]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0xe4]
xor r8d, r8d
lea rdx, [0x140017248]
call qword [rax + 0x28]
mov dword [rsi + 8], eax
test eax, eax
js 0x14000bfe5
cmp eax, 0x40380
je 0x14000bfd3
cmp dword [rsp + 0xe4], 1
jne 0x14000bfd3
xor eax, eax
mov qword [rsp + 0x154], rax
mov qword [rsp + 0x15c], rax
mov dword [rsp + 0x164], eax
mov dword [rsp + 0x150], 0xe0a0102
mov rcx, qword [rsp + 0x148]
mov rax, qword [rcx + 8]
mov qword [rsp + 0x158], rax
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x160], rax
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [rsp + 0x150]
lea edx, [r9 + 1]
call qword [rax + 0x40]
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x148]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
mov edx, 1
call qword [rax + 0xa0]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x14000c00a
mov r14, qword [rsp + 0x60]
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
je 0x14000c024
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x14000c024
mov r14, qword [rsp + 0x60]
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x168]
call qword [rax + 0x10]
jmp 0x14000c03d
mov r14, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x14000c057
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x14000c057
mov r14, qword [rsp + 0x60]
mov rdx, qword [rsp + 0xa8]
test rdx, rdx
je 0x14000c074
mov rcx, qword [rsi + 0x18]
call fcn.14000a180
jmp 0x14000c074
mov r14, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x14000c08e
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x14000c08e
mov r14, qword [rsp + 0x60]
mov dword [rsp + 0x280], edi
mov qword [rsp + 0x288], rdi
mov qword [rsp + 0x290], rdi
mov qword [rsp + 0x298], rdi
mov qword [rsp + 0x2a0], rdi
mov qword [rsp + 0x2a8], rdi
xor r9d, r9d
or r8, 0xffffffffffffffff
lea rdx, [0x140016e30]
lea rcx, [rsp + 0x4b0]
call fcn.1400104c0
mov r8d, r15d
mov rdx, rax
lea rcx, [rsp + 0x280]
call fcn.140011bb0
xor r9d, r9d
or r8, 0xffffffffffffffff
lea rdx, [0x140017250]
lea rcx, [rsp + 0x348]
call fcn.1400104c0
nop
mov rdx, rax
mov rcx, r14
call fcn.140006e10
or r8, 0xffffffffffffffff
lea rdx, [rsp + 0x280]
mov rcx, rax
call fcn.14000fe50
nop
mov rax, qword [rsp + 0x368]
mov rcx, rdi
mov qword [rsp + 0x368], rcx
test rax, rax
je 0x14000c150
mov rcx, rax
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void____ptr64_]
mov rcx, qword [rsp + 0x368]
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
mov r11, qword [rsp + 0x358]
mov rcx, rdi
mov qword [rsp + 0x358], rcx
test r11, r11
je 0x14000c17f
mov rcx, r11
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void____ptr64_]
mov rcx, qword [rsp + 0x358]
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
nop
mov rax, qword [rsp + 0x2a0]
mov rcx, rdi
mov qword [rsp + 0x2a0], rcx
test rax, rax
je 0x14000c1af
mov rcx, rax
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void____ptr64_]
mov rcx, qword [rsp + 0x2a0]
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
mov rcx, qword [rsp + 0x290]
mov qword [rsp + 0x290], rdi
test rcx, rcx
je 0x14000c1d8
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void____ptr64_]
mov rdi, qword [rsp + 0x290]
mov rcx, rdi
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
mov rax, r14
mov rcx, qword [rsp + 0x1b420]
xor rcx, rsp
call fcn.140012880
lea r11, [rsp + 0x1b430]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret