Function at 0x14004e270
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x380
mov edi, edx
mov r14, rcx
mov ecx, edi
mov qword [rsp + 0x3c0], r8
lea rdx, [rsp + 0x370]
mov qword [rsp + 0x3c8], r9
mov r8, r14
mov r9d, 5
call fcn.140061ea0
mov r13d, eax
test r13d, r13d
je 0x14004e345
lea rax, [rsp + 0x3e0]
mov qword [rsp + 0x30], rax
test byte [rsp + 0x3c0], 1
je 0x14004e32e
movzx eax, byte [rsp + 0x3c3]
test eax, 0x80
je 0x14004e31a
mov eax, dword [rsp + 0x3c4]
movzx eax, al
test al, 0x10
je 0x14004e31a
mov rdx, qword [rsp + 0x30]
lea rax, [rdx + 8]
mov qword [rsp + 0x30], rax
add rdx, 0x10
mov rax, qword [rax - 8]
mov qword [rsp + 0x30], rdx
mov rsi, qword [rdx - 8]
cmp byte [rax], 0x38
jne 0x14004e31a
cmp byte [rax + 2], 0x4e
je 0x14004f061
movzx eax, r13w
add rsp, 0x380
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
mov ecx, r13d
mov edx, 2
mov r8d, edi
lea r9, str.unknown
call fcn.14006765c
mov rax, qword [rsp + 0x370]
xor r13d, r13d
mov dword [rsp + 0x38], 0
mov qword [rax + 0x100], r13
mov rdx, qword [rsp + 0x370]
mov qword [rdx + 0x198], r13
mov rsi, qword [rsp + 0x370]
mov rcx, qword [rsi + 0x140]
mov qword [rsi + 0x138], rcx
movzx esi, byte [rsp + 0x3c3]
test esi, 0x80
je 0x14004e442
lea rax, [rsp + 0x3e0]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x3c4]
mov dword [rsp + 0x38], eax
movzx eax, al
test al, 0x20
je 0x14004e3c6
mov rdx, qword [rsp + 0x370]
or byte [rdx + 0x24f], 0x40
test al, 0x10
je 0x14004e431
mov rax, qword [rsp + 0x30]
lea rdi, [rax + 8]
mov qword [rsp + 0x30], rdi
add rax, 0x10
mov rdi, qword [rdi - 8]
mov qword [rsp + 0x30], rax
mov rsi, qword [rax - 8]
movsx eax, byte [rdi]
cmp eax, 0x38
je 0x14004faa6
cmp eax, 0xb
je 0x14004f7ce
cmp eax, 0x38
je 0x14004f17b
cmp eax, 1
je 0x14004e431
mov ecx, 8
mov edx, 2
lea r8, str.for_wseq_fmt.c
mov r9d, 0x1bf
mov qword [rsp + 0x30], 0
call fcn.14006765c
mov qword [rsp + 0x30], 0
movzx esi, byte [rsp + 0x3c3]
mov rdi, qword [rsp + 0x370]
movzx edx, byte [rsp + 0x3c0]
mov eax, edx
and eax, 1
mov r8d, edx
movzx ecx, byte [rdi + 0x248]
and r8d, 2
and ecx, 0xfffffffe
or ecx, eax
mov byte [rdi + 0x248], cl
mov edi, esi
mov r10, qword [rsp + 0x370]
movzx eax, byte [rsp + 0x3c2]
mov r11d, eax
shr r11d, 1
movzx r9d, byte [r10 + 0x248]
and r11d, 0xffffffe0
and r9d, 0xfffffffd
or r9d, r8d
mov byte [r10 + 0x248], r9b
mov r10d, esi
mov rcx, qword [rsp + 0x370]
shl edi, 7
shr r10d, 1
movzx r15d, byte [rcx + 0x24a]
and r10d, 1
and r15d, 0xffffff9f
or r15d, r11d
mov byte [rcx + 0x24a], r15b
mov r9, qword [rsp + 0x370]
shl r10d, 3
movzx r8d, byte [r9 + 0x24a]
and r8d, 0x7f
or r8d, edi
xor edi, edi
mov byte [r9 + 0x24a], r8b
mov r15, qword [rsp + 0x370]
movzx r11d, byte [r15 + 0x24b]
and r11d, 0xfffffff7
or r11d, r10d
mov byte [r15 + 0x24b], r11b
mov rcx, qword [rsp + 0x370]
mov dword [rcx + 0x1f0], edi
mov r8, qword [rsp + 0x370]
mov dword [r8 + 0x1f8], edi
mov r9, qword [rsp + 0x370]
movzx edi, byte [r9 + 0x245]
test edi, 0x20
je 0x14004fe88
test edi, 0x40
je 0x14004e5f1
mov rax, qword [r9 + 0x30]
test rax, rax
je 0x14004fae5
test byte [rax + 0x74], 2
je 0x14004e5ba
mov edx, 0x2f
mov dword [rax + 0x68], edx
mov rax, qword [rsp + 0x370]
mov rcx, qword [rax + 0x30]
mov dword [rcx + 0x6c], edx
mov rsi, qword [rsp + 0x370]
mov rax, qword [rsi + 0xc0]
test rax, rax
je 0x14004e5a5
mov qword [rax + 8], r13
mov rax, qword [rsp + 0x370]
mov qword [rax + 0xc0], r13
mov eax, 0x2f
add rsp, 0x380
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
movzx r8d, byte [r9 + 0x248]
mov rcx, r9
and r8d, 7
mov edx, 0xffffffff
mov r9d, Ordinal_52
mov dword [rsp + 0x20], Ordinal_52
call fcn.140065650
add rsp, 0x380
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
test byte [r9 + 0x246], 0x40
jne 0x14004e69f
mov rax, qword [r9 + 0x30]
test rax, rax
je 0x14004fb07
test byte [rax + 0x74], 2
je 0x14004e668
mov dword [rax + 0x68], 0x101
mov rax, qword [rsp + 0x370]
mov rdx, qword [rax + 0x30]
mov dword [rdx + 0x6c], Ordinal_34
mov rcx, qword [rsp + 0x370]
mov rax, qword [rcx + 0xc0]
test rax, rax
je 0x14004e653
mov qword [rax + 8], r13
mov rax, qword [rsp + 0x370]
mov qword [rax + 0xc0], r13
mov eax, 0x101
add rsp, 0x380
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
movzx r8d, byte [r9 + 0x248]
mov rcx, r9
and r8d, 7
mov edx, 0xffffffff
mov r9d, 0x101
mov dword [rsp + 0x20], Ordinal_34
call fcn.140065650
add rsp, 0x380
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
test byte [r9 + 0x247], 8
je 0x14004e76b
test byte [r9 + 0x244], 4
je 0x14004e6cb
je 0x14004e76b
cmp byte [r9 + 0x232], 1
jne 0x14004e76b
mov rax, qword [r9 + 0x30]
test rax, rax
je 0x14004fb2c
test byte [rax + 0x74], 2
je 0x14004e734
mov dword [rax + 0x68], 0x103
mov rax, qword [rsp + 0x370]
mov rdx, qword [rax + 0x30]
mov dword [rdx + 0x6c], Ordinal_34
mov rcx, qword [rsp + 0x370]
mov rax, qword [rcx + 0xc0]
test rax, rax
je 0x14004e71f
mov qword [rax + 8], r13
mov rax, qword [rsp + 0x370]
mov qword [rax + 0xc0], r13
mov eax, 0x103
add rsp, 0x380
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
movzx r8d, byte [r9 + 0x248]
mov rcx, r9
and r8d, 7
mov edx, 0xffffffff
mov r9d, 0x103
mov dword [rsp + 0x20], Ordinal_34
call fcn.140065650
add rsp, 0x380
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
mov rsi, qword [r9 + 0xa8]
movabs rdx, 0
mov eax, 0x60
mov qword [rsi + 0x60], rdx
mov qword [rsi + rax - 8], rdx
mov qword [rsi + rax - 0x10], rdx
mov qword [rsi + rax - 0x18], rdx
mov qword [rsi + rax - 0x20], rdx
sub rax, 0x20
jne 0x14004e785
mov qword [rsi], r9
mov rdx, qword [rsp + 0x370]
movzx eax, byte [rdx + 0x23f]
test eax, eax
je 0x14004e807
cmp eax, 1
je 0x14004e7f2
cmp eax, 2
jne 0x14004e7d6
movzx eax, byte [rsi + 0x5c]
or eax, 4
and eax, 0xffffffe7
mov byte [rsi + 0x5c], al
mov rdx, qword [rsp + 0x370]
jmp 0x14004e807
cmp eax, 3
jne 0x14004e807
movzx eax, byte [rsi + 0x5c]
and eax, 0xffffffeb
or eax, 8
mov byte [rsi + 0x5c], al
mov rdx, qword [rsp + 0x370]
jmp 0x14004e807
movzx eax, byte [rsi + 0x5c]
and eax, 0xfffffff3
or eax, 0x10
mov byte [rsi + 0x5c], al
mov rdx, qword [rsp + 0x370]
movzx eax, byte [rdx + 0x23b]
test eax, eax
je case.default.0x14004e82b
dec eax
cmp eax, 4
ja case.default.0x14004e82b
movsxd rax, eax
lea rdx, [0x140000000]
mov rcx, qword [rdx + rax*8 + 0xb2c90]
jmp rcx
movzx eax, byte [rsi + 0x60]
and eax, 0xffffffc3
or eax, 0x40
mov byte [rsi + 0x60], al
jmp case.default.0x14004e82b
movzx eax, byte [rsi + 0x60]
and eax, 0xffffffa3
or eax, 0x20
mov byte [rsi + 0x60], al
jmp case.default.0x14004e82b
movzx eax, byte [rsi + 0x60]
and eax, 0xffffff93
or eax, 0x10
mov byte [rsi + 0x60], al
jmp case.default.0x14004e82b
movzx eax, byte [rsi + 0x60]
and eax, 0xffffff8b
or eax, 8
mov byte [rsi + 0x60], al
jmp case.default.0x14004e82b
movzx eax, byte [rsi + 0x60]
or eax, 4
and eax, 0xffffff87
mov byte [rsi + 0x60], al
test byte [rsp + 0x3c0], 8
je 0x14004e979
mov rax, qword [rsp + 0x370]
movzx r8d, byte [rax + 0x248]
test r8d, 1
jne 0x14004e8b3
test r8d, 2
jne 0x14004e8b3
not r8d
and r8d, 4
shr r8d, 2
jmp 0x14004e8b6
xor r8d, r8d
lea rdx, [rsp + 0x368]
mov rcx, qword [rsp + 0x3d8]
call fcn.140072e50
test eax, eax
je 0x14004e967
mov r9, qword [rsp + 0x370]
mov rsi, qword [r9 + 0x30]
test rsi, rsi
je 0x14004f281
test byte [rsi + 0x74], 2
je 0x14004e937
mov dword [rsi + 0x68], eax
mov rcx, qword [rsp + 0x370]
mov rsi, qword [rcx + 0x30]
mov dword [rsi + 0x6c], eax
mov rdi, qword [rsp + 0x370]
mov rcx, qword [rdi + 0xc0]
test rcx, rcx
je 0x14004e927
mov qword [rcx + 8], r13
mov rcx, qword [rsp + 0x370]
mov qword [rcx + 0xc0], r13
add rsp, 0x380
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
movzx r8d, byte [r9 + 0x248]
mov rcx, r9
and r8d, 7
mov edx, 0xffffffff
mov r9d, eax
mov dword [rsp + 0x20], eax
call fcn.140065650
add rsp, 0x380
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
mov rax, qword [rsp + 0x368]
mov qword [rsi + 0x10], rax
or byte [rsi + 0x5f], 2
jmp 0x14004e985
mov rax, qword [rsp + 0x3d8]
mov qword [rsi + 0x10], rax
mov rsi, qword [rsp + 0x370]
test byte [rsi + 0x247], 4
je 0x14004ea9e
mov rdx, qword [rsi + 0x138]
cmp rdx, qword [rsi + 0x140]
je 0x14004ea9e
test byte [rsi + 0x249], 4
jne 0x14004fc54
mov rcx, qword [rsi + 0x178]
lea r8, [rsp + 0x35c]
mov qword [rsp + 0x358], rdx
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [rsp + 0x358], eax
cmp eax, 0xffffffff
mov edx, eax
je 0x14004fc2c
mov eax, dword [rsp + 0x35c]
shl rax, 0x20
or rax, rdx
cmp rax, 0xffffffffffffffff
je 0x14004fb51
mov rdx, qword [rsp + 0x370]
mov rax, qword [rdx + 0x138]
mov qword [rdx + 0x140], rax
mov rsi, qword [rsp + 0x370]
mov rcx, qword [rsi + 0x138]
mov qword [rsi + 0x148], rcx
mov rdi, qword [rsp + 0x370]
mov qword [rdi + 0x150], r13
mov r9, qword [rsp + 0x370]
mov r8, qword [r9 + 0x150]
mov qword [r9 + 0x190], r8
mov r10, qword [rsp + 0x370]
and byte [r10 + 0x249], 0xfd
mov r11, qword [rsp + 0x370]
mov qword [r11 + 0x118], r13
mov rsi, qword [rsp + 0x370]
mov rax, qword [rsi + 0xf0]
test rax, rax
je 0x14004eac2
mov byte [rax + 0x32], 0
mov rsi, qword [rsp + 0x370]
mov rax, qword [rsi + 0xf0]
jmp 0x14004eaa5
mov rax, qword [rsi + 0xf0]
test rax, rax
je 0x14004eac2
movzx eax, byte [rax + 0x32]
test eax, eax
je 0x14004eac2
mov rax, qword [rsi + 0x70]
mov qword [rsi + 0x88], rax
jmp 0x14004edb5
mov rcx, rsi
xor edx, edx
call fcn.1400717f0
test eax, eax
je 0x14004eb59
mov rax, qword [rsi + 0x30]
test rax, rax
je 0x14004fe3e
test byte [rax + 0x74], 2
je 0x14004eb22
mov edx, 0x26
mov dword [rax + 0x68], edx
mov rax, qword [rsi + 0x30]
mov dword [rax + 0x6c], edx
mov rax, qword [rsi + 0xc0]
test rax, rax
je 0x14004eb0d
mov qword [rax + 8], r13
mov qword [rsi + 0xc0], r13
mov eax, 0x26
add rsp, 0x380
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
movzx r8d, byte [rsi + 0x248]
mov rcx, rsi
and r8d, 7
mov edx, 0xffffffff
mov r9d, Ordinal_43
mov dword [rsp + 0x20], Ordinal_45
call fcn.140065650
add rsp, 0x380
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
movsx edi, byte [rsi + 0x230]
lea eax, [rdi - 1]
cmp eax, 7
ja case.default.0x14004eb7e
movsxd rax, eax
lea rdx, [0x140000000]
mov rcx, qword [rdx + rax*8 + 0xb2cc0]
jmp rcx
mov rax, qword [rsi + 0x78]
test rax, rax
jne 0x14004eb8d
mov rax, qword [rsi + 0x68]
mov rdx, qword [rsi + 0x1a0]
mov qword [rsi + 0x70], rax
movzx r8d, byte [rsi + 0x244]
lea rcx, [rax + rdx - 1]
mov qword [rsi + 0x80], rcx
jmp 0x14004ecf4
mov rax, qword [rsi + 0x30]
test rax, rax
je 0x14004fe63
test byte [rax + 0x74], 2
je 0x14004ebff
mov edx, Ordinal_45
mov dword [rax + 0x68], edx
mov rax, qword [rsi + 0x30]
mov dword [rax + 0x6c], edx
mov rax, qword [rsi + 0xc0]
test rax, rax
je 0x14004ebea
mov qword [rax + 8], r13
mov qword [rsi + 0xc0], r13
mov eax, Ordinal_45
add rsp, 0x380
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
movzx r8d, byte [rsi + 0x248]
mov rcx, rsi
and r8d, 7
mov edx, 0xffffffff
mov r9d, Ordinal_45
mov dword [rsp + 0x20], Ordinal_45
call fcn.140065650
add rsp, 0x380
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
mov rax, qword [rsi + 0x78]
test rax, rax
je 0x14004ec45
add rax, 4
jmp 0x14004ec4d
mov rax, qword [rsi + 0x68]
add rax, 4
mov rdx, qword [rsi + 0x1a0]
mov qword [rsi + 0x70], rax
movzx r8d, byte [rsi + 0x244]
lea rcx, [rax + rdx - 8]
mov qword [rsi + 0x80], rcx
jmp 0x14004ecf4
mov rax, qword [rsi + 0x78]
test rax, rax
jne 0x14004ec7e
mov rax, qword [rsi + 0x68]
mov rdx, qword [rsi + 0x1a0]
movzx r8d, byte [rsi + 0x244]
test r8d, 4
mov qword [rsi + 0x70], rax
lea rcx, [rax + rdx]
je 0x14004ecb5
test byte [rsi + 0x246], 0x40
je 0x14004ecb5
test byte [rsi + 0x247], 8
je 0x14004ecb5
cmp edi, 1
je 0x14004ecbe
mov qword [rsi + 0x80], rcx
jmp 0x14004ecf4
lea rdx, [rax + rdx - 2]
mov qword [rsi + 0x80], rdx
jmp 0x14004ecf4
mov ecx, 8
mov edx, 2
lea r8, str.for_wseq_fmt.c
mov r9d, 0x299
call fcn.14006765c
movzx r8d, byte [rsi + 0x244]
mov rax, qword [rsi + 0x70]
test r8d, 4
je 0x14004ed18
test byte [rsi + 0x246], 0x40
je 0x14004ed18
test byte [rsi + 0x247], 8
je 0x14004ed18
cmp byte [rsi + 0x230], 1
je 0x14004ed6d
movsx edx, byte [rsi + 0x232]
cmp edx, 2
jne 0x14004ed43
movsx edx, byte [rsi + 0x230]
cmp edx, 7
je 0x14004ed6d
cmp edx, 6
je 0x14004ed6d
cmp edx, 8
je 0x14004ed6d
dec qword [rsi + 0x80]
jmp 0x14004ed6d
cmp edx, 1
jne 0x14004ed6d
movsx edx, byte [rsi + 0x230]
cmp edx, 7
je 0x14004ed65
cmp edx, 6
je 0x14004ed65
cmp edx, 8
je 0x14004ed65
dec qword [rsi + 0x80]
add rax, 5
mov qword [rsi + 0x70], rax
mov qword [rsi + 0x88], rax
mov edx, reloc.LMGR10.dll_Ordinal_32
mov qword [rsi + 0x90], 0
mov rax, qword [rsp + 0x370]
mov rcx, qword [rax + 0x70]
mov rsi, qword [rax + 0x80]
sub rsi, rcx
movsxd r8, esi
call fcn.14009ef10
mov rdx, qword [rsp + 0x370]
mov rax, qword [rdx + 0x70]
mov qword [rdx + 0x90], rax
mov rdx, qword [rsp + 0x370]
mov rax, qword [rdx + 0xf0]
test rax, rax
je 0x14004ee0a
movzx eax, byte [rax + 0x33]
test eax, eax
je 0x14004ee0a
mov rcx, qword [rdx + 0x178]
call qword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 2
je 0x14004ee0a
mov rcx, qword [rsp + 0x370]
mov rax, qword [rcx + 0xf0]
test rax, rax
je 0x14004ee03
mov byte [rax + 0x33], 0
mov rcx, qword [rsp + 0x370]
xor edx, edx
call fcn.1400717f0
test byte [rsp + 0x3c2], 8
jne 0x14004ee35
mov rax, qword [rsp + 0x370]
mov rax, qword [rax + 0xf0]
test rax, rax
je 0x14004f039
mov byte [rax + 0x32], 0
jmp 0x14004f039
lea rcx, [rsp + 0x3c8]
lea rdx, [rsp + 0x3d0]
lea r8, [rsp + 0x340]
lea r9, [rsp + 0x30]
call fcn.1400719d0
test eax, eax
jne 0x14004ef89
movsxd rdi, dword [rsp + 0x354]
xor edx, edx
mov rsi, qword [rsp + 0x340]
lea r8, [rsp + 0x360]
lea rcx, [rdi + 1]
call fcn.140071900
test eax, eax
jne 0x14004ef89
mov r15, r13
test rdi, rdi
jle 0x14004eec0
mov qword [rsp + 0x338], rbp
movsx ecx, byte [r15 + rsi]
call fcn.1400a6af0
mov rdx, qword [rsp + 0x360]
mov byte [rdx + r15], al
inc r15
cmp r15, rdi
jl 0x14004ee9a
mov rbp, qword [rsp + 0x338]
mov rax, qword [rsp + 0x360]
mov byte [rdi + rax], 0
mov r15, qword [rsp + 0x360]
cmp byte [r15 + rdi - 1], 0x20
jne 0x14004eefb
cmp rdi, 1
jle 0x14004eefb
mov byte [r15 + rdi - 1], 0
dec rdi
mov r15, qword [rsp + 0x360]
cmp byte [r15 + rdi - 1], 0x20
je 0x14004eedc
lea rdi, [0x1400b1038]
mov rsi, r15
mov dl, byte [rdi]
cmp dl, byte [rsi]
jne 0x14004ef27
test dl, dl
je 0x14004ef23
mov dl, byte [rdi + 1]
cmp dl, byte [rsi + 1]
jne 0x14004ef27
add rdi, 2
add rsi, 2
test dl, dl
jne 0x14004ef05
xor eax, eax
jmp 0x14004ef2c
sbb eax, eax
or eax, 1
test eax, eax
je 0x14004ef7f
lea rdi, [0x1400b1034]
mov rsi, r15
mov dl, byte [rdi]
cmp dl, byte [rsi]
jne 0x14004ef5c
test dl, dl
je 0x14004ef58
mov dl, byte [rdi + 1]
cmp dl, byte [rsi + 1]
jne 0x14004ef5c
add rdi, 2
add rsi, 2
test dl, dl
jne 0x14004ef3a
xor eax, eax
jmp 0x14004ef61
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14004ef6c
mov esi, 1
jmp 0x14004ef81
mov rcx, r15
call fcn.1400719c0
test eax, eax
jne 0x14004ef89
mov eax, Ordinal_52
jmp 0x14004ef8d
xor esi, esi
mov rcx, r15
call fcn.1400719c0
test eax, eax
je 0x14004eff5
mov r9, qword [rsp + 0x370]
mov rsi, qword [r9 + 0x30]
test rsi, rsi
je 0x14004f281
test byte [rsi + 0x74], 2
je 0x14004e937
mov dword [rsi + 0x68], eax
mov rcx, qword [rsp + 0x370]
mov rsi, qword [rcx + 0x30]
mov dword [rsi + 0x6c], eax
mov rdi, qword [rsp + 0x370]
mov rcx, qword [rdi + 0xc0]
test rcx, rcx
je 0x14004efe5
mov qword [rcx + 8], r13
mov rcx, qword [rsp + 0x370]
mov qword [rcx + 0xc0], r13
add rsp, 0x380
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
test esi, esi
je 0x14004f013
mov rax, qword [rsp + 0x370]
mov rax, qword [rax + 0xf0]
test rax, rax
je 0x14004f039
mov byte [rax + 0x32], 0
jmp 0x14004f039
mov rax, qword [rsp + 0x370]
mov rdx, qword [rax + 0xf0]
mov byte [rdx + 0x32], 1
mov rcx, qword [rsp + 0x370]
mov rsi, qword [rcx + 0xf0]
mov qword [rsi + 0x18], rcx
mov rcx, r14
mov rdx, qword [rsp + 0x3c8]
mov r8, qword [rsp + 0x3d0]
call fcn.140050100
add rsp, 0x380
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
mov ecx, edi
lea rdx, [rsp + 0x30]
call fcn.1400615d0
test eax, eax
jne 0x14004e31a
mov rdx, qword [rsp + 0x30]
xor eax, eax
movzx edi, byte [rsp + 0x3c0]
and edi, 1
mov qword [rdx + 0x100], rax
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 0x198], rax
mov r9, qword [rsp + 0x30]
movzx r8d, byte [r9 + 0x248]
and r8d, 0xfffffffe
or r8d, edi
mov byte [r9 + 0x248], r8b
mov r11, qword [rsp + 0x30]
mov r10, qword [rsi]
mov qword [r11 + 0x198], r10
mov r14, qword [rsp + 0x30]
mov rsi, qword [rsi + 8]
mov qword [r14 + 0x100], rsi
mov r9, qword [rsp + 0x30]
mov rdx, qword [r9 + 0x30]
test rdx, rdx
je 0x14004f15e
test byte [rdx + 0x74], 2
je 0x14004f12d
mov dword [rdx + 0x68], r13d
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rdx + 0x30]
mov dword [rcx + 0x6c], r13d
mov rsi, qword [rsp + 0x30]
mov rdx, qword [rsi + 0xc0]
test rdx, rdx
je 0x14004f11a
mov qword [rdx + 8], rax
mov rdx, qword [rsp + 0x30]
mov qword [rdx + 0xc0], rax
mov eax, r13d
add rsp, 0x380
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
movzx r8d, byte [r9 + 0x248]
mov rcx, r9
and r8d, 7
mov edx, 0xffffffff
mov r9d, r13d
mov dword [rsp + 0x20], r13d
call fcn.140065650
add rsp, 0x380
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
xor ecx, ecx
mov edx, r13d
mov r8d, r13d
call fcn.140065e30
add rsp, 0x380
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
movsx eax, byte [rdi + 2]
cmp eax, 6
je 0x14004f6b6
cmp eax, 0x52
je 0x14004f5d0
cmp eax, 0x3b
je 0x14004f4b2
cmp eax, 0x3c
je 0x14004f386
cmp eax, 0x51
je 0x14004f2a0
cmp eax, 0x53
jne 0x14004e40c
mov r8d, 0x53
lea r9, [rsp + 0x328]
mov rcx, qword [rsi + 8]
mov edx, dword [rsi]
mov dword [rsp + 0x20], 3
call fcn.14004cdc0
test eax, eax
jne 0x14004f21d
mov rdx, qword [rsp + 0x370]
movzx eax, byte [rdx + 0x23f]
mov byte [rdx + 0x240], al
mov rcx, qword [rsp + 0x370]
or byte [rcx + 0x24f], 0x20
mov r8, qword [rsp + 0x370]
mov esi, dword [rsp + 0x328]
mov byte [r8 + 0x23f], sil
movsx eax, byte [rdi + 4]
jmp 0x14004e407
mov r9, qword [rsp + 0x370]
mov rsi, qword [r9 + 0x30]
test rsi, rsi
je 0x14004f281
test byte [rsi + 0x74], 2
je 0x14004e937
mov dword [rsi + 0x68], eax
mov rcx, qword [rsp + 0x370]
mov rsi, qword [rcx + 0x30]
mov dword [rsi + 0x6c], eax
mov rdi, qword [rsp + 0x370]
mov rcx, qword [rdi + 0xc0]
test rcx, rcx
je 0x14004f271
mov qword [rcx + 8], r13
mov rcx, qword [rsp + 0x370]
mov qword [rcx + 0xc0], r13
add rsp, 0x380
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
mov ecx, 1
mov edx, eax
mov r8d, eax
call fcn.140065e30
add rsp, 0x380
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
mov r8d, 0x51
lea r9, [rsp + 0x328]
mov rcx, qword [rsi + 8]
mov edx, dword [rsi]
mov dword [rsp + 0x20], 3
call fcn.14004cdc0
test eax, eax
jne 0x14004f315
mov rdx, qword [rsp + 0x370]
add rdi, 4
add rsi, 0x10
movzx eax, byte [rdx + 0x23b]
mov byte [rdx + 0x23c], al
mov rcx, qword [rsp + 0x370]
or byte [rcx + 0x24f], 0x10
mov r9, qword [rsp + 0x370]
mov r8d, dword [rsp + 0x328]
mov byte [r9 + 0x23b], r8b
movsx eax, byte [rdi]
cmp eax, 0x38
je 0x14004f37d
jmp 0x14004e407
mov r9, qword [rsp + 0x370]
mov rsi, qword [r9 + 0x30]
test rsi, rsi
je 0x14004f281
test byte [rsi + 0x74], 2
je 0x14004e937
mov dword [rsi + 0x68], eax
mov rcx, qword [rsp + 0x370]
mov rsi, qword [rcx + 0x30]
mov dword [rsi + 0x6c], eax
mov rdi, qword [rsp + 0x370]
mov rcx, qword [rdi + 0xc0]
test rcx, rcx
je 0x14004f36d
mov qword [rcx + 8], r13
mov rcx, qword [rsp + 0x370]
mov qword [rcx + 0xc0], r13
add rsp, 0x380
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
movsx eax, byte [rdi + 2]
jmp 0x14004f1ac
mov r8d, Ordinal_61
lea r9, [rsp + 0x328]
mov rcx, qword [rsi + 8]
mov edx, dword [rsi]
mov dword [rsp + 0x20], 3
call fcn.14004cdc0
test eax, eax
jne 0x14004f441
mov rcx, qword [rsp + 0x370]
movzx eax, byte [rcx + 0x24a]
mov edx, eax
shr eax, 1
and edx, 0xfffffffb
and eax, 1
shl eax, 2
or edx, eax
mov byte [rcx + 0x24a], dl
mov r8, qword [rsp + 0x370]
or byte [r8 + 0x24f], 8
mov rax, qword [rsp + 0x328]
cmp rax, 2
jne 0x14004f41d
mov rcx, qword [rsp + 0x370]
movzx eax, byte [rsp + 0x3c2]
shr eax, 2
and eax, 1
movzx edx, byte [rcx + 0x24a]
add eax, eax
and edx, 0xfffffffd
or edx, eax
mov byte [rcx + 0x24a], dl
jmp 0x14004f42c
mov rax, qword [rsp + 0x370]
and byte [rax + 0x24a], 0xfd
add rdi, 4
add rsi, 0x10
movsx eax, byte [rdi]
cmp eax, 0x38
je 0x14004f4a9
jmp 0x14004e407
mov r9, qword [rsp + 0x370]
mov rsi, qword [r9 + 0x30]
test rsi, rsi
je 0x14004f281
test byte [rsi + 0x74], 2
je 0x14004e937
mov dword [rsi + 0x68], eax
mov rcx, qword [rsp + 0x370]
mov rsi, qword [rcx + 0x30]
mov dword [rsi + 0x6c], eax
mov rdi, qword [rsp + 0x370]
mov rcx, qword [rdi + 0xc0]
test rcx, rcx
je 0x14004f499
mov qword [rcx + 8], r13
mov rcx, qword [rsp + 0x370]
mov qword [rcx + 0xc0], r13
add rsp, 0x380
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
movsx eax, byte [rdi + 2]
jmp 0x14004f1a3
mov r8d, reloc.LMGR10.dll_Ordinal_59
lea r9, [rsp + 0x328]
mov rcx, qword [rsi + 8]
mov edx, dword [rsi]
mov dword [rsp + 0x20], 3
call fcn.14004cdc0
test eax, eax
jne 0x14004f55f
mov rdx, qword [rsp + 0x370]
movzx eax, byte [rdx + 0x235]
mov byte [rdx + 0x236], al
mov rcx, qword [rsp + 0x370]
or byte [rcx + 0x24f], 4
mov rax, qword [rsp + 0x328]
cmp rax, 2
je 0x14004f53b
cmp rax, 1
jne 0x14004f524
mov rax, qword [rsp + 0x370]
mov byte [rax + 0x235], Ordinal_45
jmp 0x14004f54a
cmp rax, 3
jne 0x14004f53b
mov rax, qword [rsp + 0x370]
mov byte [rax + 0x235], reloc.LMGR10.dll_Ordinal_34
jmp 0x14004f54a
mov rax, qword [rsp + 0x370]
mov byte [rax + 0x235], 0
add rdi, 4
add rsi, 0x10
movsx eax, byte [rdi]
cmp eax, 0x38
je 0x14004f5c7
jmp 0x14004e407
mov r9, qword [rsp + 0x370]
mov rsi, qword [r9 + 0x30]
test rsi, rsi
je 0x14004f281
test byte [rsi + 0x74], 2
je 0x14004e937
mov dword [rsi + 0x68], eax
mov rcx, qword [rsp + 0x370]
mov rsi, qword [rcx + 0x30]
mov dword [rsi + 0x6c], eax
mov rdi, qword [rsp + 0x370]
mov rcx, qword [rdi + 0xc0]
test rcx, rcx
je 0x14004f5b7
mov qword [rcx + 8], r13
mov rcx, qword [rsp + 0x370]
mov qword [rcx + 0xc0], r13
add rsp, 0x380
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
movsx eax, byte [rdi + 2]
jmp 0x14004f19a
mov r8d, 0x52
lea r9, [rsp + 0x328]
mov rcx, qword [rsi + 8]
mov edx, dword [rsi]
mov dword [rsp + 0x20], 3
call fcn.14004cdc0
test eax, eax
jne 0x14004f645
mov rdx, qword [rsp + 0x370]
add rdi, 4
add rsi, 0x10
movzx eax, byte [rdx + 0x23d]
mov byte [rdx + 0x23e], al
mov rcx, qword [rsp + 0x370]
or byte [rcx + 0x24f], 2
mov r9, qword [rsp + 0x370]
mov r8d, dword [rsp + 0x328]
mov byte [r9 + 0x23d], r8b
movsx eax, byte [rdi]
cmp eax, 0x38
je 0x14004f6ad
jmp 0x14004e407
mov r9, qword [rsp + 0x370]
mov rsi, qword [r9 + 0x30]
test rsi, rsi
je 0x14004f281
test byte [rsi + 0x74], 2
je 0x14004e937
mov dword [rsi + 0x68], eax
mov rcx, qword [rsp + 0x370]
mov rsi, qword [rcx + 0x30]
mov dword [rsi + 0x6c], eax
mov rdi, qword [rsp + 0x370]
mov rcx, qword [rdi + 0xc0]
test rcx, rcx
je 0x14004f69d
mov qword [rcx + 8], r13
mov rcx, qword [rsp + 0x370]
mov qword [rcx + 0xc0], r13
add rsp, 0x380
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
movsx eax, byte [rdi + 2]
jmp 0x14004f191
mov r8d, 6
lea r9, [rsp + 0x328]
mov rcx, qword [rsi + 8]
mov edx, dword [rsi]
mov dword [rsp + 0x20], 3
call fcn.14004cdc0
test eax, eax
jne 0x14004f75d
mov rcx, qword [rsp + 0x370]
movzx eax, byte [rcx + 0x247]
mov edx, eax
shr eax, 5
and edx, 0xffffffbf
and eax, 1
shl eax, 6
or edx, eax
mov byte [rcx + 0x247], dl
mov r8, qword [rsp + 0x370]
or byte [r8 + 0x24f], 1
mov rax, qword [rsp + 0x328]
cmp rax, 1
je 0x14004f739
cmp rax, 2
jne 0x14004f739
mov rax, qword [rsp + 0x370]
or byte [rax + 0x247], 0x20
jmp 0x14004f748
mov rax, qword [rsp + 0x370]
and byte [rax + 0x247], 0xdf
add rdi, 4
add rsi, 0x10
movsx eax, byte [rdi]
cmp eax, 0x38
je 0x14004f7c5
jmp 0x14004e407
mov r9, qword [rsp + 0x370]
mov rsi, qword [r9 + 0x30]
test rsi, rsi
je 0x14004f281
test byte [rsi + 0x74], 2
je 0x14004e937
mov dword [rsi + 0x68], eax
mov rcx, qword [rsp + 0x370]
mov rsi, qword [rcx + 0x30]
mov dword [rsi + 0x6c], eax
mov rdi, qword [rsp + 0x370]
mov rcx, qword [rdi + 0xc0]
test rcx, rcx
je 0x14004f7b5
mov qword [rcx + 8], r13
mov rcx, qword [rsp + 0x370]
mov qword [rcx + 0xc0], r13
add rsp, 0x380
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
movsx eax, byte [rdi + 2]
jmp 0x14004f188
cmp byte [rdi + 2], 0x4f
jne 0x14004e40c
mov r9, qword [rsp + 0x370]
test byte [r9 + 0x247], 4
jne 0x14004f94b
test byte [r9 + 0x245], 0x20
jne 0x14004f8a2
mov rax, qword [r9 + 0x30]
test rax, rax
je 0x14004f97c
test byte [rax + 0x74], 2
je 0x14004f862
mov edx, 0x6d
mov dword [rax + 0x68], edx
mov rax, qword [rsp + 0x370]
mov rcx, qword [rax + 0x30]
mov dword [rcx + 0x6c], edx
mov rsi, qword [rsp + 0x370]
mov rax, qword [rsi + 0xc0]
test rax, rax
je 0x14004f84d
mov qword [rax + 8], r13
mov rax, qword [rsp + 0x370]
mov qword [rax + 0xc0], r13
mov eax, 0x6d
add rsp, 0x380
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
movzx r8d, byte [r9 + 0x248]
mov rcx, r9
and r8d, 7
mov edx, 0xffffffff
mov r9d, 0x6d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0x6d
call fcn.140065650
add rsp, 0x380
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
mov rax, qword [r9 + 0x30]
test rax, rax
je 0x14004f9a7
test byte [rax + 0x74], 2
je 0x14004f90b
mov dword [rax + 0x68], 0x6e
mov rax, qword [rsp + 0x370]
mov rdx, qword [rax + 0x30]
mov dword [rdx + 0x6c], Ordinal_34
mov rcx, qword [rsp + 0x370]
mov rax, qword [rcx + 0xc0]
test rax, rax
je 0x14004f8f6
mov qword [rax + 8], r13
mov rax, qword [rsp + 0x370]
mov qword [rax + 0xc0], r13
mov eax, 0x6e
add rsp, 0x380
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
movzx r8d, byte [r9 + 0x248]
mov rcx, r9
and r8d, 7
mov edx, 0xffffffff
mov r9d, 0x6e
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x20], Ordinal_34
call fcn.140065650
add rsp, 0x380
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
mov rax, qword [rsi]
add rsi, 8
dec rax
mov qword [r9 + 0x138], rax
mov r9, qword [rsp + 0x370]
mov rdx, qword [r9 + 0x138]
test rdx, rdx
jl 0x14004f9d5
add rdi, 4
movsx eax, byte [rdi]
jmp 0x14004e3fe
mov edx, 0x6d
mov ecx, 1
mov r8d, edx
mov qword [rsp + 0x30], 0
call fcn.140065e30
add rsp, 0x380
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
mov ecx, 1
mov edx, 0x6e
mov r8d, Ordinal_34
mov qword [rsp + 0x30], 0
call fcn.140065e30
add rsp, 0x380
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
mov rax, qword [r9 + 0x30]
test rax, rax
je 0x14004fa7b
test byte [rax + 0x74], 2
je 0x14004fa3b
mov edx, 0x6f
mov dword [rax + 0x68], edx
mov rax, qword [rsp + 0x370]
mov rcx, qword [rax + 0x30]
mov dword [rcx + 0x6c], edx
mov rsi, qword [rsp + 0x370]
mov rax, qword [rsi + 0xc0]
test rax, rax
je 0x14004fa26
mov qword [rax + 8], r13
mov rax, qword [rsp + 0x370]
mov qword [rax + 0xc0], r13
mov eax, 0x6f
add rsp, 0x380
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
movzx r8d, byte [r9 + 0x248]
mov rcx, r9
and r8d, 7
mov edx, 0xffffffff
mov r9d, 0x6f
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0x6f
call fcn.140065650
add rsp, 0x380
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
mov edx, 0x6f
mov ecx, 1
mov r8d, edx
mov qword [rsp + 0x30], 0
call fcn.140065e30
add rsp, 0x380
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
cmp byte [rdi + 2], 0x4e
jne 0x14004e3f5
mov rdx, qword [rsp + 0x370]
add rdi, 4
mov rax, qword [rsi]
mov qword [rdx + 0x198], rax
mov r8, qword [rsp + 0x370]
mov rcx, qword [rsi + 8]
add rsi, 0x10
mov qword [r8 + 0x100], rcx
movsx eax, byte [rdi]
jmp 0x14004e3f5
mov edx, 0x2f
mov ecx, 1
mov r8d, edx
call fcn.140065e30
add rsp, 0x380
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
mov ecx, 1
mov edx, 0x101
mov r8d, Ordinal_34
call fcn.140065e30
add rsp, 0x380
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
mov ecx, 1
mov edx, 0x103
mov r8d, Ordinal_34
call fcn.140065e30
add rsp, 0x380
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, qword [rsp + 0x370]
mov dword [rdx + 0x180], eax
mov r9, qword [rsp + 0x370]
mov rax, qword [r9 + 0x30]
test rax, rax
je 0x14004fc0a
test byte [rax + 0x74], 2
je 0x14004fbd3
mov edx, 0x26
mov dword [rax + 0x68], edx
mov rax, qword [rsp + 0x370]
mov rcx, qword [rax + 0x30]
mov dword [rcx + 0x6c], edx
mov rsi, qword [rsp + 0x370]
mov rax, qword [rsi + 0xc0]
test rax, rax
je 0x14004fbbe
mov qword [rax + 8], r13
mov rax, qword [rsp + 0x370]
mov qword [rax + 0xc0], r13
mov eax, 0x26
add rsp, 0x380
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
movzx r8d, byte [r9 + 0x248]
mov rcx, r9
and r8d, 7
mov edx, 0xffffffff
mov r9d, Ordinal_43
mov dword [rsp + 0x20], Ordinal_45
call fcn.140065650
add rsp, 0x380
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
mov edx, 0x26
mov ecx, 1
mov r8d, edx
call fcn.140065e30
add rsp, 0x380
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14004fc47
mov qword [rsp + 0x358], 0xffffffffffffffff
jmp 0x14004fb51
mov rax, qword [rsp + 0x358]
jmp 0x14004e9fb
mov r15, qword [rsi + 0x210]
mov edx, 0x20000
test r15, r15
mov rax, rdx
mov r8, qword [rsi + 0x68]
mov rdi, qword [rsi + 0x78]
cmovne rax, r15
sub rdi, r8
cmp rdi, rax
ja 0x14004fcb2
mov rdx, r8
mov rcx, qword [rsi + 0x178]
mov r8d, edi
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x330]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, 0xffffffff
test eax, eax
mov eax, 1
cmove eax, edx
jmp 0x14004fd64
test r15, r15
mov rax, rdi
mov qword [rsp + 0x30], rbx
mov rbx, rax
mov qword [rsp + 0x38], r12
cmove r15, rdx
mov qword [rsp + 0x338], rbp
mov r12, rdx
mov rbp, r8
mov rdx, rbp
mov rcx, qword [rsi + 0x178]
mov r8d, r15d
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x330]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14004fd18
mov rbx, qword [rsp + 0x30]
mov eax, 0xffffffff
mov r12, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x338]
jmp 0x14004fd64
mov rcx, qword [rsi + 0x210]
test rcx, rcx
mov r9d, dword [rsp + 0x330]
cmove rcx, r12
mov eax, 1
sub rbx, r9
add rbp, r9
cmp rbx, rcx
jae 0x14004fd48
mov r15, rbx
test rbx, rbx
jne 0x14004fd4d
jmp 0x14004fd52
test rbx, rbx
je 0x14004fd52
test r9, r9
ja 0x14004fcd7
mov rbx, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x338]
mov rcx, qword [rsi + 0x68]
mov rdx, qword [rsi + 0x1a0]
mov r8, qword [rsi + 0x148]
add rdi, r8
mov qword [rsi + 0x78], rcx
add rcx, rdx
and byte [rsi + 0x249], 0xfb
mov qword [rsi + 0x80], rcx
cmp eax, 0xffffffff
mov qword [rsi + 0x130], 0
mov qword [rsi + 0x148], rdi
mov qword [rsi + 0x140], rdi
je 0x14004fdc0
mov rsi, qword [rsp + 0x370]
mov rdx, qword [rsi + 0x138]
jmp 0x14004e9bb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi + 0x180], eax
mov r9, qword [rsp + 0x370]
mov rax, qword [r9 + 0x30]
test rax, rax
je 0x14004fc0a
test byte [rax + 0x74], 2
je 0x14004fbd3
mov edx, 0x26
mov dword [rax + 0x68], edx
mov rax, qword [rsp + 0x370]
mov rcx, qword [rax + 0x30]
mov dword [rcx + 0x6c], edx
mov rsi, qword [rsp + 0x370]
mov rax, qword [rsi + 0xc0]
test rax, rax
je 0x14004fe29
mov qword [rax + 8], r13
mov rax, qword [rsp + 0x370]
mov qword [rax + 0xc0], r13
mov eax, 0x26
add rsp, 0x380
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
mov edx, 0x26
mov ecx, 1
mov r8d, edx
mov r9, rsi
call fcn.140065e30
add rsp, 0x380
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
mov edx, Ordinal_45
mov ecx, 1
mov r8d, edx
mov r9, rsi
call fcn.140065e30
add rsp, 0x380
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
movzx edi, byte [r9 + 0x244]
shr edx, 7
and edi, 0xfffffffe
or edi, edx
mov byte [r9 + 0x244], dil
mov edi, esi
mov r11, qword [rsp + 0x370]
shr eax, 2
and eax, 1
movzx r10d, byte [r11 + 0x244]
add eax, eax
and r10d, 0xfffffffd
or r10d, eax
mov eax, esi
shr eax, 3
mov byte [r11 + 0x244], r10b
and eax, 1
mov rcx, qword [rsp + 0x370]
mov r10d, eax
shr edi, 2
and edi, 1
movzx edx, byte [rcx + 0x244]
lea r15d, [rax*4]
and edx, 0xfffffffb
or edx, r15d
mov byte [rcx + 0x244], dl
mov edx, esi
mov r9, qword [rsp + 0x370]
shl edi, 3
shl r10d, 5
movzx r8d, byte [r9 + 0x244]
and r8d, 0xfffffff7
or r8d, edi
mov byte [r9 + 0x244], r8b
mov r15, qword [rsp + 0x370]
shr edx, 4
and edx, 1
movzx r11d, byte [r15 + 0x244]
and r11d, 0xffffffdf
or r11d, r10d
mov byte [r15 + 0x244], r11b
mov rdi, qword [rsp + 0x370]
shl edx, 2
shl eax, 3
movzx ecx, byte [rdi + 0x24d]
and ecx, 0xfffffffb
or ecx, edx
mov byte [rdi + 0x24d], cl
mov r9, qword [rsp + 0x370]
shr esi, 5
and esi, 1
movzx r8d, byte [r9 + 0x24d]
and r8d, 0xfffffff7
or r8d, eax
mov eax, esi
mov byte [r9 + 0x24d], r8b
mov rcx, qword [rsp + 0x370]
shl eax, 6
shl esi, 7
movzx edx, byte [rcx + 0x244]
and edx, 0xffffffbf
or edx, eax
mov byte [rcx + 0x244], dl
mov rax, qword [rsp + 0x370]
movzx r8d, byte [rsp + 0x38]
mov ecx, r8d
shr ecx, 1
movzx edi, byte [rax + 0x244]
and ecx, 1
and edi, 0x7f
or edi, esi
mov esi, r8d
mov byte [rax + 0x244], dil
and esi, 1
mov rdx, qword [rsp + 0x370]
shl ecx, 5
shr r8d, 2
movzx eax, byte [rdx + 0x245]
and r8d, 3
and eax, 0xfffffffe
add r8d, r8d
or eax, esi
mov byte [rdx + 0x245], al
mov edx, 1
mov rsi, qword [rsp + 0x370]
movzx edi, byte [rsi + 0x24d]
and edi, 0xffffffdf
or edi, ecx
mov byte [rsi + 0x24d], dil
mov r10, qword [rsp + 0x370]
movzx r9d, byte [r10 + 0x245]
and r9d, 0xfffffff9
or r9d, r8d
mov r8d, 4
mov byte [r10 + 0x245], r9b
mov r9d, edx
mov rcx, qword [rsp + 0x370]
call fcn.14004d700
test eax, eax
je 0x1400500bf
mov r9, qword [rsp + 0x370]
mov rsi, qword [r9 + 0x30]
test rsi, rsi
je 0x1400500d4
test byte [rsi + 0x74], 2
je 0x14004e937
mov dword [rsi + 0x68], eax
mov rcx, qword [rsp + 0x370]
mov rsi, qword [rcx + 0x30]
mov dword [rsi + 0x6c], eax
mov rdi, qword [rsp + 0x370]
mov rcx, qword [rdi + 0xc0]
test rcx, rcx
je 0x1400500af
mov qword [rcx + 8], r13
mov rcx, qword [rsp + 0x370]
mov qword [rcx + 0xc0], r13
add rsp, 0x380
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
mov r9, qword [rsp + 0x370]
movzx edi, byte [r9 + 0x245]
jmp 0x14004e548
mov ecx, 2
mov edx, eax
mov r8d, eax
call fcn.140065e30
add rsp, 0x380
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret