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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x158
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x160]
mov eax, dword [rax + 0x88]
cmp dword [rsp + 0x20], eax
jge 0x1400505c6
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x160]
mov rcx, qword [rcx + 0x10]
mov eax, dword [rcx + rax*4]
and eax, 0xffffff00
mov dword [rsp + 0x38], eax
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x160]
mov rdx, qword [rdx + 0x10]
mov ecx, dword [rdx + rcx*4]
and ecx, 0xff
movzx edx, cl
lea rcx, [0x1404c70f0]
call fcn.14004fe60
movzx eax, al
and eax, 0xff
mov ecx, dword [rsp + 0x38]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x3c], eax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x160]
mov rcx, qword [rcx + 0x10]
mov edx, dword [rsp + 0x3c]
mov dword [rcx + rax*4], edx
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x160]
mov rcx, qword [rcx + 0x10]
mov eax, dword [rcx + rax*4]
and eax, 0xff
cmp eax, 0x13
jne 0x140050595
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x160]
mov rcx, qword [rcx + 0x10]
mov eax, dword [rcx + rax*4]
shr eax, 0x10
and eax, 0xff
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x160]
mov rcx, qword [rcx + 0x18]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x88], rax
mov eax, dword [rsp + 0x20]
inc eax
cdqe
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x160]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp + 0x30]
mov eax, dword [rax + rcx*4]
and eax, 0xff
movzx edx, al
lea rcx, [0x1404c70f0]
call fcn.14004fe60
movzx eax, al
cmp eax, 0x46
jne 0x140050595
mov rax, qword [rsp + 0x160]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp + 0x30]
mov eax, dword [rax + rcx*4]
shr eax, 8
and eax, 0xff
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x160]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp + 0x30]
mov eax, dword [rax + rcx*4]
shr eax, 0x10
and eax, 0xff
mov dword [rsp + 0x2c], eax
lea rcx, [rsp + 0x98]
call fcn.14004fd60
nop
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x98], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x14005041c
cmp dword [rsp + 0x24], 1
je 0x14005041c
cmp dword [rsp + 0x24], 2
je 0x1400504a5
jmp 0x14005052f
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0xc4], eax
mov edx, dword [rsp + 0xc4]
lea rcx, [rsp + 0xe8]
call fcn.14000ca30
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
mov r8, qword [rsp + 0x50]
lea rdx, [0x14038ebb8]
lea rcx, [rsp + 0xc8]
call fcn.1400080a0
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0xa0]
call fcn.140009ec0
nop
lea rcx, [rsp + 0xc8]
call fcn.1400067e0
nop
lea rcx, [rsp + 0xe8]
call fcn.1400067e0
jmp 0x14005052f
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0xc0], eax
mov edx, dword [rsp + 0xc0]
lea rcx, [rsp + 0x128]
call fcn.14000ca30
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov r8, qword [rsp + 0x70]
lea rdx, str.upval
lea rcx, [rsp + 0x108]
call fcn.1400080a0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0xa0]
call fcn.140009ec0
nop
lea rcx, [rsp + 0x108]
call fcn.1400067e0
nop
lea rcx, [rsp + 0x128]
call fcn.1400067e0
mov rax, qword [rsp + 0x88]
add rax, 0xb0
mov qword [rsp + 0x90], rax
lea rdx, [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
call fcn.1400505d0
lea rcx, [rsp + 0xa0]
call fcn.14000aef0
mov rdx, rax
lea rcx, str.Added_capture_for__s_n
call fcn.14000ccf0
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x98]
call fcn.14004fe40
jmp 0x140050369
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x160]
mov rcx, qword [rcx + 0x10]
mov eax, dword [rcx + rax*4]
and eax, 0xff
mov ecx, eax
call fcn.14003fae0
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
jmp 0x140050274
add rsp, 0x158
ret