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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x88
xor ebx, ebx
xor r11d, r11d
xor edi, edi
mov rbp, qword [rcx]
mov rsi, qword [rcx + 0x10]
mov r13, qword [rcx + 8]
mov rax, qword [rbp]
mov r12, qword [rbp + 8]
mov r15d, dword [r13 + 0x14]
mov qword [rsp + 0x40], rax
movzx eax, byte [rsi + 0x10]
mov r14, r8
mov qword [rsp + 0xd8], rdx
mov r10, rax
mov dword [rsp + 0x50], eax
movzx eax, al
imul rax, rax, 0x68
mov qword [rsp + 0xd0], rcx
imul r10, r10, 0x68
mov dword [rsp + 0x58], ebx
mov dword [rsp + 0x7c], r11d
mov r11, qword [r13 + 0x20]
lea rdx, [r12 + rax + 8]
mov rax, qword [rbp + 0x10]
add r10, r12
mov qword [rsp + 0x48], rax
mov rax, qword [r10 + 0x28]
mov qword [rsp + 0x60], rax
cmp edi, r15d
jge 0x14049c5f5
mov ax, word [r11 + 0x12]
mov ecx, dword [r10 + 0x4c]
mov ebx, eax
and ebx, 0xffffffbf
mov word [r11 + 0x12], bx
cmp dword [r11 + 0x1c], ecx
jne 0x14049c5ed
mov rcx, r14
and rcx, qword [r11 + 0x28]
jne 0x14049c5ed
movzx ecx, word [r11 + 0x14]
and ecx, 0xf7ff
je 0x14049c5ed
test al, 0x80
jne 0x14049c5ed
test byte [r10 + 0x44], 0x58
je 0x14049c5e1
mov rcx, qword [r11]
call fcn.1403cc770
test eax, eax
je 0x14049c5ed
or ebx, 0x40
inc dword [rsp + 0x58]
mov word [r11 + 0x12], bx
inc edi
add r11, 0x38
jmp 0x14049c596
cmp qword [rsp + 0x48], 0
jne 0x14049c606
xor ebp, ebp
xor edi, edi
jmp 0x14049c6ec
mov rax, qword [rsp + 0x48]
movsxd rbx, dword [rsp + 0x50]
xor edi, edi
mov eax, dword [rax]
imul rbx, rbx, 0x68
mov dword [rsp + 0x6c], eax
mov rax, qword [rsp + 0x48]
add rbx, r12
lea r14, [rax + 8]
cmp dword [rsp + 0x6c], edi
jle 0x14049c64e
mov r15, qword [r14]
mov rcx, r15
call fcn.1404516d0
test eax, eax
je 0x14049c645
inc edi
add r14, 0x20
jmp 0x14049c628
test byte [r14 + 0x10], 2
je 0x14049c652
jmp 0x14049c5fd
je 0x14049c6cc
jmp 0x14049c5fd
mov al, byte [r15]
cmp al, 0xa7
jne 0x14049c66d
movsxd rax, dword [rsp + 0x50]
imul rax, rax, 0x68
mov eax, dword [r12 + rax + 0x4c]
cmp dword [r15 + 0x2c], eax
jmp 0x14049c6c1
cmp al, 0x71
jne 0x14049c5fd
mov rax, qword [r15 + 0x10]
cmp byte [rax], 0xa7
jne 0x14049c5fd
mov edx, dword [rbx + 0x4c]
cmp dword [rax + 0x2c], edx
jne 0x14049c5fd
movsx rcx, word [rax + 0x30]
mov word [r15 + 0x30], cx
test cx, cx
js 0x14049c63d
mov rax, qword [rsp + 0x60]
imul rcx, rcx, 0x18
add rcx, qword [rax + 8]
call fcn.140449210
mov rdx, rax
test rax, rax
jne 0x14049c6b6
lea rdx, str.BINARY
mov rcx, qword [r15 + 8]
call fcn.14048dd90
test eax, eax
jne 0x14049c5fd
jmp 0x14049c63d
mov ebp, dword [rbp + 0x3c]
test bpl, 0x80
je 0x14049c6e5
and bp, 0x200
cmp bp, 1
sbb ebp, ebp
add ebp, 3
jmp 0x14049c6ec
shr bp, 6
and ebp, 1
movsxd r12, dword [rsp + 0x58]
movsxd r14, edi
shl r14, 3
imul rax, r12, 0x1c
lea rdx, [r14 + rax + 0x88]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call fcn.14044b710
mov rbx, rax
test rax, rax
jne 0x14049c72f
mov rcx, qword [rsp + 0x40]
lea rdx, [0x140617248]
call fcn.14044de50
jmp 0x14049c8fc
mov qword [rax + 0x60], r13
xor r10d, r10d
mov edx, dword [r13 + 0x14]
xor r9d, r9d
lea r15, [rax + r12*8 + 0x80]
imul r12, r12, 0xc
mov qword [rax + 8], r15
add r12, r15
add r14, r12
mov qword [rax + 0x18], r12
mov qword [rax + 0x20], r14
mov rax, qword [rsp + 0x40]
xor r14d, r14d
mov dword [rbx + 0x74], r10d
mov r10, qword [r13 + 0x20]
mov qword [rbx + 0x68], rax
mov dword [rbx + 0x70], ebp
xor ebp, ebp
cmp r14d, edx
jge 0x14049c85f
mov cx, word [r10 + 0x12]
test cl, 0x40
je 0x14049c853
movsxd r8, r9d
mov eax, dword [r10 + 0x20]
imul r8, r8, 0xc
add r8, r15
mov dword [r8], eax
mov eax, dword [r10 + 0x14]
mov dword [r8 + 8], r14d
mov r11d, eax
and r11w, 0x3fff
cmp r11w, 1
jne 0x14049c7d8
test cx, cx
js 0x14049c7e5
mov r11d, dword [rbx + 0x74]
xor eax, eax
cmp r9d, 0x1f
jg 0x14049c7cf
mov eax, 1
mov ecx, r9d
shl eax, cl
or r11d, eax
mov dword [rbx + 0x74], r11d
jmp 0x14049c7e5
cmp r11w, 0x40
jne 0x14049c7ec
mov al, byte [r10 + 0x17]
jmp 0x14049c7fe
mov byte [r8 + 4], 2
jmp 0x14049c850
test ax, 0x180
je 0x14049c804
cmp r11w, 0x100
setne al
add eax, 0x47
mov byte [r8 + 4], al
jmp 0x14049c850
mov byte [r8 + 4], r11b
test al, 0x3c
je 0x14049c850
mov rax, qword [r10]
mov dword [rsp + 0x50], edx
mov rcx, qword [rax + 0x18]
call fcn.140451780
mov edx, dword [rsp + 0x50]
test eax, eax
je 0x14049c850
cmp r9d, 0xf
jg 0x14049c836
mov eax, 1
mov ecx, r9d
shl eax, cl
or ebp, eax
cmp r11w, 0x10
jne 0x14049c844
mov byte [r8 + 4], 8
jmp 0x14049c850
cmp r11w, 4
jne 0x14049c850
mov byte [r8 + 4], 0x20
inc r9d
inc r14d
add r10, 0x38
jmp 0x14049c774
mov r14, qword [rsp + 0x48]
movsxd rdi, edi
mov dword [rbx], r9d
xor r15d, r15d
shl rdi, 5
lea rax, [r14 + rdi]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
cmp r14, rax
je 0x14049c8b4
mov rdi, qword [r14 + 8]
mov rcx, rdi
call fcn.1404516d0
test eax, eax
jne 0x14049c8ae
movsxd rax, r15d
inc r15d
lea rdx, [r12 + rax*8]
movsx eax, word [rdi + 0x30]
mov dword [rdx], eax
mov al, byte [r14 + 0x18]
and eax, 1
mov byte [rdx + 4], al
add r14, 0x20
jmp 0x14049c87a
mov dword [rbx + 0x10], r15d
mov rdx, rsi
and byte [rsi + 0x1c], 0xfe
mov eax, dword [rbx]
mov word [rsi + 0x12], 0
mov dword [rsp + 0x48], eax
mov r8d, eax
mov rax, qword [rsp + 0x40]
mov dword [rsi + 0x38], 0x400
mov word [rsi + 0x3c], 0
mov rcx, qword [rax]
call fcn.14049d610
test eax, eax
je 0x14049c906
mov rax, qword [rsp + 0x40]
mov rdx, rbx
mov rcx, qword [rax]
call fcn.1403dd750
mov eax, 7
jmp 0x14049cb84
lea rax, [rsp + 0x7c]
movzx ebp, bp
lea rdi, [rsp + 0x78]
xor r9d, r9d
mov dword [rsp + 0x28], ebp
mov rdx, qword [rsp + 0xd8]
or r8, 0xffffffffffffffff
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0xd0]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x20], rbx
call fcn.14049cba0
cmp dword [rsp + 0x7c], 0
je 0x14049c97b
xor r9d, r9d
mov qword [rsp + 0x30], rdi
mov rdx, qword [rsp + 0xd8]
or r8, 0xffffffffffffffff
mov qword [rsp + 0x38], r9
mov rcx, qword [rsp + 0xd0]
xor r9d, r9d
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rbx
call fcn.14049cba0
test eax, eax
jne 0x14049cb55
mov r14, qword [rsp + 0xd8]
mov eax, dword [rsp + 0x78]
not r14
mov rdx, r14
and rdx, qword [rsi]
mov qword [rsp + 0x50], rdx
jne 0x14049c9a8
test eax, eax
jne 0x14049c9b2
jmp 0x14049cb55
xor r12d, r12d
xor r10d, r10d
test eax, eax
je 0x14049c9f4
xor r8d, r8d
mov dword [rsp + 0x28], ebp
mov r9d, 1
xor r12d, r12d
mov qword [rsp + 0x38], r8
mov rdx, qword [rsp + 0xd8]
or r8, 0xffffffffffffffff
mov qword [rsp + 0x30], rdi
mov rcx, qword [rsp + 0xd0]
mov qword [rsp + 0x20], rbx
call fcn.14049cba0
mov r10, r14
and r10, qword [rsi]
sete r12b
mov r15d, r12d
xor r8d, r8d
lea r11, [rsp + 0x78]
test eax, eax
jne 0x14049cad7
xor ecx, ecx
or rdi, 0xffffffffffffffff
cmp dword [rsp + 0x48], ecx
jle 0x14049ca46
imul rdx, rcx, 0xc
add rdx, qword [rbx + 8]
movsxd rdx, dword [rdx + 8]
imul rdx, rdx, 0x38
add rdx, qword [r13 + 0x20]
mov r9, qword [rdx + 0x28]
and r9, r14
mov rdx, r9
cmp r8, r9
jae 0x14049ca3b
cmp r9, rdi
jb 0x14049ca3e
mov rdx, rdi
inc rcx
mov rdi, rdx
jmp 0x14049ca0d
cmp rdi, 0xffffffffffffffff
je 0x14049cad7
mov rdx, qword [rsp + 0x50]
cmp rdi, rdx
je 0x14049cacf
cmp rdi, r10
je 0x14049cacf
xor ecx, ecx
mov qword [rsp + 0x30], r11
xor r9d, r9d
mov r8, qword [rsp + 0xd8]
mov qword [rsp + 0x38], rcx
mov rdx, qword [rsp + 0xd8]
mov dword [rsp + 0x28], ebp
mov rcx, qword [rsp + 0xd0]
or r8, rdi
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x60], r10
mov qword [rsp + 0x58], r11
call fcn.14049cba0
mov r11, qword [rsp + 0x58]
mov r10, qword [rsp + 0x60]
mov rdx, qword [rsp + 0xd8]
cmp qword [rsi], rdx
jne 0x14049cac7
mov r12d, 1
cmp dword [rsp + 0x78], 0
cmove r15d, r12d
mov r8, rdi
jmp 0x14049c9ff
mov r8, rdi
jmp 0x14049ca07
or r12d, eax
jne 0x14049cb18
xor edx, edx
lea rax, [rsp + 0x78]
mov dword [rsp + 0x28], ebp
xor r9d, r9d
mov qword [rsp + 0x38], rdx
mov r8, qword [rsp + 0xd8]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0xd0]
mov qword [rsp + 0x20], rbx
mov rdx, r8
call fcn.14049cba0
cmp dword [rsp + 0x78], 0
je 0x14049cb55
or r15d, eax
jne 0x14049cb55
xor eax, eax
mov dword [rsp + 0x28], ebp
mov r8, qword [rsp + 0xd8]
mov r9d, 1
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x78]
mov rcx, qword [rsp + 0xd0]
mov qword [rsp + 0x30], rax
mov rdx, r8
mov qword [rsp + 0x20], rbx
call fcn.14049cba0
cmp dword [rbx + 0x38], 0
je 0x14049cb6c
mov rcx, qword [rbx + 0x30]
mov dword [rsp + 0x48], eax
call fcn.140489690
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x40]
mov rdx, rbx
mov rcx, qword [rax]
call fcn.1403dd750
mov eax, dword [rsp + 0x48]
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret