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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xe8
mov qword [rsp + 0xa0], 0xfffffffffffffffe
mov rax, qword [0x14035d4f0]
xor rax, rsp
mov qword [rsp + 0xd0], rax
cmp dword [rsp + 0x108], 0
jne 0x1401649b5
mov r8d, dword [rsp + 0x100]
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xf0]
call fcn.140165480
jmp 0x14016512f
mov rax, qword [rsp + 0xf0]
mov r9d, 1
mov r8d, dword [rsp + 0x100]
mov rdx, qword [rsp + 0xf8]
mov rcx, rax
call fcn.14014e550
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x1401649ed
xor eax, eax
jmp 0x14016512f
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x100]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
lea rcx, [rsp + 0xa8]
call fcn.1401627b0
nop
cmp dword [rsp + 0x108], 1
jne 0x140164a33
mov rax, qword [rsp + 0xf0]
mov edx, dword [rax + 0x88]
lea rcx, [rsp + 0xa8]
call fcn.140163b20
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x60]
call fcn.1400e2be0
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x70]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0xf0]
movsx eax, byte [rax + 0x8c]
test eax, eax
je 0x140164a8c
imul eax, dword [rsp + 0x60], 3
cdqe
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x78]
mov qword [rsp + 0x50], rax
cmp dword [rsp + 0x108], 1
jne 0x140164ddc
mov dword [rsp + 0x38], 0
jmp 0x140164abf
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x60]
cmp dword [rsp + 0x38], eax
jge 0x140164dd7
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xf0]
mov rcx, qword [rcx + 0x68]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x140164aee
jmp 0x140164ab5
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xff
jne 0x140164b24
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
jmp 0x140164ab5
cmp dword [rsp + 0x30], 0xfe
jl 0x140164cb5
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x40], 0
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
movzx eax, byte [rcx + rax]
mov byte [rsp + 0x20], al
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
movzx eax, byte [rsp + 0x20]
sub eax, 0xc0
movzx eax, al
cmp eax, 0x3e
jge 0x140164ca5
movzx eax, byte [rsp + 0x20]
cmp eax, 0xf0
jge 0x140164bce
movzx eax, byte [rsp + 0x20]
cmp eax, 0xc0
jl 0x140164b96
mov dword [rsp + 0x70], 1
jmp 0x140164b9e
mov dword [rsp + 0x70], 0
movzx eax, byte [rsp + 0x20]
cmp eax, 0xe0
jl 0x140164bb4
mov dword [rsp + 0x64], 1
jmp 0x140164bbc
mov dword [rsp + 0x64], 0
mov eax, dword [rsp + 0x64]
mov ecx, dword [rsp + 0x70]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x68], eax
jmp 0x140164c38
movzx eax, byte [rsp + 0x20]
cmp eax, 0xfe
jge 0x140164c28
movzx eax, byte [rsp + 0x20]
cmp eax, 0xf8
jl 0x140164bf0
mov dword [rsp + 0x7c], 1
jmp 0x140164bf8
mov dword [rsp + 0x7c], 0
movzx eax, byte [rsp + 0x20]
cmp eax, 0xfc
jl 0x140164c0e
mov dword [rsp + 0x6c], 1
jmp 0x140164c16
mov dword [rsp + 0x6c], 0
mov eax, dword [rsp + 0x7c]
mov ecx, dword [rsp + 0x6c]
lea eax, [rax + rcx + 3]
mov dword [rsp + 0x78], eax
jmp 0x140164c30
mov dword [rsp + 0x78], 0
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x68], eax
movzx eax, byte [rsp + 0x68]
mov byte [rsp + 0x28], al
movzx eax, byte [rsp + 0x28]
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
cmp eax, dword [rsp + 0x30]
jle 0x140164c6b
cmp dword [rsp + 0x30], 0
jl 0x140164c6b
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x30]
sub ecx, eax
mov eax, ecx
mov byte [rsp + 0x28], al
movzx eax, byte [rsp + 0x28]
test eax, eax
jle 0x140164ca5
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
movzx eax, byte [rcx + rax]
and eax, 0xc0
cmp eax, 0x80
jne 0x140164ca5
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
movzx eax, byte [rsp + 0x28]
dec al
mov byte [rsp + 0x28], al
jmp 0x140164c6b
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x30]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x30], eax
jle 0x140164cc7
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x44], eax
jle 0x140164ce6
jmp 0x140164dbd
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
cdqe
mov rcx, qword [rsp + 0xf8]
movzx eax, byte [rcx + rax]
and eax, 0xc0
cmp eax, 0x80
je 0x140164d9b
mov edx, dword [rsp + 0x44]
lea rcx, [rsp + 0xa8]
call fcn.140163710
movsx eax, al
test eax, eax
jne 0x140164d9b
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0xf8]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x44]
sub rax, rcx
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x50]
mov rcx, rax
call fcn.1401639a0
movsx eax, al
test eax, eax
je 0x140164d9b
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x44], eax
jne 0x140164d8a
mov dword [rsp + 0x8c], 0
lea rcx, [rsp + 0xa8]
call fcn.1401634a0
mov eax, dword [rsp + 0x8c]
jmp 0x14016512f
mov edx, dword [rsp + 0x44]
lea rcx, [rsp + 0xa8]
call fcn.140163590
cmp dword [rsp + 0x30], 0
jne 0x140164da4
jmp 0x140164dbd
mov eax, dword [rsp + 0x30]
dec eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
jmp 0x140164cd7
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
jmp 0x140164ab5
jmp 0x140164f9a
mov dword [rsp + 0x5c], 0
mov dword [rsp + 0x58], 0
mov dword [rsp + 0x38], 0
jmp 0x140164e00
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x60]
cmp dword [rsp + 0x38], eax
jge 0x140164f44
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xf0]
mov rcx, qword [rcx + 0x68]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x140164e2f
jmp 0x140164df6
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0xfe
jl 0x140164e56
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x3c], eax
jle 0x140164e68
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x48], eax
jg 0x140164e8c
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x3c], eax
jge 0x140164e91
jmp 0x140164f2a
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
cdqe
mov rcx, qword [rsp + 0xf8]
movzx eax, byte [rcx + rax]
and eax, 0xc0
cmp eax, 0x80
je 0x140164f11
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x3c], eax
jg 0x140164ecb
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x48], eax
jle 0x140164f11
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0xf8]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x48]
sub rax, rcx
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x50]
mov rcx, rax
call fcn.1401639a0
movsx eax, al
test eax, eax
je 0x140164f11
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x58], eax
jmp 0x140164f2a
mov eax, dword [rsp + 0x3c]
dec eax
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
jmp 0x140164e78
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
jmp 0x140164df6
cmp dword [rsp + 0x5c], 0
jne 0x140164f52
cmp dword [rsp + 0x58], 0
je 0x140164f9a
mov eax, dword [rsp + 0x5c]
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x140164f8d
mov dword [rsp + 0x88], 0
lea rcx, [rsp + 0xa8]
call fcn.1401634a0
mov eax, dword [rsp + 0x88]
jmp 0x14016512f
mov dword [rsp + 0x2c], 0
jmp 0x140164a8c
cmp dword [rsp + 0x2c], 0
jne 0x140164fae
mov eax, dword [rsp + 0x100]
cmp dword [rsp + 0x24], eax
jne 0x140164feb
lea rcx, [rsp + 0xa8]
call fcn.1401637d0
movsx eax, al
test eax, eax
je 0x140164fe6
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x90], eax
lea rcx, [rsp + 0xa8]
call fcn.1401634a0
mov eax, dword [rsp + 0x90]
jmp 0x14016512f
jmp 0x1401650fb
lea rcx, [rsp + 0xa8]
call fcn.1401637d0
movsx eax, al
test eax, eax
je 0x14016507a
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x74], eax
mov rax, qword [rsp + 0xf0]
mov r9d, 1
mov r8d, dword [rsp + 0x74]
mov rdx, qword [rsp + 0xf8]
mov rcx, rax
call fcn.14014e550
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x74]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x24], 0
je 0x14016504c
cmp dword [rsp + 0x2c], 0
jne 0x140165070
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x98], eax
lea rcx, [rsp + 0xa8]
call fcn.1401634a0
mov eax, dword [rsp + 0x98]
jmp 0x14016512f
jmp 0x140164a8c
mov rax, qword [rsp + 0xf0]
mov r8d, dword [rsp + 0x24]
mov rdx, qword [rsp + 0xf8]
mov rcx, rax
call fcn.140165a20
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0
jle 0x1401650fb
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x2c], eax
jne 0x1401650cd
mov dword [rsp + 0x94], 0
lea rcx, [rsp + 0xa8]
call fcn.1401634a0
mov eax, dword [rsp + 0x94]
jmp 0x14016512f
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
mov edx, dword [rsp + 0x2c]
lea rcx, [rsp + 0xa8]
call fcn.140163ba0
mov dword [rsp + 0x2c], 0
jmp 0x140164a8c
lea rcx, [rsp + 0xa8]
call fcn.140163a10
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x2c], 0
jmp 0x140164a8c
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.140236770
add rsp, 0xe8
ret