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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x70
mov rax, qword [rcx]
mov ebx, r9d
mov r11, rcx
test byte [rax + 0x4c], 2
jne 0x1400498f8
xor eax, eax
lea r9, [rcx + 0x88]
mov dword [rsp], eax
mov r10d, eax
mov rax, r9
nop dword [rax]
cmp dword [rax + 0xc], 0
je 0x1400498d9
inc r10d
add rax, 0x14
cmp r10d, 0xa
jl 0x1400496a0
mov qword [rsp + 0x68], rbp
mov edx, 0x7fffffff
mov qword [rsp + 0x60], rsi
add r9, 0x24
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r15
mov dword [rsp + 8], edx
mov dword [rsp + 4], 0xffffffff
mov qword [rsp + 0x10], r9
nop dword [rax]
nop dword [rax + rax]
mov r14d, dword [r9 + 0x3c]
mov r15d, r14d
mov r12d, dword [r9 + 0x28]
mov r13d, r12d
mov edi, dword [r9 + 0x50]
mov ebp, edi
mov r11d, dword [r9 + 0x64]
mov ebx, r11d
mov ecx, dword [r9 - 0x14]
cmp ecx, edx
mov r8d, dword [r9 + 0x78]
mov r10d, r8d
cmovge ecx, edx
mov eax, dword [rsp]
mov edx, dword [r9]
cmp edx, ecx
mov dword [rsp + 0x18], ecx
cmovge edx, ecx
mov dword [rsp + 0x20], r12d
mov ecx, dword [r9 + 0x14]
cmp ecx, edx
mov dword [rsp + 0x28], r14d
cmovge ecx, edx
mov dword [rsp + 0x1c], edx
mov edx, dword [r9 + 0x8c]
cmp r12d, ecx
mov r12, qword [rsp + 0x10]
mov esi, edx
mov r9d, dword [r9 + 0xa0]
cmovge r13d, ecx
cmp r14d, r13d
mov dword [rsp + 0x24], ecx
mov r14d, dword [rsp + 8]
mov ecx, eax
cmovge r15d, r13d
cmp edi, r15d
cmovge ebp, r15d
cmp r11d, ebp
cmovge ebx, ebp
cmp r8d, ebx
cmovge r10d, ebx
cmp edx, r10d
cmovge esi, r10d
cmp dword [r12 - 0x14], r14d
mov r14, qword [rsp + 0x10]
cmovge ecx, dword [rsp + 4]
inc eax
mov r12d, dword [rsp + 0x18]
cmp dword [r14], r12d
mov r12d, dword [rsp + 0x1c]
cmovge eax, ecx
mov ecx, dword [rsp]
add ecx, 2
cmp dword [r14 + 0x14], r12d
mov r12d, dword [rsp + 0x20]
cmovge ecx, eax
mov eax, dword [rsp]
add eax, 3
cmp r12d, dword [rsp + 0x24]
mov r12d, dword [rsp]
cmovge eax, ecx
cmp dword [rsp + 0x28], r13d
lea ecx, [r12 + 4]
cmovge ecx, eax
cmp edi, r15d
lea eax, [r12 + 5]
cmovge eax, ecx
cmp r11d, ebp
lea ecx, [r12 + 6]
cmovge ecx, eax
cmp r8d, ebx
lea eax, [r12 + 7]
cmovge eax, ecx
cmp edx, r10d
lea ecx, [r12 + 8]
cmovge ecx, eax
cmp r9d, esi
lea eax, [r12 + 9]
cmovge eax, ecx
add qword [rsp + 0x10], 0xc8
mov dword [rsp + 4], eax
add r12d, 0xa
mov edx, r9d
cmp r9d, esi
mov dword [rsp], r12d
mov r9, qword [rsp + 0x10]
cmovge edx, esi
mov dword [rsp + 8], edx
cmp r12d, 0xa
jl 0x140049700
mov r15, qword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
test eax, eax
js 0x1400498f8
mov rdx, qword [rsp + 0x80]
cdqe
lea rcx, [rax + rax*4]
mov eax, dword [rdx + 0x70]
mov dword [rdx + rcx*4 + 0x90], eax
mov eax, dword [rsp + 0x88]
mov dword [rdx + rcx*4 + 0x88], eax
mov eax, dword [rsp + 0x90]
mov word [rdx + rcx*4 + 0x8c], ax
mov eax, dword [rsp + 0x98]
mov dword [rdx + rcx*4 + 0x94], eax
mov byte [rdx + rcx*4 + 0x8e], 0
mov eax, dword [rdx + 0x74]
mov dword [rdx + rcx*4 + 0x98], eax
inc dword [rdx + 0x74]
add rsp, 0x70
pop rbx
ret
mov ecx, dword [rcx + 0x70]
mov dword [rax + 8], ecx
mov dword [rax], edx
mov word [rax + 4], r8w
mov dword [rax + 0xc], ebx
mov byte [rax + 6], 0
mov ecx, dword [r11 + 0x74]
mov dword [rax + 0x10], ecx
inc dword [r11 + 0x74]
add rsp, 0x70
pop rbx
ret