Function at 0x140001400
Capabilities:
Access peb ldr_data
Check os version
Enumerate pe sections
Get ntdll base address
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x138
mov rax, qword [0x140025010]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov qword [rsp + 0xc0], 0
mov qword [rsp + 0xc8], 0
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0xd0], 0
mov qword [rsp + 0xd8], 0
mov dword [rsp + 0x118], 0
call fcn.140002590
mov qword [rsp + 0x58], rax
xor eax, eax
cmp eax, 1
je 0x1400014d9
mov rax, qword [rsp + 0x58]
movzx eax, word [rax]
cmp eax, 0x5a4d
jne 0x1400014ca
mov rax, qword [rsp + 0x58]
movsxd rax, dword [rax + 0x3c]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0x40
jb 0x1400014ca
cmp qword [rsp + 0x60], 0x400
jae 0x1400014ca
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
cmp dword [rax], 0x4550
jne 0x1400014ca
jmp 0x1400014d9
mov rax, qword [rsp + 0x58]
dec rax
mov qword [rsp + 0x58], rax
jmp 0x14000146f
mov rax, qword gs:[0x60]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140001a15
mov qword [rsp + 0x38], 0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x48]
mov word [rsp + 0x20], ax
mov eax, dword [rsp + 0x38]
ror eax, 0x37
mov eax, eax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax]
cmp eax, 0x61
jl 0x14000156e
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax]
sub eax, 0x20
cdqe
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
jmp 0x140001586
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x40]
inc rax
mov qword [rsp + 0x40], rax
movzx eax, word [rsp + 0x20]
dec ax
mov word [rsp + 0x20], ax
movzx eax, word [rsp + 0x20]
test eax, eax
jne 0x140001534
cmp dword [rsp + 0x38], 0xa6154c3a
jne 0x140001806
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x68]
lea rax, [rcx + rax + 0x88]
mov qword [rsp + 0x78], rax
mov eax, 4
mov word [rsp + 0x20], ax
mov rax, qword [rsp + 0x78]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
movzx eax, word [rsp + 0x20]
test eax, eax
jle 0x140001801
mov rax, qword [rsp + 0x78]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa8], rax
mov dword [rsp + 0x80], 0
mov eax, dword [rsp + 0x80]
ror eax, 0x37
mov dword [rsp + 0x80], eax
mov rax, qword [rsp + 0xa8]
movsx eax, byte [rax]
mov ecx, dword [rsp + 0x80]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x80], eax
mov rax, qword [rsp + 0xa8]
inc rax
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
movsx eax, byte [rax]
test eax, eax
jne 0x14000167f
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0xe0d79feb
je 0x140001706
cmp dword [rsp + 0x50], 0x6bac2f89
je 0x140001706
cmp dword [rsp + 0x50], 0x9ee2d962
je 0x140001706
cmp dword [rsp + 0x50], 0x9154022f
jne 0x1400017da
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x98]
movzx eax, word [rax]
mov rcx, qword [rsp + 0x70]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x70], rax
cmp dword [rsp + 0x50], 0xe0d79feb
jne 0x14000175d
mov rax, qword [rsp + 0x70]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xc0], rax
jmp 0x1400017cd
cmp dword [rsp + 0x50], 0x9ee2d962
jne 0x140001783
mov rax, qword [rsp + 0x70]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb8], rax
jmp 0x1400017cd
cmp dword [rsp + 0x50], 0x9154022f
jne 0x1400017a9
mov rax, qword [rsp + 0x70]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xd0], rax
jmp 0x1400017cd
cmp dword [rsp + 0x50], 0x6bac2f89
jne 0x1400017cd
mov rax, qword [rsp + 0x70]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xc8], rax
movzx eax, word [rsp + 0x20]
dec ax
mov word [rsp + 0x20], ax
mov rax, qword [rsp + 0x98]
add rax, 2
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x78]
add rax, 4
mov qword [rsp + 0x78], rax
jmp 0x14000164d
jmp 0x1400019ca
cmp dword [rsp + 0x38], 0x521447a
jne 0x1400019ca
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x68]
lea rax, [rcx + rax + 0x88]
mov qword [rsp + 0x78], rax
mov eax, 1
mov word [rsp + 0x20], ax
mov rax, qword [rsp + 0x78]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
movzx eax, word [rsp + 0x20]
test eax, eax
jle 0x1400019ca
mov rax, qword [rsp + 0x78]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x84], 0
mov eax, dword [rsp + 0x84]
ror eax, 0x37
mov dword [rsp + 0x84], eax
mov rax, qword [rsp + 0xb0]
movsx eax, byte [rax]
mov ecx, dword [rsp + 0x84]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x84], eax
mov rax, qword [rsp + 0xb0]
inc rax
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
movsx eax, byte [rax]
test eax, eax
jne 0x1400018dc
mov eax, dword [rsp + 0x84]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0x7353e65d
jne 0x1400019a3
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x98]
movzx eax, word [rax]
mov rcx, qword [rsp + 0x70]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x70], rax
cmp dword [rsp + 0x50], 0x7353e65d
jne 0x140001996
mov rax, qword [rsp + 0x70]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xd8], rax
movzx eax, word [rsp + 0x20]
dec ax
mov word [rsp + 0x20], ax
mov rax, qword [rsp + 0x98]
add rax, 2
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x78]
add rax, 4
mov qword [rsp + 0x78], rax
jmp 0x1400018aa
cmp qword [rsp + 0xc0], 0
je 0x140001a03
cmp qword [rsp + 0xc8], 0
je 0x140001a03
cmp qword [rsp + 0xb8], 0
je 0x140001a03
cmp qword [rsp + 0xd8], 0
je 0x140001a03
cmp qword [rsp + 0xd0], 0
je 0x140001a03
jmp 0x140001a15
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
jmp 0x140001503
mov rax, qword [rsp + 0x58]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x50]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [rsp + 0xb8]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x54]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x28]
dec rax
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0xe8], 0
je 0x140001ac3
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
movzx ecx, byte [rcx]
mov byte [rax], cl
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x40]
inc rax
mov qword [rsp + 0x40], rax
jmp 0x140001a73
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x60]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + 6]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xa0]
dec rax
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0xf0], 0
je 0x140001bbe
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x10]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x14]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0x48]
dec rax
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0xf8], 0
je 0x140001bab
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
movzx ecx, byte [rcx]
mov byte [rax], cl
mov rax, qword [rsp + 0x40]
inc rax
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x140001b5b
mov rax, qword [rsp + 0x28]
add rax, 0x28
mov qword [rsp + 0x28], rax
jmp 0x140001aec
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x60]
lea rax, [rcx + rax + 0x88]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0xc], 0
je 0x140001da3
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call qword [rsp + 0xc0]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x28]
cmp qword [rax], 0
je 0x140001d90
cmp qword [rsp + 0x48], 0
je 0x140001d2f
mov rax, qword [rsp + 0x48]
movabs rcx, 0x8000000000000000
mov rax, qword [rax]
and rax, rcx
test rax, rax
je 0x140001d2f
mov rax, qword [rsp + 0x58]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x68]
lea rax, [rcx + rax + 0x88]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
and rax, 0xffff
mov rcx, qword [rsp + 0x68]
mov ecx, dword [rcx + 0x10]
sub rax, rcx
mov rcx, qword [rsp + 0x70]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x28]
mov qword [rcx], rax
jmp 0x140001d67
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
add rax, 2
mov rdx, rax
mov rcx, qword [rsp + 0x58]
call qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x28]
mov qword [rcx], rax
mov rax, qword [rsp + 0x28]
add rax, 8
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x48], 0
je 0x140001d8b
mov rax, qword [rsp + 0x48]
add rax, 8
mov qword [rsp + 0x48], rax
jmp 0x140001c50
mov rax, qword [rsp + 0x38]
add rax, 0x14
mov qword [rsp + 0x38], rax
jmp 0x140001bf0
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x30]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov eax, 8
imul rax, rax, 5
mov rcx, qword [rsp + 0x60]
lea rax, [rcx + rax + 0x88]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
cmp dword [rax + 4], 0
je 0x140002036
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp dword [rax + 4], 0
je 0x140002036
mov rax, qword [rsp + 0x38]
add rax, 8
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 4]
sub rax, 8
xor edx, edx
mov ecx, 2
div rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x40]
dec rax
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x100], 0
je 0x140002019
mov rax, qword [rsp + 0x48]
movzx eax, word [rax]
shr ax, 0xc
and ax, 0xf
movzx eax, ax
cmp eax, 0xa
jne 0x140001ed5
mov eax, 0xfff
mov rcx, qword [rsp + 0x48]
movzx ecx, word [rcx]
and cx, ax
movzx eax, cx
movzx eax, ax
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx + rax]
add rax, qword [rsp + 0x58]
mov ecx, 0xfff
mov rdx, qword [rsp + 0x48]
movzx edx, word [rdx]
and dx, cx
movzx ecx, dx
movzx ecx, cx
mov rdx, qword [rsp + 0x28]
mov qword [rdx + rcx], rax
jmp 0x140002006
mov rax, qword [rsp + 0x48]
movzx eax, word [rax]
shr ax, 0xc
and ax, 0xf
movzx eax, ax
cmp eax, 2
jne 0x140001f41
mov eax, 0xfff
mov rcx, qword [rsp + 0x48]
movzx ecx, word [rcx]
and cx, ax
movzx eax, cx
movzx eax, ax
mov rcx, qword [rsp + 0x58]
and rcx, 0xffff
movzx ecx, cx
mov rdx, qword [rsp + 0x28]
movzx eax, word [rdx + rax]
add eax, ecx
mov ecx, 0xfff
mov rdx, qword [rsp + 0x48]
movzx edx, word [rdx]
and dx, cx
movzx ecx, dx
movzx ecx, cx
mov rdx, qword [rsp + 0x28]
mov word [rdx + rcx], ax
jmp 0x140002006
mov rax, qword [rsp + 0x48]
movzx eax, word [rax]
shr ax, 0xc
and ax, 0xf
movzx eax, ax
cmp eax, 1
jne 0x140001fae
mov eax, 0xfff
mov rcx, qword [rsp + 0x48]
movzx ecx, word [rcx]
and cx, ax
movzx eax, cx
movzx eax, ax
mov rcx, qword [rsp + 0x58]
shr rcx, 0x10
and rcx, 0xffff
movzx ecx, cx
mov rdx, qword [rsp + 0x28]
movzx eax, word [rdx + rax]
add eax, ecx
mov ecx, 0xfff
mov rdx, qword [rsp + 0x48]
movzx edx, word [rdx]
and dx, cx
movzx ecx, dx
movzx ecx, cx
mov rdx, qword [rsp + 0x28]
mov word [rdx + rcx], ax
jmp 0x140002006
mov rax, qword [rsp + 0x48]
movzx eax, word [rax]
shr ax, 0xc
and ax, 0xf
movzx eax, ax
cmp eax, 3
jne 0x140002006
mov eax, 0xfff
mov rcx, qword [rsp + 0x48]
movzx ecx, word [rcx]
and cx, ax
movzx eax, cx
movzx eax, ax
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + rax]
add eax, dword [rsp + 0x58]
mov ecx, 0xfff
mov rdx, qword [rsp + 0x48]
movzx edx, word [rdx]
and dx, cx
movzx ecx, dx
movzx ecx, cx
mov rdx, qword [rsp + 0x28]
mov dword [rdx + rcx], eax
mov rax, qword [rsp + 0x48]
add rax, 2
mov qword [rsp + 0x48], rax
jmp 0x140001e4c
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 4]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
jmp 0x140001dfd
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x60]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + 6]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0xa0]
dec rax
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0x108], 0
je 0x140002146
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x24]
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x88]
and eax, 0x20000000
test eax, eax
je 0x1400020e5
mov eax, dword [rsp + 0x88]
and eax, 0x80000000
test eax, eax
je 0x1400020e5
mov dword [rsp + 0x90], 0x40
jmp 0x14000210d
mov eax, dword [rsp + 0x88]
and eax, 0x20000000
test eax, eax
je 0x140002102
mov dword [rsp + 0x90], 0x20
jmp 0x14000210d
mov dword [rsp + 0x90], 4
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 8]
lea r9, [rsp + 0x118]
mov r8d, dword [rsp + 0x90]
mov edx, eax
mov rcx, qword [rsp + 0x40]
call qword [rsp + 0xd0]
mov rax, qword [rsp + 0x28]
add rax, 0x28
mov qword [rsp + 0x28], rax
jmp 0x14000205f
mov dword [rsp + 0xe0], 0
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x54]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x28]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x40]
dec rax
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x110], 0
je 0x1400021bc
mov rax, qword [rsp + 0x38]
mov byte [rax], 0
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x140002180
xor r8d, r8d
xor edx, edx
mov rcx, 0xffffffffffffffff
call qword [rsp + 0xd8]
mov r8, qword [rsp + 0x140]
mov edx, 1
mov rcx, qword [rsp + 0x30]
call qword [rsp + 0x28]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.140003f90
add rsp, 0x138
ret