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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x188
mov dword [rsp + 0x64], 0
lea rax, [rsp + 0xb0]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov rcx, rax
call fcn.140028640
lea rcx, [rsp + 0xb0]
call fcn.14002cd90
nop
mov dword [rsp + 0x44], 0
jmp 0x1401605eb
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0x1a
jge 0x14016060b
mov eax, dword [rsp + 0x44]
add eax, 0x41
movzx edx, al
lea rcx, [rsp + 0xb0]
call fcn.14002e9a0
jmp 0x1401605e1
mov dword [rsp + 0x48], 0
jmp 0x14016061f
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0x1a
jge 0x14016063f
mov eax, dword [rsp + 0x48]
add eax, 0x61
movzx edx, al
lea rcx, [rsp + 0xb0]
call fcn.14002e9a0
jmp 0x140160615
mov dword [rsp + 0x4c], 0
jmp 0x140160653
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0xa
jge 0x140160673
mov eax, dword [rsp + 0x4c]
add eax, 0x30
movzx edx, al
lea rcx, [rsp + 0xb0]
call fcn.14002e9a0
jmp 0x140160649
lea rax, [0x14017a9d0]
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0x68], 0xffffffffffffffff
inc qword [rsp + 0x68]
mov rax, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x68]
cmp byte [rax + rcx], 0
jne 0x14016068b
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xe8], rax
mov r8, qword [rsp + 0xe8]
lea rdx, [0x14017a9d0]
lea rcx, [rsp + 0xb0]
call fcn.14002ce90
lea rax, [0x14017a9d4]
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0x70], 0xffffffffffffffff
inc qword [rsp + 0x70]
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x70]
cmp byte [rax + rcx], 0
jne 0x1401606f4
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x100], rax
mov r8, qword [rsp + 0x100]
lea rdx, [0x14017a9d4]
lea rcx, [rsp + 0xb0]
call fcn.14002ce90
mov rax, qword [rsp + 0x198]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x130], rax
mov eax, dword [rsp + 0x130]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x40], 0
lea rax, [rsp + 0x160]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov rcx, rax
call fcn.14003d120
nop
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x50]
dec eax
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x78], 0
je 0x140160b5d
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x18], 0x10
jb 0x1401607f3
mov dword [rsp + 0x54], 1
jmp 0x1401607fb
mov dword [rsp + 0x54], 0
movzx eax, byte [rsp + 0x54]
mov byte [rsp + 0x3c], al
movzx eax, byte [rsp + 0x3c]
test eax, eax
je 0x140160830
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x118], rax
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x118]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
movsx eax, byte [rax]
cmp eax, 0x3d
je 0x140160b5d
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x88]
cmp qword [rax + 0x18], 0x10
jb 0x1401608a8
mov dword [rsp + 0x58], 1
jmp 0x1401608b0
mov dword [rsp + 0x58], 0
movzx eax, byte [rsp + 0x58]
mov byte [rsp + 0x3d], al
movzx eax, byte [rsp + 0x3d]
test eax, eax
je 0x1401608e5
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x158], rax
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x158]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
movzx eax, byte [rax]
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
mov ecx, eax
call fcn.140088f44
test eax, eax
jne 0x14016094d
movzx eax, byte [rsp + 0x30]
cmp eax, 0x2b
je 0x14016094d
movzx eax, byte [rsp + 0x30]
cmp eax, 0x2f
je 0x14016094d
mov dword [rsp + 0x5c], 0
jmp 0x140160955
mov dword [rsp + 0x5c], 1
movzx eax, byte [rsp + 0x5c]
test eax, eax
je 0x140160b5d
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x90]
cmp qword [rax + 0x18], 0x10
jb 0x14016099b
mov dword [rsp + 0x60], 1
jmp 0x1401609a3
mov dword [rsp + 0x60], 0
movzx eax, byte [rsp + 0x60]
mov byte [rsp + 0x3e], al
movzx eax, byte [rsp + 0x3e]
test eax, eax
je 0x1401609d8
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x148], rax
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x148]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x150], rax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x150]
movzx ecx, byte [rcx]
mov byte [rsp + rax + 0x24], cl
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x20], 4
jne 0x140160b58
mov dword [rsp + 0x20], 0
jmp 0x140160a4a
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 4
jge 0x140160a7f
movsxd rax, dword [rsp + 0x20]
xor r8d, r8d
movzx edx, byte [rsp + rax + 0x24]
lea rcx, [rsp + 0xb0]
call fcn.140030610
mov dword [rsp + 0x7c], eax
movsxd rax, dword [rsp + 0x20]
movzx ecx, byte [rsp + 0x7c]
mov byte [rsp + rax + 0x24], cl
jmp 0x140160a40
mov eax, 1
imul rax, rax, 0
movzx eax, byte [rsp + rax + 0x24]
mov ecx, 1
imul rcx, rcx, 1
movzx ecx, byte [rsp + rcx + 0x24]
and ecx, 0x30
sar ecx, 4
lea eax, [rcx + rax*4]
mov ecx, 1
imul rcx, rcx, 0
mov byte [rsp + rcx + 0x38], al
mov eax, 1
imul rax, rax, 1
movzx eax, byte [rsp + rax + 0x24]
and eax, 0xf
shl eax, 4
mov ecx, 1
imul rcx, rcx, 2
movzx ecx, byte [rsp + rcx + 0x24]
and ecx, 0x3c
sar ecx, 2
add eax, ecx
mov ecx, 1
imul rcx, rcx, 1
mov byte [rsp + rcx + 0x38], al
mov eax, 1
imul rax, rax, 2
movzx eax, byte [rsp + rax + 0x24]
and eax, 3
shl eax, 6
mov ecx, 1
imul rcx, rcx, 3
movzx ecx, byte [rsp + rcx + 0x24]
add eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov byte [rsp + rcx + 0x38], al
mov dword [rsp + 0x20], 0
jmp 0x140160b2d
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 3
jge 0x140160b50
movsxd rax, dword [rsp + 0x20]
lea rax, [rsp + rax + 0x38]
mov rdx, rax
lea rcx, [rsp + 0x160]
call fcn.14003cff0
jmp 0x140160b23
mov dword [rsp + 0x20], 0
jmp 0x14016079d
cmp dword [rsp + 0x20], 0
je 0x140160ca5
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x28], eax
jmp 0x140160b7c
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 4
jge 0x140160b8f
movsxd rax, dword [rsp + 0x28]
mov byte [rsp + rax + 0x24], 0
jmp 0x140160b72
mov dword [rsp + 0x28], 0
jmp 0x140160ba3
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 4
jge 0x140160bcf
movsxd rax, dword [rsp + 0x28]
xor r8d, r8d
movzx edx, byte [rsp + rax + 0x24]
lea rcx, [rsp + 0xb0]
call fcn.140030610
movsxd rcx, dword [rsp + 0x28]
mov byte [rsp + rcx + 0x24], al
jmp 0x140160b99
mov eax, 1
imul rax, rax, 0
movzx eax, byte [rsp + rax + 0x24]
mov ecx, 1
imul rcx, rcx, 1
movzx ecx, byte [rsp + rcx + 0x24]
and ecx, 0x30
sar ecx, 4
lea eax, [rcx + rax*4]
mov ecx, 1
imul rcx, rcx, 0
mov byte [rsp + rcx + 0x38], al
mov eax, 1
imul rax, rax, 1
movzx eax, byte [rsp + rax + 0x24]
and eax, 0xf
shl eax, 4
mov ecx, 1
imul rcx, rcx, 2
movzx ecx, byte [rsp + rcx + 0x24]
and ecx, 0x3c
sar ecx, 2
add eax, ecx
mov ecx, 1
imul rcx, rcx, 1
mov byte [rsp + rcx + 0x38], al
mov eax, 1
imul rax, rax, 2
movzx eax, byte [rsp + rax + 0x24]
and eax, 3
shl eax, 6
mov ecx, 1
imul rcx, rcx, 3
movzx ecx, byte [rsp + rcx + 0x24]
add eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov byte [rsp + rcx + 0x38], al
mov dword [rsp + 0x28], 0
jmp 0x140160c7d
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x20]
dec eax
cmp dword [rsp + 0x28], eax
jge 0x140160ca5
movsxd rax, dword [rsp + 0x28]
lea rax, [rsp + rax + 0x38]
mov rdx, rax
lea rcx, [rsp + 0x160]
call fcn.14003cff0
jmp 0x140160c73
lea rdx, [rsp + 0x160]
mov rcx, qword [rsp + 0x190]
call fcn.14003d160
mov eax, dword [rsp + 0x64]
or eax, 1
mov dword [rsp + 0x64], eax
lea rcx, [rsp + 0x160]
call fcn.14003d6b0
nop
lea rcx, [rsp + 0xb0]
call fcn.14002ccc0
mov rax, qword [rsp + 0x190]
add rsp, 0x188
ret