Function at 0x140081570
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.140029290
lea rcx, [rsp + 0xb0]
call fcn.140080750
nop
mov dword [rsp + 0x44], 0
jmp 0x1400815cb
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0x1a
jge 0x1400815eb
mov eax, dword [rsp + 0x44]
add eax, 0x41
movzx edx, al
lea rcx, [rsp + 0xb0]
call fcn.1400812c0
jmp 0x1400815c1
mov dword [rsp + 0x48], 0
jmp 0x1400815ff
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0x1a
jge 0x14008161f
mov eax, dword [rsp + 0x48]
add eax, 0x61
movzx edx, al
lea rcx, [rsp + 0xb0]
call fcn.1400812c0
jmp 0x1400815f5
mov dword [rsp + 0x4c], 0
jmp 0x140081633
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0xa
jge 0x140081653
mov eax, dword [rsp + 0x4c]
add eax, 0x30
movzx edx, al
lea rcx, [rsp + 0xb0]
call fcn.1400812c0
jmp 0x140081629
lea rax, [0x1401b8fec]
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 0x14008166b
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, [0x1401b8fec]
lea rcx, [rsp + 0xb0]
call fcn.1400843d0
lea rax, [0x1401b8ff0]
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 0x1400816d4
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, [0x1401b8ff0]
lea rcx, [rsp + 0xb0]
call fcn.1400843d0
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.140083a50
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 0x140081b3d
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 0x1400817d3
mov dword [rsp + 0x54], 1
jmp 0x1400817db
mov dword [rsp + 0x54], 0
movzx eax, byte [rsp + 0x54]
mov byte [rsp + 0x3c], al
movzx eax, byte [rsp + 0x3c]
test eax, eax
je 0x140081810
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 0x140081b3d
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 0x140081888
mov dword [rsp + 0x58], 1
jmp 0x140081890
mov dword [rsp + 0x58], 0
movzx eax, byte [rsp + 0x58]
mov byte [rsp + 0x3d], al
movzx eax, byte [rsp + 0x3d]
test eax, eax
je 0x1400818c5
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.1401731fc
test eax, eax
jne 0x14008192d
movzx eax, byte [rsp + 0x30]
cmp eax, 0x2b
je 0x14008192d
movzx eax, byte [rsp + 0x30]
cmp eax, 0x2f
je 0x14008192d
mov dword [rsp + 0x5c], 0
jmp 0x140081935
mov dword [rsp + 0x5c], 1
movzx eax, byte [rsp + 0x5c]
test eax, eax
je 0x140081b3d
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 0x14008197b
mov dword [rsp + 0x60], 1
jmp 0x140081983
mov dword [rsp + 0x60], 0
movzx eax, byte [rsp + 0x60]
mov byte [rsp + 0x3e], al
movzx eax, byte [rsp + 0x3e]
test eax, eax
je 0x1400819b8
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 0x140081b38
mov dword [rsp + 0x20], 0
jmp 0x140081a2a
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 4
jge 0x140081a5f
movsxd rax, dword [rsp + 0x20]
xor r8d, r8d
movzx edx, byte [rsp + rax + 0x24]
lea rcx, [rsp + 0xb0]
call fcn.140084530
mov dword [rsp + 0x7c], eax
movsxd rax, dword [rsp + 0x20]
movzx ecx, byte [rsp + 0x7c]
mov byte [rsp + rax + 0x24], cl
jmp 0x140081a20
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 0x140081b0d
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 3
jge 0x140081b30
movsxd rax, dword [rsp + 0x20]
lea rax, [rsp + rax + 0x38]
mov rdx, rax
lea rcx, [rsp + 0x160]
call fcn.140083910
jmp 0x140081b03
mov dword [rsp + 0x20], 0
jmp 0x14008177d
cmp dword [rsp + 0x20], 0
je 0x140081c85
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x28], eax
jmp 0x140081b5c
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 4
jge 0x140081b6f
movsxd rax, dword [rsp + 0x28]
mov byte [rsp + rax + 0x24], 0
jmp 0x140081b52
mov dword [rsp + 0x28], 0
jmp 0x140081b83
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 4
jge 0x140081baf
movsxd rax, dword [rsp + 0x28]
xor r8d, r8d
movzx edx, byte [rsp + rax + 0x24]
lea rcx, [rsp + 0xb0]
call fcn.140084530
movsxd rcx, dword [rsp + 0x28]
mov byte [rsp + rcx + 0x24], al
jmp 0x140081b79
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 0x140081c5d
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 0x140081c85
movsxd rax, dword [rsp + 0x28]
lea rax, [rsp + rax + 0x38]
mov rdx, rax
lea rcx, [rsp + 0x160]
call fcn.140083910
jmp 0x140081c53
lea rdx, [rsp + 0x160]
mov rcx, qword [rsp + 0x190]
call fcn.140083a90
mov eax, dword [rsp + 0x64]
or eax, 1
mov dword [rsp + 0x64], eax
lea rcx, [rsp + 0x160]
call fcn.140084260
nop
lea rcx, [rsp + 0xb0]
call fcn.140007dc0
mov rax, qword [rsp + 0x190]
add rsp, 0x188
ret