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

Disassembly:
mov dword [rsp + 0x18], r8d
push rbx
push rbp
push rdi
push r14
push r15
sub rsp, 0x60
mov eax, dword [rcx + 0x50]
mov edi, r8d
mov rbp, qword [rdx + 0x18]
mov r15, rdx
mov r10, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x90], eax
mov ebx, 0xfff0bdc0
add eax, 2
mov dword [rcx + 0x50], eax
mov r9, qword [rdx + 0x30]
test r9, r9
je 0x180049fe8
movsxd rax, dword [r10 + 0x28]
xor ebx, ebx
test eax, eax
jle 0x180049fe8
mov rdx, rax
xor ecx, ecx
mov rax, qword [r10 + 0x20]
add rax, 0x18
cmp qword [rax], r9
je 0x180049fe8
inc ebx
inc rcx
add rax, 0x20
cmp rcx, rdx
jl 0x180049fd5
mov rax, qword [r10 + 0x20]
xor r9d, r9d
mov r8, qword [r15]
movsxd rcx, ebx
shl rcx, 5
lea edx, [r9 + 0x1b]
mov rcx, qword [rcx + rax]
mov qword [rsp + 0x20], rcx
mov rcx, r14
call fcn.180044f00
test eax, eax
jne 0x18004a45b
mov rax, qword [rbp]
mov r9b, 1
mov r8d, dword [rbp + 0x3c]
mov edx, ebx
mov rcx, r14
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x58], rsi
call fcn.180044fc0
mov rsi, qword [r14 + 0x10]
test rsi, rsi
jne 0x18004a08e
mov rcx, r14
call fcn.180025b50
mov qword [r14 + 0x10], rax
mov rsi, rax
test rax, rax
je 0x18004a06d
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor r8d, r8d
mov edx, 0x99
mov rcx, rax
call fcn.180025cb0
cmp qword [r14 + 0x1c0], 0
jne 0x18004a085
mov rax, qword [r14]
test byte [rax + 0x4c], 8
jne 0x18004a085
mov byte [r14 + 0x23], 1
test rsi, rsi
je 0x18004a456
mov qword [rsp + 0x50], r12
mov r12d, edi
mov qword [rsp + 0x48], r13
test edi, edi
jns 0x18004a0a3
mov r12d, dword [r15 + 0x58]
mov rdx, r15
mov rcx, r14
call fcn.18004d4d0
mov r13d, dword [r14 + 0x50]
mov rdi, rax
lea ecx, [r13 + 1]
mov dword [r14 + 0x50], ecx
test rax, rax
je 0x18004a0c4
inc dword [rax]
movzx ecx, word [r15 + 0x5e]
xor r9d, r9d
mov dword [rsp + 0x20], ecx
mov r8d, r13d
mov rcx, rsi
lea edx, [r9 + 0x3a]
call fcn.180025cb0
mov r9d, 0xfffffffa
mov r8, rdi
mov edx, eax
mov rcx, rsi
call fcn.180026290
mov edx, dword [rsp + 0x90]
mov r9, rbp
mov r8d, ebx
mov dword [rsp + 0x20], 0x36
mov rcx, r14
call fcn.180056ef0
mov r8d, dword [rsp + 0x90]
xor r9d, r9d
mov rcx, rsi
mov dword [rsp + 0x20], 0
lea edx, [r9 + 0x6c]
call fcn.180025cb0
movzx ecx, byte [r14 + 0x1f]
mov dword [rsp + 0x98], eax
test cl, cl
jne 0x18004a148
inc dword [r14 + 0x54]
mov ebp, dword [r14 + 0x54]
jmp 0x18004a156
dec cl
movzx eax, cl
mov byte [r14 + 0x1f], al
mov ebp, dword [r14 + rax*4 + 0x24]
mov r8d, dword [rsp + 0x90]
lea rax, [rsp + 0xa8]
xor ecx, ecx
mov r9d, ebp
mov dword [rsp + 0x38], ecx
mov rdx, r15
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
mov rcx, r14
call fcn.18004fc60
mov r9d, ebp
mov dword [rsp + 0x20], 0
mov r8d, r13d
mov edx, 0x6d
mov rcx, rsi
call fcn.180025cb0
mov eax, dword [rsp + 0xa8]
test eax, eax
je 0x18004a1e3
mov rdx, qword [r14 + 0x10]
not eax
mov r9, qword [rdx + 0x30]
test eax, eax
js 0x18004a1d2
mov r8, qword [r9 + 0x80]
test r8, r8
je 0x18004a1d2
movsxd rcx, eax
mov eax, dword [rdx + 0x3c]
mov dword [r8 + rcx*4], eax
mov eax, dword [rdx + 0x3c]
mov rcx, r14
dec eax
mov dword [r9 + 0x64], eax
call fcn.18003d6c0
mov r9d, dword [rsp + 0x98]
mov edx, 9
mov r8d, dword [rsp + 0x90]
inc r9d
mov rcx, rsi
mov dword [rsp + 0x20], 0
call fcn.180025cb0
mov eax, dword [rsp + 0x98]
mov edx, dword [rsi + 0x3c]
cmp edx, eax
jbe 0x18004a228
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 8]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rsi + 0x3c]
cmp dword [rsp + 0xa0], 0
lea ecx, [rdx - 1]
mov rax, qword [rsi + 0x30]
mov dword [rax + 0x64], ecx
jge 0x18004a257
mov r9d, ebx
mov dword [rsp + 0x20], 0
mov r8d, r12d
mov edx, 0x76
mov rcx, rsi
call fcn.180025cb0
mov r8d, dword [rsp + 0x90]
mov r9d, r12d
inc r8d
mov dword [rsp + 0x20], ebx
mov edx, 0x37
mov rcx, rsi
call fcn.180025cb0
mov r9d, 0xfffffffa
mov r8, rdi
mov edx, eax
mov rcx, rsi
call fcn.180026290
mov r8, qword [rsi + 8]
test r8, r8
je 0x18004a2b4
cmp dword [rsp + 0xa0], 0
mov eax, 3
mov edx, 1
cmovge edx, eax
movsxd rax, dword [rsi + 0x3c]
lea rcx, [rax + rax*2]
mov byte [r8 + rcx*8 - 0x15], dl
xor ebx, ebx
xor r9d, r9d
mov r8d, r13d
mov dword [rsp + 0x20], ebx
mov rcx, rsi
lea edx, [rbx + 0x6a]
call fcn.180025cb0
mov r12d, eax
cmp byte [r15 + 0x62], bl
je 0x18004a345
test rdi, rdi
je 0x18004a345
mov edi, dword [rsi + 0x3c]
lea edx, [rbx + 0x10]
xor r8d, r8d
mov dword [rsp + 0x20], ebx
mov rcx, rsi
lea r9d, [rdi + 3]
call fcn.180025cb0
mov eax, dword [rsi + 0x3c]
lea r9d, [rdi + 3]
movzx ebx, word [r15 + 0x5e]
mov r8d, r13d
mov edx, 0x63
mov dword [rsp + 0x98], eax
mov rcx, rsi
mov dword [rsp + 0x20], ebp
call fcn.180025cb0
mov r8d, ebx
mov r9d, 0xfffffff2
mov edx, eax
mov rcx, rsi
call fcn.180026290
mov r8, r15
mov edx, 2
mov rcx, r14
call fcn.18004cad0
mov ebx, dword [rsp + 0x98]
jmp 0x18004a348
mov ebx, dword [rsi + 0x3c]
mov r15d, dword [rsp + 0x90]
mov r9d, ebp
mov r8d, r13d
mov edx, 0x64
mov rcx, rsi
lea edi, [r15 + 1]
mov dword [rsp + 0x20], edi
call fcn.180025cb0
mov r9d, ebp
mov dword [rsp + 0x20], 1
mov r8d, edi
mov edx, 0x6e
mov rcx, rsi
call fcn.180025cb0
mov rdx, qword [rsi + 8]
test rdx, rdx
je 0x18004a39c
movsxd rax, dword [rsi + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 0x10
test ebp, ebp
je 0x18004a3d2
movzx edx, byte [r14 + 0x1f]
cmp dl, 8
jae 0x18004a3d2
xor ecx, ecx
lea rax, [r14 + 0x88]
cmp dword [rax + 0xc], ebp
je 0x18004a3ce
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x18004a3b3
mov dword [r14 + rdx*4 + 0x24], ebp
inc byte [r14 + 0x1f]
jmp 0x18004a3d2
mov byte [rax + 6], 1
xor ebp, ebp
mov r9d, ebx
mov r8d, r13d
mov dword [rsp + 0x20], ebp
mov rcx, rsi
lea edx, [rbp + 5]
call fcn.180025cb0
mov edx, dword [rsi + 0x3c]
cmp edx, r12d
jbe 0x18004a400
mov rax, qword [rsi + 8]
lea rcx, [r12 + r12*2]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rsi + 0x3c]
mov rax, qword [rsi + 0x30]
lea ecx, [rdx - 1]
xor r9d, r9d
mov dword [rsp + 0x20], ebp
mov r8d, r15d
mov dword [rax + 0x64], ecx
mov rcx, rsi
lea edx, [r9 + 0x3d]
call fcn.180025cb0
xor r9d, r9d
mov dword [rsp + 0x20], ebp
mov r8d, edi
mov rcx, rsi
lea edx, [r9 + 0x3d]
call fcn.180025cb0
xor r9d, r9d
mov dword [rsp + 0x20], ebp
mov r8d, r13d
mov rcx, rsi
lea edx, [r9 + 0x3d]
call fcn.180025cb0
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rbp
pop rbx
ret