Function at 0x1401028a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xc8
xor eax, eax
mov word [rsp + 0x20], ax
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x54], 0
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x50], 0
mov rax, qword [rsp + 0xd8]
mov eax, dword [rax + 8]
and eax, 1
test eax, eax
je 0x1401028f9
mov byte [rsp + 0x2c], 1
jmp 0x1401028fe
mov byte [rsp + 0x2c], 0
movzx eax, byte [rsp + 0x2c]
mov byte [rsp + 0x34], al
mov rax, qword [rsp + 0xd8]
add rax, 0x10
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xd8]
mov eax, dword [rax + 4]
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp + 0xd0]
mov byte [rax + 0x174], 1
mov rax, qword [rsp + 0xd0]
mov dword [rax + 0x170], 0
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x148]
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 0x148]
mov ecx, dword [rcx + 0x1c]
cmp dword [rax + 0x28], ecx
jg 0x1401029a4
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x148]
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 0x148]
movsxd rcx, dword [rcx + 0x28]
add rcx, qword [rax + 0x20]
mov rax, rcx
mov qword [rsp + 0x90], rax
jmp 0x1401029d1
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x148]
mov rax, qword [rax + 0x38]
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 0x148]
call qword [rax + 0x40]
mov qword [rsp + 0x90], rax
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x148]
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 0x148]
mov ecx, dword [rcx + 0x2c]
cmp dword [rax + 0x28], ecx
jge 0x140102a95
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x148]
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 0x148]
movsxd rcx, dword [rcx + 0x28]
mov rax, qword [rax + 0x30]
movzx eax, word [rax + rcx*2]
cmp eax, 0xd800
jge 0x140102a95
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x148]
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 0x148]
movsxd rcx, dword [rcx + 0x28]
mov rax, qword [rax + 0x30]
movzx eax, word [rax + rcx*2]
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x148]
mov eax, dword [rax + 0x28]
inc eax
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 0x148]
mov dword [rcx + 0x28], eax
jmp 0x140102aad
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rax + 0x148]
call fcn.14013faf0
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xd0]
cmp qword [rax + 0x168], 0
je 0x140102ace
cmp dword [rsp + 0x28], 0xffffffff
jne 0x140102ad8
mov eax, 0xffffffff
jmp 0x140103389
mov dword [rsp + 0x44], 1
mov eax, dword [rsp + 0x5c]
imul eax, dword [rsp + 0x44]
mov eax, eax
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x30], 1
mov rax, qword [rsp + 0xd8]
mov eax, dword [rax + 8]
and eax, 2
test eax, eax
je 0x140102b2a
mov eax, 2
mov word [rsp + 0x20], ax
mov dword [rsp + 0x30], 0
cmp dword [rsp + 0x28], 0xffffffff
jne 0x140102b7b
cmp dword [rsp + 0x30], 2
jne 0x140102b69
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x50], eax
jle 0x140102b64
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0xd0]
mov ecx, dword [rsp + 0x54]
mov dword [rax + 0x170], ecx
mov dword [rsp + 0x38], 0
jmp 0x140103125
mov dword [rsp + 0x30], 2
mov eax, 1
mov word [rsp + 0x20], ax
cmp dword [rsp + 0x30], 1
jne 0x140102d82
cmp dword [rsp + 0x28], 0xffff
ja 0x140102c14
cmp dword [rsp + 0x28], 0xd800
jl 0x140102bb2
cmp dword [rsp + 0x28], 0xdbff
jg 0x140102bb2
mov dword [rsp + 0x68], pe_nt_image_headers64
jmp 0x140102bba
mov dword [rsp + 0x68], 0
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x168]
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 0x168]
mov edx, dword [rsp + 0x28]
sar edx, 5
mov r8d, dword [rsp + 0x68]
add r8d, edx
mov edx, r8d
movsxd rdx, edx
mov rcx, qword [rcx + 0x40]
movzx ecx, word [rcx + rdx*2]
mov edx, dword [rsp + 0x28]
and edx, 0x1f
lea ecx, [rdx + rcx*4]
movsxd rcx, ecx
mov rax, qword [rax + 0x40]
movzx eax, word [rax + rcx*2]
mov word [rsp + 0x20], ax
jmp 0x140102d48
cmp dword [rsp + 0x28], 0x10ffff
ja 0x140102d30
mov eax, dword [rsp + 0x28]
sar eax, 0xa
add eax, 0xd7c0
mov word [rsp + 0x40], ax
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x168]
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 0x168]
movzx edx, word [rsp + 0x40]
sar edx, 5
movsxd rdx, edx
mov rcx, qword [rcx + 0x40]
movzx ecx, word [rcx + rdx*2]
movzx edx, word [rsp + 0x40]
and edx, 0x1f
lea ecx, [rdx + rcx*4]
movsxd rcx, ecx
mov rax, qword [rax + 0x40]
movzx eax, word [rax + rcx*2]
mov word [rsp + 0x20], ax
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 0x168]
mov qword [rsp + 0xb8], rcx
mov ecx, eax
mov rax, qword [rsp + 0xb8]
call qword [rax + 0x50]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
jle 0x140102d16
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x168]
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 0x168]
mov edx, dword [rsp + 0x28]
and edx, 0x3ff
sar edx, 5
mov r8d, dword [rsp + 0x58]
add r8d, edx
mov edx, r8d
movsxd rdx, edx
mov rcx, qword [rcx + 0x40]
movzx ecx, word [rcx + rdx*2]
mov edx, dword [rsp + 0x28]
and edx, 0x3ff
and edx, 0x1f
lea ecx, [rdx + rcx*4]
movsxd rcx, ecx
mov rax, qword [rax + 0x40]
movzx eax, word [rax + rcx*2]
mov word [rsp + 0x20], ax
jmp 0x140102d2e
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x168]
movzx eax, word [rax + 0x60]
mov word [rsp + 0x20], ax
jmp 0x140102d48
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x168]
movzx eax, word [rax + 0x60]
mov word [rsp + 0x20], ax
movzx eax, word [rsp + 0x20]
and eax, 0x4000
test eax, eax
je 0x140102d82
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 0x178]
inc eax
mov rcx, qword [rsp + 0xd0]
mov dword [rcx + 0x178], eax
movzx eax, word [rsp + 0x20]
btr eax, 0xe
mov word [rsp + 0x20], ax
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
movzx eax, word [rcx + rax*2 + 8]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x5c]
imul eax, dword [rsp + 0x44]
mov eax, eax
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
movsx eax, word [rax]
cmp eax, 0xffffffff
jne 0x140102e77
cmp dword [rsp + 0x30], 0
je 0x140102e60
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x148]
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 0x148]
mov ecx, dword [rcx + 0x1c]
cmp dword [rax + 0x28], ecx
jg 0x140102e28
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x148]
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 0x148]
movsxd rcx, dword [rcx + 0x28]
add rcx, qword [rax + 0x20]
mov rax, rcx
mov qword [rsp + 0xb0], rax
jmp 0x140102e55
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x148]
mov rax, qword [rax + 0x38]
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 0x148]
call qword [rax + 0x40]
mov qword [rsp + 0xb0], rax
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x48]
movsx eax, word [rax + 4]
mov rcx, qword [rsp + 0xd0]
mov dword [rcx + 0x170], eax
mov rax, qword [rsp + 0x48]
movsx eax, word [rax + 2]
test eax, eax
je 0x140103013
cmp dword [rsp + 0x38], 0
je 0x140102f56
mov rax, qword [rsp + 0x48]
movsx eax, word [rax]
cmp eax, dword [rsp + 0x38]
jne 0x140102f56
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0xd0]
mov ecx, dword [rsp + 0x54]
mov dword [rax + 0x170], ecx
mov dword [rsp + 0x38], 0
movsx eax, byte [rsp + 0x34]
test eax, eax
je 0x140102f4c
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 0x148]
sub rax, qword [rcx + 0x20]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jl 0x140102f27
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x148]
movsxd rax, dword [rax + 0x1c]
cmp qword [rsp + 0x78], rax
jg 0x140102f27
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x148]
mov ecx, dword [rsp + 0x78]
mov dword [rax + 0x28], ecx
jmp 0x140102f43
movsxd rax, dword [rsp + 0x24]
mov rdx, rax
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rax + 0x148]
call fcn.1401404c0
mov eax, dword [rsp + 0x24]
jmp 0x140103389
jmp 0x140103027
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x148]
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 0x148]
mov ecx, dword [rcx + 0x1c]
cmp dword [rax + 0x28], ecx
jg 0x140102faf
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x148]
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 0x148]
movsxd rcx, dword [rcx + 0x28]
add rcx, qword [rax + 0x20]
mov rax, rcx
mov qword [rsp + 0x98], rax
jmp 0x140102fdc
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x148]
mov rax, qword [rax + 0x38]
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 0x148]
call qword [rax + 0x40]
mov qword [rsp + 0x98], rax
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x84], eax
mov eax, dword [rsp + 0x84]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x48]
movsx eax, word [rax + 2]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x48]
movsx eax, word [rax + 4]
mov dword [rsp + 0x54], eax
jmp 0x140103027
mov rax, qword [rsp + 0x48]
movsx eax, word [rax]
test eax, eax
je 0x140103027
mov dword [rsp + 0x38], 0
cmp dword [rsp + 0x44], 0
jne 0x140103033
jmp 0x140103125
cmp dword [rsp + 0x30], 1
jne 0x140103111
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x148]
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 0x148]
mov ecx, dword [rcx + 0x2c]
cmp dword [rax + 0x28], ecx
jge 0x1401030ef
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x148]
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 0x148]
movsxd rcx, dword [rcx + 0x28]
mov rax, qword [rax + 0x30]
movzx eax, word [rax + rcx*2]
cmp eax, 0xd800
jge 0x1401030ef
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x148]
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 0x148]
movsxd rcx, dword [rcx + 0x28]
mov rax, qword [rax + 0x30]
movzx eax, word [rax + rcx*2]
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x148]
mov eax, dword [rax + 0x28]
inc eax
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 0x148]
mov dword [rcx + 0x28], eax
jmp 0x140103107
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rax + 0x148]
call fcn.14013faf0
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x28], eax
jmp 0x140103120
cmp dword [rsp + 0x30], 0
jne 0x140103120
mov dword [rsp + 0x30], 1
jmp 0x140102b2a
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x24], eax
jne 0x140103306
movsxd rax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 0x148]
sub rax, qword [rcx + 0x20]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jl 0x14010318a
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x148]
movsxd rax, dword [rax + 0x1c]
cmp qword [rsp + 0x70], rax
jg 0x14010318a
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x148]
mov ecx, dword [rsp + 0x70]
mov dword [rax + 0x28], ecx
jmp 0x1401031a6
movsxd rax, dword [rsp + 0x3c]
mov rdx, rax
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rax + 0x148]
call fcn.1401404c0
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x148]
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 0x148]
mov ecx, dword [rcx + 0x2c]
cmp dword [rax + 0x28], ecx
jge 0x14010325a
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x148]
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 0x148]
movsxd rcx, dword [rcx + 0x28]
mov rax, qword [rax + 0x30]
movzx eax, word [rax + rcx*2]
cmp eax, 0xd800
jge 0x14010325a
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x148]
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 0x148]
movsxd rcx, dword [rcx + 0x28]
mov rax, qword [rax + 0x30]
movzx eax, word [rax + rcx*2]
mov dword [rsp + 0x80], eax
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x148]
mov eax, dword [rax + 0x28]
inc eax
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 0x148]
mov dword [rcx + 0x28], eax
jmp 0x140103275
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rax + 0x148]
call fcn.14013faf0
mov dword [rsp + 0x80], eax
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x148]
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 0x148]
mov ecx, dword [rcx + 0x1c]
cmp dword [rax + 0x28], ecx
jg 0x1401032ce
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x148]
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 0x148]
movsxd rcx, dword [rcx + 0x28]
add rcx, qword [rax + 0x20]
mov rax, rcx
mov qword [rsp + 0xa8], rax
jmp 0x1401032fb
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x148]
mov rax, qword [rax + 0x38]
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 0x148]
call qword [rax + 0x40]
mov qword [rsp + 0xa8], rax
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x24], eax
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 0x148]
sub rax, qword [rcx + 0x20]
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
jl 0x140103369
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x148]
movsxd rax, dword [rax + 0x1c]
cmp qword [rsp + 0x88], rax
jg 0x140103369
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x148]
mov ecx, dword [rsp + 0x88]
mov dword [rax + 0x28], ecx
jmp 0x140103385
movsxd rax, dword [rsp + 0x24]
mov rdx, rax
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rax + 0x148]
call fcn.1401404c0
mov eax, dword [rsp + 0x24]
add rsp, 0xc8
ret