Function at 0x14009b110
Capabilities:
Get file size
Read file on windows

Disassembly:
push rdi
push r12
push r13
sub rsp, 0x950
xor r13d, r13d
mov rdi, rdx
mov r12, rcx
mov dword [rcx + 0x344], r13d
mov word [rcx + 0x348], r13w
add rcx, 0x34c
xor edx, edx
mov r8d, 0x3e8
call sub.msvcrt.dll_memset
mov r8d, dword [rdi]
mov rdi, qword [rdi + 8]
mov rdx, qword [rdi]
lea rcx, [rsp + 0x70]
mov byte [rsp + 0x70], 1
mov byte [rsp + 0x71], r13b
mov byte [rsp + 0x72], r13b
mov byte [rsp + 0x73], r13b
mov byte [rsp + 0x74], 0xd0
mov byte [rsp + 0x75], 0x8c
mov byte [rsp + 0x76], 0x9d
mov byte [rsp + 0x77], 0xdf
mov byte [rsp + 0x78], 1
mov byte [rsp + 0x79], 0x15
mov byte [rsp + 0x7a], 0xd1
mov byte [rsp + 0x7b], reloc.COMCTL32.dll_InitCommonControls
mov byte [rsp + 0x7c], 0x8c
mov byte [rsp + 0x7d], 0x7a
mov byte [rsp + 0x7e], r13b
mov byte [rsp + 0x7f], 0xc0
mov byte [rsp + 0x80], 0x4f
mov byte [rsp + 0x81], 0xc2
mov byte [rsp + 0x82], 0x97
mov byte [rsp + 0x83], 0xeb
cmp rdx, qword [rcx]
mov qword [rsp + 0x1d0], r13
mov dword [rsp + 0x1d8], r13d
mov dword [rsp + 0x1dc], 0x1388
jne 0x14009b1ff
mov rdx, qword [rdi + 8]
cmp rdx, qword [rcx + 8]
jne 0x14009b1ff
mov edx, dword [rdi + 0x10]
cmp edx, dword [rcx + 0x10]
jne 0x14009b1ff
mov eax, r13d
jmp 0x14009b204
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x14009b224
lea rcx, [rsp + 0x1d0]
mov rdx, rdi
call fcn.14009cf90
test eax, eax
jne 0x14009b24c
mov r13, qword [rsp + 0x1d0]
test r13, r13
mov dword [r12 + 0x340], 0xfffffffb
je 0x14009b23d
mov rcx, r13
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
xor eax, eax
add rsp, 0x950
pop r13
pop r12
pop rdi
ret
mov qword [rsp + 0x980], rbx
mov qword [rsp + 0x948], rbp
mov qword [rsp + 0x940], rsi
lea rcx, [rsp + 0x392]
mov qword [rsp + 0x938], r14
xor edx, edx
mov r8d, 0x100
mov qword [rsp + 0x930], r15
mov dword [r12 + 0x340], r13d
xor r15d, r15d
mov word [rsp + 0x390], r13w
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x6a2]
xor edx, edx
mov r8d, 0x286
mov word [rsp + 0x6a0], r13w
call sub.msvcrt.dll_memset
lea r8d, [r15 + 0x7e]
lea rcx, [rsp + 0x112]
xor edx, edx
mov word [rsp + 0x110], r13w
call sub.msvcrt.dll_memset
mov rdx, qword [rsp + 0x200]
mov rcx, qword [rsp + 0x1f8]
movzx r8d, byte [rsp + 0x200]
mov rax, rdx
mov rbp, rdx
shr rax, 0x30
shr rbp, 0x38
movzx esi, al
mov dword [rsp + 0x68], ebp
mov rax, rdx
shr rax, 0x28
mov dword [rsp + 0x60], esi
movzx ebx, al
mov rax, rdx
shr rax, 0x20
mov dword [rsp + 0x58], ebx
movzx r11d, al
mov rax, rdx
mov dword [rsp + 0x50], r11d
shr rax, 0x18
movzx r10d, al
mov rax, rdx
shr rdx, 8
mov dword [rsp + 0x48], r10d
movzx edi, dl
mov rdx, rcx
shr rax, 0x10
shr rdx, 0x30
shr rcx, 0x20
movzx r9d, al
movzx eax, cx
lea rcx, [rsp + 0x110]
mov dword [rsp + 0x40], r9d
mov r9d, dword [rsp + 0x1f8]
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x28], edx
lea edx, [r15 + 0x40]
lea r8, str._8.8X__4.4X__4.4X__2.2X_2.2X__2.2X_2.2X_2.2X_2.2X_2.2X_2.2X
mov dword [rsp + 0x20], eax
call sub.msvcrt.dll__snwprintf
mov rbx, r13
mov edi, r13d
cmp dword [r12 + 0x2f0], ebx
jle 0x14009c4bd
lea rsi, [0x1400a89b8]
test rbx, rbx
js 0x14009b3d0
cmp edi, dword [r12 + 0x2f0]
jge 0x14009b3d0
mov rax, qword [r12 + 0x2d8]
mov ecx, dword [rax + rbx*4]
mov rax, qword [r12 + 0x2e0]
lea rdx, [rax + rcx*2]
jmp 0x14009b3d3
mov rdx, r13
lea rax, [rsp + 0x390]
lea r9, [rsp + 0x6a0]
lea r8, [rsp + 0x110]
mov rcx, r12
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
call fcn.1400981b0
test eax, eax
jne 0x14009b41a
add edi, 1
add rbx, 1
cmp edi, dword [r12 + 0x2f0]
jl 0x14009b3a8
test eax, eax
je 0x14009c4bd
xor r9d, r9d
mov qword [rsp + 0x30], r13
lea rcx, [rsp + 0x6a0]
lea r8d, [r9 + 3]
mov edx, 0x80000000
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
mov rsi, rax
je 0x14009c4bd
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov r14d, dword [r12 + 0x10]
cmp eax, r14d
mov ebx, eax
mov edi, r14d
jl 0x14009b4b1
mov eax, dword [r12 + 0x14]
add edi, eax
cmp edi, ebx
jle 0x14009b472
mov rbp, qword [r12 + 8]
movsxd rcx, edi
call sub.msvcrt.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
test rbp, rbp
mov dword [r12 + 0x10], edi
mov qword [r12 + 8], rax
je 0x14009b4b1
cmp r14d, edi
mov rdx, rbp
mov rcx, rax
cmovl edi, r14d
movsxd r8, edi
call sub.msvcrt.dll_memcpy
mov rcx, rbp
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
cmp ebx, 0x32
jbe 0x14009b4f5
mov rdx, qword [r12 + 8]
lea r9, [rsp + 0x970]
mov r8d, ebx
mov rcx, rsi
mov dword [rsp + 0x970], r13d
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rdx, qword [r12 + 8]
lea rcx, [r12 + 0x28]
mov r8d, 0xa0
mov edi, eax
call sub.msvcrt.dll_memcpy
jmp 0x14009b4f8
mov edi, r13d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x14009c4bd
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x390]
repne scasw ax, word [rdi]
mov r14d, 0x7f
lea rdx, [rsp + 0x390]
not rcx
mov dword [r12 + 0x344], 1
sub rcx, 1
mov eax, ecx
cmp ecx, 0x80
mov rsi, rcx
cmovge eax, r14d
lea rcx, [r12 + 0x348]
cdqe
lea rdi, [rax + rax]
mov r8, rdi
call sub.msvcrt.dll_memcpy
or rcx, 0xffffffffffffffff
xor eax, eax
mov word [rdi + r12 + 0x348], r13w
lea rdi, [rsp + 0x6a0]
lea rdx, [rsp + 0x6a0]
repne scasw ax, word [rdi]
mov eax, 0x142
not rcx
sub rcx, 1
cmp ecx, 0x143
cmovge ecx, eax
movsxd rax, ecx
lea rcx, [r12 + 0x44a]
lea rdi, [rax + rax]
mov r8, rdi
call sub.msvcrt.dll_memcpy
mov word [rdi + r12 + 0x44a], r13w
mov eax, dword [r12 + 0x90]
mov ebx, dword [r12 + 0x84]
mov dword [r12 + 0x724], eax
mov eax, dword [r12 + 0xbc]
mov dword [r12 + 0x728], eax
mov eax, dword [r12 + 0xc0]
lea rcx, [rsp + 0x282]
mov dword [r12 + 0x72c], eax
mov eax, dword [r12 + 0xc4]
xor edx, edx
mov dword [r12 + 0x730], eax
mov rax, qword [r12 + 0x34]
mov r8d, 0x100
mov qword [r12 + 0x6d2], rax
mov rax, qword [r12 + 0x3c]
mov dword [r12 + 0x720], ebx
mov qword [r12 + 0x6da], rax
mov rax, qword [r12 + 0x44]
mov word [rsp + 0x280], r13w
mov qword [r12 + 0x6e2], rax
mov rax, qword [r12 + 0x4c]
mov qword [r12 + 0x6ea], rax
mov rax, qword [r12 + 0x54]
mov qword [r12 + 0x6f2], rax
mov rax, qword [r12 + 0x5c]
mov qword [r12 + 0x6fa], rax
mov rax, qword [r12 + 0x64]
mov qword [r12 + 0x702], rax
mov rax, qword [r12 + 0x6c]
mov qword [r12 + 0x70a], rax
mov rax, qword [r12 + 0x74]
mov qword [r12 + 0x712], rax
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x4a2]
xor edx, edx
mov r8d, 0x1fe
mov word [rsp + 0x4a0], r13w
call sub.msvcrt.dll_memset
cmp esi, 0x80
lea rdx, [rsp + 0x390]
cmovge esi, r14d
lea rcx, [rsp + 0x280]
movsxd rax, esi
lea rdi, [rax + rax]
mov r8, rdi
call sub.msvcrt.dll_memcpy
or rcx, 0xffffffffffffffff
xor eax, eax
mov word [rsp + rdi + 0x280], r13w
lea rdx, [r12 + 0xc8]
mov rdi, rdx
repne scasw ax, word [rdi]
mov eax, 0xfe
not rcx
sub rcx, 1
cmp ecx, 0xff
cmovge ecx, eax
movsxd rax, ecx
lea rcx, [rsp + 0x4a0]
lea rdi, [rax + rax]
mov r8, rdi
call sub.msvcrt.dll_memcpy
xor eax, eax
cmp ebx, 6
mov word [rsp + rdi + 0x4a0], r13w
mov byte [rsp + 0x90], r13b
mov qword [rsp + 0x91], rax
mov qword [rsp + 0x99], rax
mov qword [rsp + 0xa1], rax
mov qword [rsp + 0xa9], rax
mov qword [rsp + 0xb1], rax
mov qword [rsp + 0xb9], rax
mov qword [rsp + 0xc1], rax
mov dword [rsp + 0xc9], eax
mov word [rsp + 0xcd], ax
mov byte [rsp + 0xcf], al
jne 0x14009ba7b
mov rax, qword [r12 + 0x2f8]
lea rcx, [rsp + 0x190]
mov ebx, r13d
cmp dword [r12 + 0x748], ebx
mov qword [rcx], rax
mov rax, qword [r12 + 0x300]
mov qword [rcx + 8], rax
mov eax, dword [r12 + 0x308]
mov dword [rcx + 0x10], eax
jle 0x14009b816
nop
nop
test ebx, ebx
js 0x14009b7f2
cmp ebx, dword [r12 + 0x748]
jge 0x14009b7f2
movsxd rdi, ebx
imul rdi, rdi, 0x2c8
add rdi, qword [r12 + 0x738]
jmp 0x14009b7f5
mov rdi, r13
lea rcx, [r12 + 0x44a]
mov rdx, rdi
call sub.msvcrt.dll__wcsicmp
test eax, eax
je 0x14009b865
add ebx, 1
cmp ebx, dword [r12 + 0x748]
jl 0x14009b7d0
cmp dword [r12 + 0xc0], 0x800e
jne 0x14009b8ce
lea r8, [rsp + 0x190]
lea rdx, [rsp + 0x90]
mov rcx, r12
call fcn.14009abe0
test eax, eax
je 0x14009b907
lea r8, [rsp + 0x90]
lea rdx, [r12 + 0x44a]
mov rcx, r12
call fcn.140098010
jmp 0x14009be71
test rdi, rdi
je 0x14009b816
mov rax, qword [rdi + 0x288]
lea rcx, [rsp + 0x90]
mov qword [rcx], rax
mov rax, qword [rdi + 0x290]
mov qword [rcx + 8], rax
mov rax, qword [rdi + 0x298]
mov qword [rcx + 0x10], rax
mov rax, qword [rdi + 0x2a0]
mov qword [rcx + 0x18], rax
mov rax, qword [rdi + 0x2a8]
mov qword [rcx + 0x20], rax
mov rax, qword [rdi + 0x2b0]
mov qword [rcx + 0x28], rax
mov rax, qword [rdi + 0x2b8]
mov qword [rcx + 0x30], rax
mov rax, qword [rdi + 0x2c0]
mov qword [rcx + 0x38], rax
jmp 0x14009be71
lea r8, [rsp + 0x190]
lea rdx, [rsp + 0x90]
mov rcx, r12
call fcn.14009a5b0
test eax, eax
je 0x14009b907
lea r8, [rsp + 0x90]
lea rdx, [r12 + 0x44a]
mov rcx, r12
call fcn.140098010
jmp 0x14009be71
mov rax, qword [r12 + 0x30c]
lea rcx, [rsp + 0x190]
mov ebx, r13d
cmp dword [r12 + 0x748], ebx
mov qword [rcx], rax
mov rax, qword [r12 + 0x314]
mov qword [rcx + 8], rax
mov eax, dword [r12 + 0x31c]
mov dword [rcx + 0x10], eax
jle 0x14009b986
nop
test ebx, ebx
js 0x14009b962
cmp ebx, dword [r12 + 0x748]
jge 0x14009b962
movsxd rdi, ebx
imul rdi, rdi, 0x2c8
add rdi, qword [r12 + 0x738]
jmp 0x14009b965
mov rdi, r13
lea rcx, [r12 + 0x44a]
mov rdx, rdi
call sub.msvcrt.dll__wcsicmp
test eax, eax
je 0x14009b9d5
add ebx, 1
cmp ebx, dword [r12 + 0x748]
jl 0x14009b940
cmp dword [r12 + 0xc0], 0x800e
jne 0x14009ba3e
lea r8, [rsp + 0x190]
lea rdx, [rsp + 0x90]
mov rcx, r12
call fcn.14009abe0
test eax, eax
je 0x14009c48e
lea r8, [rsp + 0x90]
lea rdx, [r12 + 0x44a]
mov rcx, r12
call fcn.140098010
jmp 0x14009be71
test rdi, rdi
je 0x14009b986
mov rax, qword [rdi + 0x288]
lea rcx, [rsp + 0x90]
mov qword [rcx], rax
mov rax, qword [rdi + 0x290]
mov qword [rcx + 8], rax
mov rax, qword [rdi + 0x298]
mov qword [rcx + 0x10], rax
mov rax, qword [rdi + 0x2a0]
mov qword [rcx + 0x18], rax
mov rax, qword [rdi + 0x2a8]
mov qword [rcx + 0x20], rax
mov rax, qword [rdi + 0x2b0]
mov qword [rcx + 0x28], rax
mov rax, qword [rdi + 0x2b8]
mov qword [rcx + 0x30], rax
mov rax, qword [rdi + 0x2c0]
mov qword [rcx + 0x38], rax
jmp 0x14009be71
lea r8, [rsp + 0x190]
lea rdx, [rsp + 0x90]
mov rcx, r12
call fcn.14009a5b0
test eax, eax
je 0x14009c48e
lea r8, [rsp + 0x90]
lea rdx, [r12 + 0x44a]
mov rcx, r12
call fcn.140098010
jmp 0x14009be71
test byte [r12 + 0x338], 1
mov eax, 0x8002
mov edx, 0x8004
cmovne edx, eax
test ebx, ebx
lea r9, [rsp + 0x280]
cmove edx, eax
lea rax, [rsp + 0x190]
lea r8, [rsp + 0x4a0]
mov rcx, r12
mov qword [rsp + 0x20], rax
call fcn.14009a410
mov ebx, r13d
cmp dword [r12 + 0x748], ebx
jle 0x14009bb0e
test ebx, ebx
js 0x14009baea
cmp ebx, dword [r12 + 0x748]
jge 0x14009baea
movsxd rdi, ebx
imul rdi, rdi, 0x2c8
add rdi, qword [r12 + 0x738]
jmp 0x14009baed
mov rdi, r13
lea rcx, [r12 + 0x44a]
mov rdx, rdi
call sub.msvcrt.dll__wcsicmp
test eax, eax
je 0x14009bb5d
add ebx, 1
cmp ebx, dword [r12 + 0x748]
jl 0x14009bac8
cmp dword [r12 + 0xc0], 0x800e
jne 0x14009bbc6
lea r8, [rsp + 0x190]
lea rdx, [rsp + 0x90]
mov rcx, r12
call fcn.14009abe0
test eax, eax
je 0x14009bbff
lea r8, [rsp + 0x90]
lea rdx, [r12 + 0x44a]
mov rcx, r12
call fcn.140098010
jmp 0x14009be71
test rdi, rdi
je 0x14009bb0e
mov rax, qword [rdi + 0x288]
lea rcx, [rsp + 0x90]
mov qword [rcx], rax
mov rax, qword [rdi + 0x290]
mov qword [rcx + 8], rax
mov rax, qword [rdi + 0x298]
mov qword [rcx + 0x10], rax
mov rax, qword [rdi + 0x2a0]
mov qword [rcx + 0x18], rax
mov rax, qword [rdi + 0x2a8]
mov qword [rcx + 0x20], rax
mov rax, qword [rdi + 0x2b0]
mov qword [rcx + 0x28], rax
mov rax, qword [rdi + 0x2b8]
mov qword [rcx + 0x30], rax
mov rax, qword [rdi + 0x2c0]
mov qword [rcx + 0x38], rax
jmp 0x14009be71
lea r8, [rsp + 0x190]
lea rdx, [rsp + 0x90]
mov rcx, r12
call fcn.14009a5b0
test eax, eax
je 0x14009bbff
lea r8, [rsp + 0x90]
lea rdx, [r12 + 0x44a]
mov rcx, r12
call fcn.140098010
jmp 0x14009be71
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x4a0]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
cmp ecx, 0x20
jl 0x14009c48e
cmp word [rsp + 0x4a0], ax
lea rdi, [rsp + 0x4a0]
mov r14d, r13d
mov word [rsp + 0x970], ax
mov dword [rsp + 0x972], eax
mov ebx, r13d
mov rsi, r13
je 0x14009c48e
lea r15, [rsp + 0x110]
movzx ecx, word [rdi]
cmp cx, 0x30
jb 0x14009bc65
cmp cx, 0x39
jbe 0x14009bc7a
cmp cx, 0x41
jb 0x14009bc71
cmp cx, 0x46
jbe 0x14009bc7a
lea eax, [rcx - 0x61]
cmp ax, 5
ja 0x14009bcb9
add ebx, 1
mov word [rsp + rsi*2 + 0x970], cx
add rsi, 1
cmp ebx, 1
jbe 0x14009bcb9
xor edx, edx
lea rcx, [rsp + 0x970]
mov ebx, r13d
lea r8d, [rdx + 0x10]
mov rsi, r13
call sub.msvcrt.dll_wcstoul
add r14d, 1
add r15, 1
cmp r14d, 0x40
mov byte [r15 - 1], al
jae 0x14009bcc3
add rdi, 2
cmp word [rdi], r13w
jne 0x14009bc56
cmp r14d, 0x10
je 0x14009bcd3
cmp r14d, 0x14
jne 0x14009c48e
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x280]
repne scasw ax, word [rdi]
lea r9, [rsp + 0x110]
mov edx, 0x8004
not rcx
mov r8d, 0x40
lea eax, [rcx + rcx]
lea rcx, [rsp + 0x190]
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x280]
mov qword [rsp + 0x28], rax
mov rcx, r12
mov dword [rsp + 0x20], r14d
call fcn.140099f40
mov ebx, r13d
cmp dword [r12 + 0x748], ebx
jle 0x14009bd7b
test ebx, ebx
js 0x14009bd57
cmp ebx, dword [r12 + 0x748]
jge 0x14009bd57
movsxd rdi, ebx
imul rdi, rdi, 0x2c8
add rdi, qword [r12 + 0x738]
jmp 0x14009bd5a
mov rdi, r13
lea rcx, [r12 + 0x44a]
mov rdx, rdi
call sub.msvcrt.dll__wcsicmp
test eax, eax
je 0x14009bdcd
add ebx, 1
cmp ebx, dword [r12 + 0x748]
jl 0x14009bd35
cmp dword [r12 + 0xc0], 0x800e
jne 0x14009be36
lea r8, [rsp + 0x190]
lea rdx, [rsp + 0x90]
mov rcx, r12
call fcn.14009abe0
test eax, eax
je 0x14009c48e
lea r8, [rsp + 0x90]
lea rdx, [r12 + 0x44a]
mov rcx, r12
call fcn.140098010
mov r15, r13
jmp 0x14009be71
test rdi, rdi
je 0x14009bd7b
mov rax, qword [rdi + 0x288]
lea rcx, [rsp + 0x90]
mov r15, r13
mov qword [rcx], rax
mov rax, qword [rdi + 0x290]
mov qword [rcx + 8], rax
mov rax, qword [rdi + 0x298]
mov qword [rcx + 0x10], rax
mov rax, qword [rdi + 0x2a0]
mov qword [rcx + 0x18], rax
mov rax, qword [rdi + 0x2a8]
mov qword [rcx + 0x20], rax
mov rax, qword [rdi + 0x2b0]
mov qword [rcx + 0x28], rax
mov rax, qword [rdi + 0x2b8]
mov qword [rcx + 0x30], rax
mov rax, qword [rdi + 0x2c0]
mov qword [rcx + 0x38], rax
jmp 0x14009be71
lea r8, [rsp + 0x190]
lea rdx, [rsp + 0x90]
mov rcx, r12
call fcn.14009a5b0
test eax, eax
je 0x14009c48e
lea r8, [rsp + 0x90]
lea rdx, [r12 + 0x44a]
mov rcx, r12
call fcn.140098010
mov r15, r13
cmp dword [rsp + 0x234], 0x800e
jne 0x14009c216
xor eax, eax
mov byte [rsp + 0x110], r13b
mov dword [rsp + 0xd0], r13d
mov qword [rsp + 0x111], rax
mov qword [rsp + 0x119], rax
mov qword [rsp + 0x121], rax
mov qword [rsp + 0x129], rax
mov qword [rsp + 0x131], rax
mov qword [rsp + 0x139], rax
mov qword [rsp + 0x141], rax
mov dword [rsp + 0x149], eax
mov word [rsp + 0x14d], ax
mov byte [rsp + 0x14f], al
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x108], rax
mov eax, dword [rsp + 0x23c]
test eax, eax
mov edx, r13d
je 0x14009bf44
mov dword [rsp + 0xd0], eax
mov rax, qword [rsp + 0x240]
mov edx, 1
mov qword [rsp + 0xd8], rax
test r13d, r13d
je 0x14009bf61
mov eax, edx
add rax, rax
add edx, 1
mov dword [rsp + rax*8 + 0xd0], r13d
mov qword [rsp + rax*8 + 0xd8], r15
mov eax, dword [rsp + 0x278]
test eax, eax
je 0x14009bf8b
mov ecx, edx
add rcx, rcx
add edx, 1
mov dword [rsp + rcx*8 + 0xd0], eax
mov rax, qword [rsp + 0x270]
mov qword [rsp + rcx*8 + 0xd8], rax
lea rax, [rsp + 0x110]
lea r9, [rsp + 0x90]
mov r8d, 0x80
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], edx
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x28], rax
mov edx, 0x800e
mov rcx, r12
mov dword [rsp + 0x20], 0x14
call fcn.140099b40
mov r8d, dword [rsp + 0x258]
mov rdx, qword [rsp + 0x260]
lea rcx, [rsp + 0x110]
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x14009c205
mov eax, dword [rsp + 0x220]
mov qword [rsp + 0x970], r13
mov ecx, r13d
test eax, eax
je 0x14009c023
mov dword [rsp + 0xd0], eax
mov rax, qword [rsp + 0x228]
mov ecx, 1
mov qword [rsp + 0xd8], rax
test r13d, r13d
je 0x14009c040
mov eax, ecx
add rax, rax
add ecx, 1
mov dword [rsp + rax*8 + 0xd0], r13d
mov qword [rsp + rax*8 + 0xd8], r15
lea rax, [rsp + 0x970]
lea r9, [rsp + 0x90]
mov edx, 0x800e
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], ecx
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x28], rax
mov r8d, 0x80
mov rcx, r12
mov dword [rsp + 0x20], 0x14
call fcn.140099a00
mov rsi, qword [rsp + 0x970]
test rsi, rsi
je 0x14009c1f2
mov rdi, qword [r12 + 0x20]
mov rbx, qword [r12]
mov qword [rsp + 0x978], r13
mov rcx, rdi
call fcn.14009d390
mov rax, qword [rdi + 0x40]
test rax, rax
je 0x14009c0d1
lea rdx, [rsp + 0x978]
xor r9d, r9d
mov r8, rsi
mov qword [rsp + 0x20], rdx
mov edx, 0x6610
mov rcx, rbx
call rax
cmp qword [rsp + 0x978], r13
je 0x14009c1d2
mov edi, dword [rsp + 0x248]
mov ecx, 0x40
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
test rax, rax
mov rbx, rax
je 0x14009c1ae
mov rdx, qword [rsp + 0x250]
mov r8, rdi
mov rcx, rax
mov dword [rsp + 0x970], edi
call sub.msvcrt.dll_memcpy
mov rdi, qword [r12 + 0x20]
mov rbp, qword [rsp + 0x978]
mov rcx, rdi
call fcn.14009d390
mov rax, qword [rdi + 0x38]
test rax, rax
je 0x14009c197
lea rcx, [rsp + 0x970]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x28], rcx
mov rcx, rbp
xor edx, edx
mov qword [rsp + 0x20], rbx
call rax
test eax, eax
mov r13d, eax
je 0x14009c197
mov rcx, qword [rsp + 0x9a8]
mov eax, dword [rsp + 0x970]
mov rdx, qword [rsp + 0x978]
mov qword [rcx + 8], rbx
mov dword [rcx], eax
mov rcx, qword [r12 + 0x20]
call fcn.14009d590
mov rcx, qword [r12 + 0x20]
mov rdx, rsi
call fcn.14009d7c0
jmp 0x14009c444
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12 + 0x340], eax
mov rdx, qword [rsp + 0x978]
mov rcx, qword [r12 + 0x20]
call fcn.14009d590
mov rcx, qword [r12 + 0x20]
mov rdx, rsi
call fcn.14009d7c0
jmp 0x14009c444
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [r12 + 0x20]
mov rdx, rsi
mov dword [r12 + 0x340], eax
call fcn.14009d7c0
jmp 0x14009c444
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12 + 0x340], eax
jmp 0x14009c444
mov dword [r12 + 0x340], 0xfffffffc
jmp 0x14009c444
xor eax, eax
lea r9, [rsp + 0x90]
mov edx, 0x8004
mov qword [rsp + 0x111], rax
mov qword [rsp + 0x119], rax
mov qword [rsp + 0x121], rax
mov qword [rsp + 0x129], rax
mov qword [rsp + 0x131], rax
mov qword [rsp + 0x139], rax
mov qword [rsp + 0x141], rax
mov dword [rsp + 0x149], eax
mov word [rsp + 0x14d], ax
mov byte [rsp + 0x14f], al
lea rax, [rsp + 0x110]
mov r8d, 0x40
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x278]
mov rcx, r12
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x270]
mov byte [rsp + 0x110], r13b
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x23c]
mov dword [rsp + 0x40], r13d
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x240]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x14
call fcn.140099e00
mov r8d, dword [rsp + 0x258]
mov rcx, qword [rsp + 0x260]
lea rdx, [rsp + 0x110]
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x14009c438
mov edi, dword [rsp + 0x248]
lea ecx, [rax + 0x40]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
test rax, rax
mov rbx, rax
je 0x14009c428
mov ecx, dword [rsp + 0x220]
mov dword [rsp + 0x48], r13d
mov qword [rsp + 0x40], r15
lea rax, [rsp + 0x978]
lea r9, [rsp + 0x90]
mov edx, 0x8004
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], ecx
mov rcx, qword [rsp + 0x228]
mov qword [rsp + 0x28], rcx
mov r8d, 0x40
mov rcx, r12
mov qword [rsp + 0x978], r13
mov dword [rsp + 0x20], 0x14
call fcn.140099cf0
mov rdx, qword [rsp + 0x250]
mov r8, rdi
mov rcx, rbx
mov dword [rsp + 0x970], edi
call sub.msvcrt.dll_memcpy
mov rdi, qword [r12 + 0x20]
mov rsi, qword [rsp + 0x978]
mov rcx, rdi
call fcn.14009d390
mov rax, qword [rdi + 0x38]
test rax, rax
je 0x14009c3fd
lea rcx, [rsp + 0x970]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x28], rcx
mov rcx, rsi
xor edx, edx
mov qword [rsp + 0x20], rbx
call rax
test eax, eax
mov r13d, eax
je 0x14009c3fd
mov rcx, qword [rsp + 0x9a8]
mov eax, dword [rsp + 0x970]
mov rdx, qword [rsp + 0x978]
mov qword [rcx + 8], rbx
mov dword [rcx], eax
mov rcx, qword [r12 + 0x20]
call fcn.14009d590
jmp 0x14009c444
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, qword [rsp + 0x978]
mov rcx, qword [r12 + 0x20]
mov dword [r12 + 0x340], eax
call fcn.14009d590
jmp 0x14009c444
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12 + 0x340], eax
jmp 0x14009c444
mov dword [r12 + 0x340], 0xfffffffc
mov rcx, qword [rsp + 0x1d0]
test rcx, rcx
je 0x14009c456
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov eax, r13d
mov r14, qword [rsp + 0x938]
mov rsi, qword [rsp + 0x940]
mov rbp, qword [rsp + 0x948]
mov rbx, qword [rsp + 0x980]
mov r15, qword [rsp + 0x930]
add rsp, 0x950
pop r13
pop r12
pop rdi
ret
cmp dword [r12 + 0x84], 6
mov rcx, qword [rsp + 0x1d0]
setne r13b
add r13d, 0xfffffff9
test rcx, rcx
mov dword [r12 + 0x340], r13d
je 0x14009c4db
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
xor eax, eax
jmp 0x14009c459
mov rcx, qword [rsp + 0x1d0]
mov dword [r12 + 0x340], 0xffffffff
test rcx, rcx
je 0x14009c4db
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
xor eax, eax
jmp 0x14009c459