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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x180], 0
je 0x1401048ae
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x180]
mov eax, dword [rax + rcx]
cmp dword [rsp + 0x88], eax
jle 0x140104895
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x188]
dec eax
cdqe
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x180]
mov eax, dword [rcx + rax*4]
cmp dword [rsp + 0x88], eax
jg 0x140104895
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x18c], 0
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x188]
cmp dword [rax + 0x18c], ecx
jge 0x1401047f6
mov rax, qword [rsp + 0x80]
movsxd rax, dword [rax + 0x18c]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x180]
mov eax, dword [rcx + rax*4]
cmp dword [rsp + 0x88], eax
jle 0x1401047f6
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x18c]
inc eax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x18c], eax
jmp 0x14010478e
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x18c]
dec eax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x18c], eax
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x18c], 0
jg 0x140104834
mov rax, qword [rsp + 0x80]
mov byte [rax + 0x174], 0
mov rax, qword [rsp + 0x80]
movsxd rax, dword [rax + 0x18c]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x180]
movsxd rax, dword [rcx + rax*4]
mov rdx, rax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0x148]
call fcn.1401404c0
mov rax, qword [rsp + 0x80]
movsxd rax, dword [rax + 0x18c]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x180]
mov eax, dword [rcx + rax*4]
jmp 0x140104ee0
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x80]
call qword [rax + 0xc8]
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x148], 0
je 0x1401048eb
movsxd rax, dword [rsp + 0x88]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x148]
call fcn.14013fad0
mov rcx, qword [rsp + 0x60]
cmp rcx, rax
jle 0x140104908
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x80]
call qword [rax + 0x50]
jmp 0x140104ee0
cmp dword [rsp + 0x88], 0
jge 0x14010492d
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x80]
call qword [rax + 0x48]
jmp 0x140104ee0
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x168]
cmp qword [rax + 0x18], 0
je 0x140104ce3
movsxd rax, dword [rsp + 0x88]
mov rdx, rax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0x148]
call fcn.1401404c0
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x148]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x148]
mov ecx, dword [rcx + 0x1c]
cmp dword [rax + 0x28], ecx
jg 0x1401049bc
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x148]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x148]
movsxd rcx, dword [rcx + 0x28]
add rcx, qword [rax + 0x20]
mov rax, rcx
mov qword [rsp + 0x48], rax
jmp 0x1401049e6
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x148]
mov rax, qword [rax + 0x38]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x148]
call qword [rax + 0x40]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x88]
cmp dword [rsp + 0x3c], eax
je 0x140104b53
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x148]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x148]
mov ecx, dword [rcx + 0x2c]
cmp dword [rax + 0x28], ecx
jge 0x140104ab0
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x148]
mov rcx, qword [rsp + 0x80]
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 0x140104ab0
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x148]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x148]
movsxd rcx, dword [rcx + 0x28]
mov rax, qword [rax + 0x30]
movzx eax, word [rax + rcx*2]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x148]
mov eax, dword [rax + 0x28]
inc eax
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x148]
mov dword [rcx + 0x28], eax
jmp 0x140104ac8
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0x148]
call fcn.14013faf0
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x148]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x148]
mov ecx, dword [rcx + 0x1c]
cmp dword [rax + 0x28], ecx
jg 0x140104b1e
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x148]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x148]
movsxd rcx, dword [rcx + 0x28]
add rcx, qword [rax + 0x20]
mov rax, rcx
mov qword [rsp + 0x58], rax
jmp 0x140104b48
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x148]
mov rax, qword [rax + 0x38]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x148]
call qword [rax + 0x40]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x148]
cmp dword [rax + 0x28], 0
jle 0x140104bf1
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x148]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x148]
mov ecx, dword [rcx + 0x28]
dec ecx
movsxd rcx, ecx
mov rax, qword [rax + 0x30]
movzx eax, word [rax + rcx*2]
cmp eax, 0xd800
jge 0x140104bf1
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x148]
mov eax, dword [rax + 0x28]
dec eax
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x148]
mov ecx, dword [rsp + 0x28]
mov dword [rax + 0x28], ecx
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x148]
mov rcx, qword [rcx + 0x30]
movzx eax, word [rcx + rax*2]
mov dword [rsp + 0x38], eax
jmp 0x140104c09
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0x148]
call fcn.140140360
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x168]
mov rdx, qword [rax + 0x18]
mov rcx, qword [rsp + 0x80]
call fcn.1401028a0
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x148]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x148]
mov ecx, dword [rcx + 0x1c]
cmp dword [rax + 0x28], ecx
jg 0x140104c7f
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x148]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x148]
movsxd rcx, dword [rcx + 0x28]
add rcx, qword [rax + 0x20]
mov rax, rcx
mov qword [rsp + 0x50], rax
jmp 0x140104ca9
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x148]
mov rax, qword [rax + 0x38]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x148]
call qword [rax + 0x40]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x88]
cmp dword [rsp + 0x20], eax
jl 0x140104cda
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x80]
call qword [rax + 0x58]
mov dword [rsp + 0x20], eax
jmp 0x140104cb1
mov eax, dword [rsp + 0x20]
jmp 0x140104ee0
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x168]
cmp qword [rax + 0x20], 0
je 0x140104eab
movsxd rax, dword [rsp + 0x88]
mov rdx, rax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0x148]
call fcn.1401404c0
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x148]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x148]
mov ecx, dword [rcx + 0x2c]
cmp dword [rax + 0x28], ecx
jge 0x140104dcd
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x148]
mov rcx, qword [rsp + 0x80]
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 0x140104dcd
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x148]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x148]
movsxd rcx, dword [rcx + 0x28]
mov rax, qword [rax + 0x30]
movzx eax, word [rax + rcx*2]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x148]
mov eax, dword [rax + 0x28]
inc eax
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x148]
mov dword [rcx + 0x28], eax
jmp 0x140104de5
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0x148]
call fcn.14013faf0
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x168]
mov rdx, qword [rax + 0x20]
mov rcx, qword [rsp + 0x80]
call fcn.1401033a0
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x80]
call qword [rax + 0x68]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x88]
cmp dword [rsp + 0x24], eax
jge 0x140104e66
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x80]
call qword [rax + 0x68]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x88]
cmp dword [rsp + 0x2c], eax
jl 0x140104e5c
mov eax, dword [rsp + 0x24]
jmp 0x140104ee0
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x24], eax
jmp 0x140104e1f
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x80]
call qword [rax + 0x58]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x88]
cmp dword [rsp + 0x30], eax
jl 0x140104ea5
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x80]
call qword [rax + 0x58]
jmp 0x140104ee0
mov eax, dword [rsp + 0x30]
jmp 0x140104ee0
movsxd rax, dword [rsp + 0x88]
mov rdx, rax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0x148]
call fcn.1401404c0
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x80]
call qword [rax + 0x58]
add rsp, 0x78
ret