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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov edi, dword [rcx]
mov r10d, dword [rcx + 4]
mov r11d, dword [rcx + 8]
mov ebx, dword [rcx + 0xc]
lea r9, [rdx + 0x40]
mov dword [rsp + 0x88], edi
cmp rdx, r9
jae 0x37154
lea r8, [rsp]
add rdx, 2
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
add rdx, 4
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx - 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx - 6]
shl ecx, 8
or ecx, eax
lea rax, [rdx - 2]
mov dword [r8], ecx
add r8, 4
cmp rax, r9
jb 0x37122
mov r15d, dword [rsp + 0x14]
mov r12d, dword [rsp + 0x1c]
mov ecx, r10d
not ecx
mov eax, r11d
and ecx, ebx
and eax, r10d
or ecx, eax
mov eax, r10d
add ecx, dword [rsp]
lea edx, [rcx + rdi - 0x28955b88]
rol edx, 7
add edx, r10d
and eax, edx
mov ecx, edx
not ecx
and ecx, r11d
or ecx, eax
add ecx, dword [rsp + 4]
lea r8d, [rcx + rbx - 0x173848aa]
rol r8d, 0xc
add r8d, edx
mov ecx, r8d
mov eax, r8d
not ecx
and eax, edx
and ecx, r10d
or ecx, eax
mov eax, r8d
add ecx, dword [rsp + 8]
lea r9d, [rcx + r11 + 0x242070db]
rol r9d, 0x11
add r9d, r8d
and eax, r9d
mov ecx, r9d
not ecx
and ecx, edx
or ecx, eax
mov eax, r9d
add ecx, dword [rsp + 0xc]
lea r10d, [rcx + r10 - 0x3e423112]
rol r10d, 0x16
add r10d, r9d
and eax, r10d
mov ecx, r10d
not ecx
and ecx, r8d
or ecx, eax
mov eax, r10d
add ecx, dword [rsp + 0x10]
lea r11d, [rcx + rdx - 0xa83f051]
rol r11d, 7
add r11d, r10d
and eax, r11d
mov ecx, r11d
not ecx
and ecx, r9d
or ecx, eax
add ecx, r15d
lea edx, [rcx + r8 + 0x4787c62a]
rol edx, 0xc
add edx, r11d
mov ecx, edx
mov eax, edx
not ecx
and eax, r11d
and ecx, r10d
or ecx, eax
mov eax, edx
add ecx, dword [rsp + 0x18]
lea r8d, [rcx + r9 - 0x57cfb9ed]
rol r8d, 0x11
add r8d, edx
and eax, r8d
mov ecx, r8d
not ecx
and ecx, r11d
or ecx, eax
add ecx, r12d
lea r9d, [rcx + r10 - 0x2b96aff]
rol r9d, 0x16
mov r13d, dword [rsp + 0x28]
mov esi, dword [rsp + 0x30]
mov r14d, dword [rsp + 0x34]
mov edi, dword [rsp + 0x38]
add r9d, r8d
mov eax, r8d
and eax, r9d
mov ecx, r9d
not ecx
and ecx, edx
or ecx, eax
mov eax, r9d
add ecx, dword [rsp + 0x20]
lea r10d, [rcx + r11 + 0x698098d8]
rol r10d, 7
add r10d, r9d
and eax, r10d
mov ecx, r10d
not ecx
and ecx, r8d
or ecx, eax
add ecx, dword [rsp + 0x24]
lea r11d, [rcx + rdx - 0x74bb0851]
rol r11d, 0xc
add r11d, r10d
mov ecx, r11d
mov eax, r11d
not ecx
and eax, r10d
and ecx, r9d
or ecx, eax
mov eax, r11d
add ecx, r13d
lea edx, [rcx + r8 - 0xa44f]
rol edx, 0x11
add edx, r11d
and eax, edx
mov ecx, edx
not ecx
and ecx, r10d
or ecx, eax
mov eax, edx
add ecx, dword [rsp + 0x2c]
lea r9d, [rcx + r9 - 0x76a32842]
rol r9d, 0x16
add r9d, edx
and eax, r9d
mov ecx, r9d
not ecx
and ecx, r11d
or ecx, eax
mov eax, r9d
add ecx, esi
lea ebx, [rcx + r10 + 0x6b901122]
rol ebx, 7
add ebx, r9d
and eax, ebx
mov ecx, ebx
not ecx
and ecx, edx
or ecx, eax
add ecx, r14d
lea r11d, [rcx + r11 - 0x2678e6d]
rol r11d, 0xc
add r11d, ebx
mov r8d, r11d
mov ecx, r11d
and ecx, ebx
not r8d
mov eax, r8d
and eax, r9d
or ecx, eax
mov eax, ebx
add ecx, edi
lea r10d, [rcx + rdx - 0x5986bc72]
mov ecx, r11d
rol r10d, 0x11
add r10d, r11d
mov edx, r10d
and ecx, r10d
not edx
mov ebp, dword [rsp + 0x3c]
and eax, edx
and r8d, r10d
or ecx, eax
mov eax, r11d
add ecx, ebp
lea r9d, [rcx + r9 + 0x49b40821]
mov ecx, r10d
rol r9d, 0x16
add r9d, r10d
and eax, r9d
or eax, r8d
add eax, dword [rsp + 4]
lea r8d, [rax + rbx - 0x9e1da9e]
mov eax, r9d
and eax, edx
rol r8d, 5
add r8d, r9d
and ecx, r8d
or ecx, eax
add ecx, dword [rsp + 0x18]
lea edx, [rcx + r11 - 0x3fbf4cc0]
mov ecx, r9d
not ecx
rol edx, 9
and ecx, r8d
add edx, r8d
mov eax, edx
and eax, r9d
or ecx, eax
add ecx, dword [rsp + 0x2c]
lea r11d, [rcx + r10 + 0x265e5a51]
mov ecx, r8d
not ecx
rol r11d, 0xe
and ecx, edx
add r11d, edx
mov eax, r11d
and eax, r8d
or ecx, eax
mov eax, edx
add ecx, dword [rsp]
lea r10d, [rcx + r9 - 0x16493856]
mov ecx, edx
not ecx
rol r10d, 0x14
and ecx, r11d
add r10d, r11d
and eax, r10d
or ecx, eax
mov eax, r11d
add ecx, r15d
lea r9d, [rcx + r8 - 0x29d0efa3]
mov ecx, r11d
not ecx
rol r9d, 5
and ecx, r10d
add r9d, r10d
and eax, r9d
or ecx, eax
add ecx, r13d
lea r8d, [rcx + rdx + 0x2441453]
mov ecx, r10d
not ecx
rol r8d, 9
and ecx, r9d
add r8d, r9d
mov eax, r8d
and eax, r10d
or ecx, eax
add ecx, ebp
lea edx, [rcx + r11 - 0x275e197f]
mov ecx, r9d
not ecx
rol edx, 0xe
add edx, r8d
and ecx, r8d
mov eax, edx
and eax, r9d
or ecx, eax
add ecx, dword [rsp + 0x10]
lea r11d, [rcx + r10 - 0x182c0438]
mov ecx, r8d
mov eax, r8d
not ecx
rol r11d, 0x14
and ecx, edx
add r11d, edx
and eax, r11d
or ecx, eax
mov eax, edx
add ecx, dword [rsp + 0x24]
lea r10d, [rcx + r9 + 0x21e1cde6]
mov ecx, edx
not ecx
rol r10d, 5
and ecx, r11d
add r10d, r11d
and eax, r10d
or ecx, eax
add ecx, edi
lea r9d, [rcx + r8 - 0x3cc8f82a]
mov ecx, r11d
not ecx
rol r9d, 9
and ecx, r10d
add r9d, r10d
mov eax, r9d
and eax, r11d
or ecx, eax
add ecx, dword [rsp + 0xc]
lea ebx, [rcx + rdx - 0xb2af279]
mov ecx, r10d
not ecx
rol ebx, 0xe
and ecx, r9d
add ebx, r9d
mov eax, ebx
and eax, r10d
or ecx, eax
mov eax, r9d
add ecx, dword [rsp + 0x20]
lea r11d, [rcx + r11 + 0x455a14ed]
mov ecx, r9d
not ecx
rol r11d, 0x14
and ecx, ebx
add r11d, ebx
and eax, r11d
or ecx, eax
mov eax, ebx
add ecx, r14d
lea edx, [rcx + r10 - 0x561c16fb]
mov ecx, ebx
not ecx
rol edx, 5
and ecx, r11d
add edx, r11d
and eax, edx
or ecx, eax
add ecx, dword [rsp + 8]
lea r8d, [rcx + r9 - 0x3105c08]
mov ecx, r11d
not ecx
rol r8d, 9
and ecx, edx
add r8d, edx
mov eax, r8d
and eax, r11d
or ecx, eax
add ecx, r12d
lea r9d, [rcx + rbx + 0x676f02d9]
mov ecx, edx
not ecx
rol r9d, 0xe
add r9d, r8d
and ecx, r8d
mov eax, r9d
and eax, edx
or ecx, eax
add ecx, esi
lea r10d, [rcx + r11 - 0x72d5b376]
rol r10d, 0x14
mov eax, r8d
xor eax, r9d
add r10d, r9d
xor eax, r10d
add eax, r15d
lea edx, [rax + rdx - 0x5c6be]
mov eax, r9d
xor eax, r10d
rol edx, 4
add edx, r10d
xor eax, edx
add eax, dword [rsp + 0x20]
lea r8d, [rax + r8 - 0x788e097f]
rol r8d, 0xb
add r8d, edx
mov eax, r8d
mov ecx, r8d
xor eax, r10d
xor eax, edx
add eax, dword [rsp + 0x2c]
lea r9d, [rax + r9 + 0x6d9d6122]
rol r9d, 0x10
add r9d, r8d
xor ecx, r9d
mov eax, ecx
xor eax, edx
add eax, edi
lea r10d, [rax + r10 - 0x21ac7f4]
mov eax, r9d
rol r10d, 0x17
add r10d, r9d
xor eax, r10d
xor ecx, r10d
add ecx, dword [rsp + 4]
lea r11d, [rcx + rdx - 0x5b4115bc]
rol r11d, 4
add r11d, r10d
xor eax, r11d
add eax, dword [rsp + 0x10]
lea edx, [rax + r8 + 0x4bdecfa9]
rol edx, 0xb
add edx, r11d
mov eax, edx
mov ecx, edx
xor eax, r10d
xor eax, r11d
add eax, r12d
lea r8d, [rax + r9 - 0x944b4a0]
rol r8d, 0x10
add r8d, edx
xor ecx, r8d
mov eax, ecx
xor eax, r11d
add eax, r13d
lea r9d, [rax + r10 - 0x41404390]
mov eax, r8d
rol r9d, 0x17
add r9d, r8d
xor eax, r9d
xor ecx, r9d
add ecx, r14d
lea r10d, [rcx + r11 + 0x289b7ec6]
rol r10d, 4
add r10d, r9d
xor eax, r10d
add eax, dword [rsp]
lea r11d, [rax + rdx - 0x155ed806]
rol r11d, 0xb
add r11d, r10d
mov eax, r11d
mov ecx, r11d
xor eax, r9d
xor eax, r10d
add eax, dword [rsp + 0xc]
lea r8d, [rax + r8 - 0x2b10cf7b]
rol r8d, 0x10
add r8d, r11d
xor ecx, r8d
mov eax, ecx
xor eax, r10d
add eax, dword [rsp + 0x18]
lea edx, [rax + r9 + 0x4881d05]
mov eax, r8d
rol edx, 0x17
add edx, r8d
xor eax, edx
xor ecx, edx
add ecx, dword [rsp + 0x24]
lea r9d, [rcx + r10 - 0x262b2fc7]
rol r9d, 4
add r9d, edx
xor eax, r9d
add eax, esi
lea ecx, [rax + r11 - 0x1924661b]
rol ecx, 0xb
add ecx, r9d
mov eax, ecx
xor eax, edx
xor eax, r9d
add eax, ebp
lea r10d, [rax + r8 + 0x1fa27cf8]
mov eax, ecx
rol r10d, 0x10
add r10d, ecx
xor eax, r10d
xor eax, r9d
add eax, dword [rsp + 8]
lea r8d, [rax + rdx - 0x3b53a99b]
mov eax, ecx
not eax
rol r8d, 0x17
add r8d, r10d
or eax, r8d
xor eax, r10d
add eax, dword [rsp]
lea edx, [rax + r9 - 0xbd6ddbc]
mov eax, r10d
not eax
rol edx, 6
add edx, r8d
or eax, edx
xor eax, r8d
add eax, r12d
lea r9d, [rax + rcx + 0x432aff97]
mov eax, r8d
not eax
rol r9d, 0xa
add r9d, edx
or eax, r9d
xor eax, edx
add eax, edi
lea ecx, [rax + r10 - 0x546bdc59]
mov eax, edx
not eax
rol ecx, 0xf
add ecx, r9d
or eax, ecx
xor eax, r9d
add eax, r15d
lea r10d, [rax + r8 - 0x36c5fc7]
mov eax, r9d
not eax
rol r10d, 0x15
add r10d, ecx
or eax, r10d
xor eax, ecx
add eax, esi
lea r8d, [rax + rdx + 0x655b59c3]
mov eax, ecx
not eax
rol r8d, 6
add r8d, r10d
or eax, r8d
xor eax, r10d
add eax, dword [rsp + 0xc]
lea edx, [rax + r9 - 0x70f3336e]
mov eax, r10d
rol edx, 0xa
not eax
add edx, r8d
or eax, edx
xor eax, r8d
add eax, r13d
lea r9d, [rax + rcx - 0x100b83]
mov eax, r8d
not eax
rol r9d, 0xf
add r9d, edx
or eax, r9d
xor eax, edx
add eax, dword [rsp + 4]
lea ecx, [rax + r10 - 0x7a7ba22f]
mov eax, edx
not eax
rol ecx, 0x15
add ecx, r9d
or eax, ecx
xor eax, r9d
add eax, dword [rsp + 0x20]
lea r10d, [rax + r8 + 0x6fa87e4f]
mov eax, r9d
not eax
rol r10d, 6
add r10d, ecx
or eax, r10d
xor eax, ecx
add eax, ebp
lea r11d, [rax + rdx - 0x1d31920]
mov eax, ecx
not eax
rol r11d, 0xa
add r11d, r10d
or eax, r11d
xor eax, r10d
add eax, dword [rsp + 0x18]
lea r9d, [rax + r9 - 0x5cfebcec]
mov eax, r10d
not eax
rol r9d, 0xf
add r9d, r11d
or eax, r9d
xor eax, r11d
add eax, r14d
lea ebx, [rax + rcx + 0x4e0811a1]
mov eax, r11d
not eax
rol ebx, 0x15
add ebx, r9d
or eax, ebx
xor eax, r9d
add eax, dword [rsp + 0x10]
lea r8d, [rax + r10 - 0x8ac817e]
mov eax, r9d
not eax
rol r8d, 6
add r8d, ebx
or eax, r8d
xor eax, ebx
add eax, dword [rsp + 0x2c]
lea edx, [rax + r11 - 0x42c50dcb]
mov eax, ebx
not eax
rol edx, 0xa
add edx, r8d
or eax, edx
xor eax, r8d
add eax, dword [rsp + 8]
lea ecx, [rax + r9 + 0x2ad7d2bb]
mov r9, qword [rsp + 0x80]
mov eax, dword [rsp + 0x88]
add eax, r8d
rol ecx, 0xf
not r8d
mov dword [r9], eax
add ecx, edx
or r8d, ecx
xor r8d, edx
add r8d, dword [rsp + 0x24]
lea eax, [r8 + rbx - 0x14792c6f]
rol eax, 0x15
add eax, dword [r9 + 4]
add eax, ecx
mov rbx, qword [rsp + 0x90]
mov dword [r9 + 4], eax
mov eax, dword [r9 + 8]
add eax, ecx
mov dword [r9 + 8], eax
mov eax, dword [r9 + 0xc]
add eax, edx
mov dword [r9 + 0xc], eax
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret