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

Disassembly:
mov dword [rsp + 0x18], r8d
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov eax, dword [rcx + 0x50]
mov ebp, r8d
mov rdi, qword [rdx + 0x18]
mov r14, rdx
mov r10, qword [rcx]
mov rsi, rcx
mov dword [rsp + 0x90], eax
mov ebx, 0xfff0bdc0
add eax, 2
mov qword [rsp + 0x98], rdi
mov dword [rcx + 0x50], eax
mov r9, qword [rdx + 0x30]
test r9, r9
je 0x180049f43
movsxd rax, dword [r10 + 0x28]
xor ebx, ebx
test eax, eax
jle 0x180049f43
mov rdx, rax
xor ecx, ecx
mov rax, qword [r10 + 0x20]
add rax, 0x18
nop dword [rax]
cmp qword [rax], r9
je 0x180049f43
inc ebx
inc rcx
add rax, 0x20
cmp rcx, rdx
jl 0x180049f30
mov rax, qword [r10 + 0x20]
xor r9d, r9d
mov r8, qword [r14]
movsxd rcx, ebx
shl rcx, 5
lea edx, [r9 + 0x1b]
mov rcx, qword [rcx + rax]
mov qword [rsp + 0x20], rcx
mov rcx, rsi
call fcn.180044de0
test eax, eax
jne 0x18004a40a
mov rax, qword [rdi]
mov r9b, 1
mov r8d, dword [rdi + 0x3c]
mov edx, ebx
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.180044ea0
mov rdi, qword [rsi + 0x10]
test rdi, rdi
jne 0x180049fe2
mov rcx, rsi
call fcn.180025760
mov qword [rsi + 0x10], rax
mov rdi, rax
test rax, rax
je 0x180049fc2
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor r8d, r8d
mov edx, 0x99
mov rcx, rax
call fcn.1800258c0
cmp qword [rsi + 0x1c0], 0
jne 0x180049fd9
mov rax, qword [rsi]
test byte [rax + 0x4c], 8
jne 0x180049fd9
mov byte [rsi + 0x23], 1
test rdi, rdi
je 0x18004a40a
mov qword [rsp + 0x58], r12
mov r12d, ebp
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r15
test ebp, ebp
jns 0x180049ffc
mov r12d, dword [r14 + 0x58]
mov rdx, r14
mov rcx, rsi
call fcn.18004d4e0
mov r13d, dword [rsi + 0x50]
mov r15, rax
lea ecx, [r13 + 1]
mov dword [rsi + 0x50], ecx
test rax, rax
je 0x18004a01c
inc dword [rax]
movzx ecx, word [r14 + 0x5e]
xor r9d, r9d
mov dword [rsp + 0x20], ecx
mov r8d, r13d
mov rcx, rdi
lea edx, [r9 + 0x3a]
call fcn.1800258c0
mov r9d, 0xfffffffa
mov r8, r15
mov edx, eax
mov rcx, rdi
call fcn.180025f00
mov r9, qword [rsp + 0x98]
mov r8d, ebx
mov edx, dword [rsp + 0x90]
mov rcx, rsi
mov dword [rsp + 0x20], 0x36
call fcn.180057170
mov r8d, dword [rsp + 0x90]
xor r9d, r9d
mov rcx, rdi
mov dword [rsp + 0x20], 0
lea edx, [r9 + 0x6c]
call fcn.1800258c0
movzx ecx, byte [rsi + 0x1f]
mov dword [rsp + 0x98], eax
test cl, cl
jne 0x18004a0a2
inc dword [rsi + 0x54]
mov ebp, dword [rsi + 0x54]
jmp 0x18004a0ae
dec cl
movzx eax, cl
mov byte [rsi + 0x1f], al
mov ebp, dword [rsi + 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, r14
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call fcn.18004fe80
mov r9d, ebp
mov dword [rsp + 0x20], 0
mov r8d, r13d
mov edx, 0x6d
mov rcx, rdi
call fcn.1800258c0
mov eax, dword [rsp + 0xa8]
test eax, eax
je 0x18004a13b
mov rdx, qword [rsi + 0x10]
not eax
mov r9, qword [rdx + 0x30]
test eax, eax
js 0x18004a12a
mov r8, qword [r9 + 0x80]
test r8, r8
je 0x18004a12a
movsxd rcx, eax
mov eax, dword [rdx + 0x3c]
mov dword [r8 + rcx*4], eax
mov eax, dword [rdx + 0x3c]
mov rcx, rsi
dec eax
mov dword [r9 + 0x64], eax
call fcn.18003d440
mov r9d, dword [rsp + 0x98]
mov edx, 9
mov r8d, dword [rsp + 0x90]
inc r9d
mov rcx, rdi
mov dword [rsp + 0x20], 0
call fcn.1800258c0
mov eax, dword [rsp + 0x98]
mov edx, dword [rdi + 0x3c]
cmp edx, eax
jbe 0x18004a180
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 8]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rdi + 0x3c]
cmp dword [rsp + 0xa0], 0
lea ecx, [rdx - 1]
mov rax, qword [rdi + 0x30]
mov dword [rax + 0x64], ecx
jge 0x18004a1af
mov r9d, ebx
mov dword [rsp + 0x20], 0
mov r8d, r12d
mov edx, 0x76
mov rcx, rdi
call fcn.1800258c0
mov r8d, dword [rsp + 0x90]
mov r9d, r12d
inc r8d
mov dword [rsp + 0x20], ebx
mov edx, 0x37
mov rcx, rdi
call fcn.1800258c0
mov r9d, 0xfffffffa
mov r8, r15
mov edx, eax
mov rcx, rdi
call fcn.180025f00
mov r8, qword [rdi + 8]
test r8, r8
je 0x18004a20c
cmp dword [rsp + 0xa0], 0
mov eax, 3
mov edx, 1
cmovge edx, eax
movsxd rax, dword [rdi + 0x3c]
lea rcx, [rax + rax*2]
mov byte [r8 + rcx*8 - 0x15], dl
xor r9d, r9d
mov dword [rsp + 0x20], 0
mov r8d, r13d
mov rcx, rdi
lea edx, [r9 + 0x6a]
call fcn.1800258c0
cmp byte [r14 + 0x62], 0
mov r12d, eax
je 0x18004a2f6
test r15, r15
je 0x18004a2f6
mov ebx, dword [rdi + 0x3c]
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x20], 0
lea r9d, [rbx + 3]
lea edx, [r8 + 0x10]
call fcn.1800258c0
mov eax, dword [rdi + 0x3c]
lea r9d, [rbx + 3]
movzx r15d, word [r14 + 0x5e]
mov r8d, r13d
mov edx, 0x63
mov dword [rsp + 0x98], eax
mov rcx, rdi
mov dword [rsp + 0x20], ebp
call fcn.1800258c0
mov r8, qword [rdi + 8]
mov rcx, qword [rdi]
test r8, r8
je 0x18004a2d0
cmp byte [rcx + 0x50], 0
jne 0x18004a2d0
test eax, eax
jns 0x18004a29d
mov eax, dword [rdi + 0x3c]
dec eax
cdqe
lea rdx, [rax + rax*2]
lea rbx, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 + 1]
mov r8, qword [rbx + 0x10]
call fcn.180025c40
mov qword [rbx + 0x10], 0
mov dword [rbx + 0x10], r15d
mov byte [rbx + 1], 0xf2
jmp 0x18004a2dd
mov r8, r15
mov edx, 0xfffffff2
call fcn.180025c40
mov r8, r14
mov edx, 2
mov rcx, rsi
call fcn.18004cae0
mov ebx, dword [rsp + 0x98]
jmp 0x18004a2f9
mov ebx, dword [rdi + 0x3c]
mov r15d, dword [rsp + 0x90]
mov r9d, ebp
mov r8d, r13d
mov edx, 0x64
mov rcx, rdi
lea r14d, [r15 + 1]
mov dword [rsp + 0x20], r14d
call fcn.1800258c0
mov r9d, ebp
mov dword [rsp + 0x20], 1
mov r8d, r14d
mov edx, 0x6e
mov rcx, rdi
call fcn.1800258c0
mov rdx, qword [rdi + 8]
test rdx, rdx
je 0x18004a34e
movsxd rax, dword [rdi + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 0x10
test ebp, ebp
je 0x18004a381
movzx edx, byte [rsi + 0x1f]
cmp dl, 8
jae 0x18004a381
xor ecx, ecx
lea rax, [rsi + 0x88]
cmp dword [rax + 0xc], ebp
je 0x18004a37d
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x18004a364
mov dword [rsi + rdx*4 + 0x24], ebp
inc byte [rsi + 0x1f]
jmp 0x18004a381
mov byte [rax + 6], 1
xor esi, esi
mov r9d, ebx
mov r8d, r13d
mov dword [rsp + 0x20], esi
mov rcx, rdi
lea edx, [rsi + 5]
call fcn.1800258c0
mov edx, dword [rdi + 0x3c]
cmp edx, r12d
jbe 0x18004a3af
mov rax, qword [rdi + 8]
lea rcx, [r12 + r12*2]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rdi + 0x3c]
mov rax, qword [rdi + 0x30]
lea ecx, [rdx - 1]
xor r9d, r9d
mov dword [rsp + 0x20], esi
mov r8d, r15d
mov dword [rax + 0x64], ecx
mov rcx, rdi
lea edx, [r9 + 0x3d]
call fcn.1800258c0
xor r9d, r9d
mov dword [rsp + 0x20], esi
mov r8d, r14d
mov rcx, rdi
lea edx, [r9 + 0x3d]
call fcn.1800258c0
xor r9d, r9d
mov dword [rsp + 0x20], esi
mov r8d, r13d
mov rcx, rdi
lea edx, [r9 + 0x3d]
call fcn.1800258c0
mov r15, qword [rsp + 0x48]
mov r13, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
add rsp, 0x60
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret