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

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rdi, rdx
test rcx, rcx
je 0x14002089b
mov qword [rsp + 0x38], rbp
mov rbp, qword [rcx + 0x10]
test rbp, rbp
je 0x140020888
mov ecx, 0xe4
mov qword [rsp + 0x30], rbx
call fcn.1400bb768
mov rbx, rax
test rax, rax
je 0x1400205d1
xor edx, edx
mov r8d, 0xe4
mov rcx, rax
call fcn.1400ae310
test rbx, rbx
je 0x140020870
movzx eax, byte [rdi]
lea rcx, [rdi + 0x11]
mov byte [rbx], al
lea rax, [rdi + 1]
mov qword [rbx + 8], rax
mov qword [rbx + 0x1c], rax
mov dword [rbx + 0x10], 0x10
mov dword [rbx + 0x14], 0x10
mov dword [rbx + 4], 5
mov dword [rbx + 0x24], 0x10
mov dword [rbx + 0x28], 0x10
mov dword [rbx + 0x18], 5
mov qword [rbx + 0x30], rcx
mov dword [rbx + 0x38], 0x40
test rcx, rcx
jne 0x14002062e
mov rax, rsi
jmp 0x140020638
mov edx, 0x40
call fcn.1400d5db8
inc eax
mov dword [rbx + 0x2c], 8
lea rcx, [rdi + 0x51]
mov dword [rbx + 0x3c], eax
mov qword [rbx + 0x44], rcx
mov dword [rbx + 0x4c], 0x40
test rcx, rcx
jne 0x14002065d
mov rax, rsi
jmp 0x140020667
mov edx, 0x40
call fcn.1400d5db8
inc eax
mov dword [rbx + 0x40], 8
lea rcx, [rdi + 0x91]
mov dword [rbx + 0x50], eax
mov qword [rbx + 0x58], rcx
mov dword [rbx + 0x60], 0x40
test rcx, rcx
jne 0x14002068f
mov rax, rsi
jmp 0x140020699
mov edx, 0x40
call fcn.1400d5db8
inc eax
mov dword [rbx + 0x54], 8
lea rcx, [rdi + 0xd1]
mov dword [rbx + 0x64], eax
mov qword [rbx + 0x6c], rcx
mov dword [rbx + 0x74], 0x40
test rcx, rcx
jne 0x1400206c1
mov rax, rsi
jmp 0x1400206cb
mov edx, 0x40
call fcn.1400d5db8
inc eax
mov dword [rbx + 0x68], 8
lea rcx, [rdi + 0x111]
mov dword [rbx + 0x78], eax
mov qword [rbx + 0x80], rcx
mov dword [rbx + 0x88], 0x80
test rcx, rcx
jne 0x1400206f9
mov rax, rsi
jmp 0x140020703
mov edx, 0x80
call fcn.1400d5db8
inc eax
mov dword [rbx + 0x7c], 8
mov dword [rbx + 0x8c], eax
mov rcx, rbp
mov rax, qword [rbp + 0xf8]
call qword [case.0x140023ef7.0]
lea rcx, [rdi + 0x19c]
mov byte [rbx + 0x90], al
mov eax, dword [rdi + 0x194]
mov dword [rbx + 0x94], eax
mov qword [rbx + 0x9c], rcx
mov dword [rbx + 0xa4], 0x40
test rcx, rcx
jne 0x140020756
mov rax, rsi
jmp 0x140020760
mov edx, 0x40
call fcn.1400d5db8
inc eax
mov dword [rbx + 0x98], 8
lea rcx, [rdi + 0x1dc]
mov dword [rbx + 0xa8], eax
mov qword [rbx + 0xb0], rcx
mov dword [rbx + 0xb8], 0x40
test rcx, rcx
jne 0x140020794
mov rax, rsi
jmp 0x14002079e
mov edx, 0x40
call fcn.1400d5db8
inc eax
mov dword [rbx + 0xac], 8
lea rcx, [rdi + 0x21c]
mov dword [rbx + 0xbc], eax
mov eax, dword [rdi + 0x25c]
mov dword [rbx + 0xd4], eax
mov qword [rbx + 0xc4], rcx
mov dword [rbx + 0xcc], 0x40
test rcx, rcx
je 0x1400207e6
mov edx, 0x40
call fcn.1400d5db8
mov rsi, rax
mov dword [rbx + 0xc0], 8
lea eax, [rsi + 1]
mov dword [rbx + 0xd0], eax
movzx eax, word [rdi + 0x260]
mov word [rbx + 0xd8], ax
movzx eax, word [rdi + 0x262]
mov word [rbx + 0xda], ax
movzx eax, byte [rdi + 0x264]
mov byte [rbx + 0xdc], al
movzx eax, byte [rdi + 0x265]
mov byte [rbx + 0xdd], al
movzx eax, byte [rdi + 0x266]
mov byte [rbx + 0xde], al
movzx eax, byte [rdi + 0x267]
mov byte [rbx + 0xdf], al
movzx eax, byte [rdi + 0x268]
mov byte [rbx + 0xe0], al
movzx eax, byte [rdi + 0x269]
mov byte [rbx + 0xe1], al
movzx eax, byte [rdi + 0x26a]
mov byte [rbx + 0xe2], al
mov rbp, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rbp, qword [rsp + 0x38]
mov rax, rsi
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rax, rsi
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret