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

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x58]
sub rsp, 0x118
mov rax, qword [rcx]
lea r15, [r8 + 0x68]
mov rsi, qword [rbp + 0x80]
mov r14, rcx
mov rcx, qword [r8 + 8]
mov r12, rdx
mov qword [rbp - 0x48], rax
xor edi, edi
mov qword [rsp + 0x58], rcx
movzx eax, byte [rsi + 0x2c]
mov r11, qword [rsi + 0x48]
imul rax, rax, 0x70
movsxd rbx, r9d
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x70], r11
mov r13d, dword [rax + rcx + 0x4c]
lea rcx, [r8 + 0x290]
mov edx, r13d
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x34], r13d
call fcn.18004cd40
mov r8, qword [rbp + 0x70]
not rax
and rax, qword [rbp + 0x88]
mov ecx, ebx
mov qword [rsi + 0x50], rax
mov r15d, dword [r14 + 0x44]
mov r10, qword [r8 + 0x58]
dec r15d
mov dword [r14 + 0x44], r15d
shr r10, cl
and r10d, 1
mov dword [rsi + 0x10], r15d
mov dword [rsi + 0xc], r15d
mov eax, dword [r14 + 0x44]
dec eax
mov qword [rsp + 0x60], r10
mov dword [r14 + 0x44], eax
mov dword [rsp + 0x48], r15d
mov dword [rsp + 0x70], eax
mov dword [rsi + 0x18], eax
cmp byte [rsi + 0x2c], dil
jbe 0x18004b17f
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
test byte [rax + rcx + 0x44], 8
je 0x18004b17f
mov r9d, dword [r14 + 0x38]
lea edx, [rdi + 0x46]
inc r9d
mov dword [rsp + 0x20], edi
mov dword [r14 + 0x38], r9d
xor r8d, r8d
mov rcx, r12
mov dword [rsi], r9d
call fcn.18002495c
mov r11, qword [rbp - 0x70]
mov r10, qword [rsp + 0x60]
mov r8, qword [rbp + 0x70]
mov rcx, rbx
test ebx, ebx
jle 0x18004b1a6
imul rdx, rcx, 0x58
add rdx, 0x398
add rdx, r8
cmp dword [rdx], edi
jne 0x18004b1a6
dec ebx
dec rcx
sub rdx, 0x58
test rcx, rcx
jg 0x18004b194
movsxd rax, ebx
mov ebx, 0x200
imul rcx, rax, 0x58
mov rax, qword [rsp + 0x50]
mov r9d, dword [rcx + r8 + 0x3a4]
mov rcx, qword [rsp + 0x58]
test byte [rax + rcx + 0x48], 0x10
je 0x18004b210
mov ebx, dword [rax + rcx + 0x3c]
xor r9d, r9d
mov eax, dword [rax + rcx + 0x38]
mov r8d, ebx
mov rcx, r12
mov dword [rsp + 0x20], eax
lea edx, [r9 + 0xd]
call fcn.18002495c
mov r9d, r15d
mov dword [rsp + 0x20], edi
mov r8d, ebx
mov edx, reloc.Cabinet.dll_FCIDestroy
mov rcx, r12
call fcn.18002495c
mov dword [rsi + 0x34], eax
mov eax, reloc.Cabinet.dll_FCIAddFile
mov byte [rsi + 0x2d], al
jmp 0x18004bd2c
mov edx, dword [r11 + 0x28]
test dl, 5
setne cl
bt edx, 8
setb al
test al, cl
je 0x18004b29d
mov rax, qword [r11 + 0x38]
mov r8, rsi
mov rcx, r14
mov rbx, qword [rax]
inc dword [r14 + 0x38]
mov rdx, rbx
mov r15d, dword [r14 + 0x38]
mov dword [rsp + 0x28], r15d
call fcn.18004aab0
cmp eax, r15d
je 0x18004b269
test r15d, r15d
je 0x18004b269
cmp byte [r14 + 0x1f], 8
jae 0x18004b269
movzx ecx, byte [r14 + 0x1f]
mov dword [r14 + rcx*4 + 0xb4], r15d
inc byte [r14 + 0x1f]
mov r9d, dword [rsi + 0x10]
mov r8d, r13d
mov edx, 0x1e
mov dword [rsp + 0x20], eax
mov rcx, r12
call fcn.18002495c
mov byte [rsi + 0x2d], 0xaa
mov rax, qword [rbx + 0x38]
test qword [rsi + 0x50], rax
jne 0x18004bd2c
or word [rbx + 0x12], 4
jmp 0x18004bd2c
mov ecx, 0x102
mov eax, edx
and eax, ecx
cmp eax, ecx
jne 0x18004b4f0
lea r12d, [rcx - 0x58]
mov rcx, rdi
mov r13d, edi
mov rbx, rdi
test dl, 0x20
je 0x18004b2cf
mov rax, qword [r11 + 0x38]
mov r8d, 8
mov rcx, qword [rax]
jmp 0x18004b2d2
mov r8, rdi
test dl, 0x10
je 0x18004b2df
mov rax, qword [r11 + 0x38]
mov rbx, qword [r8 + rax]
test r10d, r10d
mov r15, rcx
cmove r15, rbx
cmove rbx, rcx
test rbx, rbx
je 0x18004b3c1
mov r13, qword [rbx]
mov dword [rbp + 0x78], 0x18161719
mov rdx, qword [r13 + 0x18]
mov rcx, rdx
call fcn.180031488
cmp eax, 1
jle 0x18004b35e
mov al, byte [r14 + 0x1f]
test al, al
jne 0x18004b323
inc dword [r14 + 0x38]
mov ebx, dword [r14 + 0x38]
jmp 0x18004b334
dec al
movzx eax, al
mov byte [r14 + 0x1f], al
mov ebx, dword [r14 + rax*4 + 0xb4]
mov rdx, qword [r13 + 0x18]
mov r9d, 1
mov r8d, ebx
mov rcx, r14
call fcn.18004aec0
movzx eax, byte [r13]
mov r11d, ebx
and eax, 2
or rax, 1
mov cl, byte [rbp + rax + 0x78]
jmp 0x18004b385
lea r8, [rbp + 0x60]
mov rcx, r14
call fcn.1800343bc
mov rdx, rbx
mov rcx, rsi
mov r11d, eax
call fcn.18004a914
movzx r10d, byte [r13]
mov ebx, dword [rbp + 0x60]
mov cl, byte [rbp + r10 + 0x45]
mov r9d, dword [rsp + 0x48]
mov r8d, dword [rsp + 0x34]
movzx edx, cl
mov rcx, qword [rbp + 0x68]
mov dword [rsp + 0x20], r11d
call fcn.18002495c
mov r13d, edi
test ebx, ebx
je 0x18004b3e0
cmp byte [r14 + 0x1f], 8
jae 0x18004b3e0
movzx eax, byte [r14 + 0x1f]
mov dword [r14 + rax*4 + 0xb4], ebx
inc byte [r14 + 0x1f]
jmp 0x18004b3e0
mov r8d, dword [rsp + 0x34]
mov edx, r10d
mov rcx, qword [rbp + 0x68]
xor edx, 1
mov dword [rsp + 0x20], edi
lea edx, [rdx*4 + 0x20]
call fcn.18002495c
test r15, r15
je 0x18004b453
mov rbx, qword [r15]
mov r9d, 1
inc dword [r14 + 0x38]
mov rcx, r14
mov r13d, dword [r14 + 0x38]
mov r8d, r13d
mov rdx, qword [rbx + 0x18]
call fcn.18004aec0
mov rcx, qword [rbx + 0x18]
call fcn.180031488
cmp eax, 1
jg 0x18004b42d
mov al, byte [rbx]
sub al, 0x33
test al, 0xfd
jne 0x18004b42d
mov rax, qword [rsp + 0x60]
xor eax, 1
lea r12d, [rax*2 + 0x34]
jmp 0x18004b43a
mov r8, qword [rsp + 0x60]
lea r12d, [r8*2 + 0x33]
mov rcx, qword [rbx + 0x18]
call fcn.180031488
cmp eax, 1
jg 0x18004b453
mov rdx, r15
mov rcx, rsi
call fcn.18004a914
neg dword [rsp + 0x60]
mov r10, qword [rbp + 0x68]
mov r15d, dword [rsp + 0x34]
sbb al, al
add al, 5
mov ecx, dword [r10 + 0x90]
mov byte [rsi + 0x2d], al
mov dword [rsi + 0x30], r15d
mov dword [rsi + 0x34], ecx
cmp r12d, 0xaa
je 0x18004bd2c
inc dword [r14 + 0x38]
mov r8d, r15d
mov ebx, dword [r14 + 0x38]
mov edx, 0x80
mov r9d, ebx
mov dword [rsp + 0x20], edi
mov rcx, r10
call fcn.18002495c
mov r9d, dword [rsp + 0x48]
mov edx, r12d
mov r12, qword [rbp + 0x68]
mov r8d, r13d
mov rcx, r12
mov dword [rsp + 0x20], ebx
call fcn.18002495c
movsxd rax, dword [r12 + 0x90]
mov r8, qword [rbp + 0x70]
mov r11, qword [rsp + 0x58]
test eax, eax
jle 0x18004bd35
lea rcx, [rax + rax*2]
mov edx, 0x53
mov rax, qword [r12 + 0x88]
mov word [rax + rcx*8 - 0x16], dx
jmp 0x18004bd35
test ebx, edx
je 0x18004bcd2
test byte [r8 + 0x40], 1
mov rbx, rdi
movzx eax, word [r11 + 0x1c]
mov r13, rdi
movzx r15d, word [r11 + 0x18]
mov r9d, edi
movzx r10d, word [r11 + 0x1a]
mov ecx, dword [rsi + 8]
mov word [rsp + 0x3a], ax
mov rax, qword [r11 + 0x20]
mov qword [rbp - 0x80], rax
mov word [rbp - 0x78], r15w
mov word [rsp + 0x40], r10w
mov qword [rbp - 0x60], rdi
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x68], rdi
mov byte [rbp + 0x78], dil
mov byte [rsp + 0x38], dil
mov dword [rsp + 0x30], ecx
je 0x18004b563
cmp byte [r8 + 0x43], dil
jle 0x18004b563
cmp word [rax + 0x5e], r15w
jbe 0x18004b563
mov byte [rbp + 0x78], 1
mov r9d, 1
movzx eax, r15w
mov dword [rsp + 0x3c], eax
mov r8d, eax
test dl, 0x20
je 0x18004b58d
mov rax, qword [r11 + 0x38]
mov r13, qword [rax + r8*8]
inc r8d
movzx eax, r10w
cmp r9d, eax
mov qword [rbp - 0x60], r13
cmovbe r9d, eax
test dl, 0x10
je 0x18004b65d
movzx ebx, word [rsp + 0x3a]
mov rax, qword [r11 + 0x38]
cmp r9d, ebx
mov ecx, r8d
cmova ebx, r9d
mov rax, qword [rax + rcx*8]
mov ecx, 0x100
mov qword [rsp + 0x78], rax
test word [rax + 0x12], cx
je 0x18004b617
mov r9d, dword [r14 + 0x38]
mov edx, Ordinal_73
inc r9d
mov dword [rsp + 0x20], edi
mov dword [r14 + 0x38], r9d
mov rcx, r12
mov dword [rsi + 0x24], r9d
lea r8d, [rdx - 0x45]
call fcn.18002495c
mov eax, dword [r12 + 0x90]
mov ecx, edi
shl dword [rsi + 0x24], 1
mov r11, qword [rbp - 0x80]
mov r8, qword [rsp + 0x60]
movzx r10d, word [rsp + 0x40]
mov dword [rsi + 0x28], eax
mov rax, qword [r11 + 0x38]
movzx edx, r15w
cmp byte [rdx + rax], 1
sete cl
xor ecx, r8d
or dword [rsi + 0x24], ecx
jmp 0x18004b61f
mov r11, qword [rbp - 0x80]
movzx edx, r15w
mov r9d, ebx
test r13, r13
jne 0x18004b663
mov rax, qword [r11 + 8]
movsx r8, word [rax + rdx*2]
test r8d, r8d
js 0x18004b64b
mov rax, qword [r11 + 0x18]
mov rdx, r8
shl rdx, 5
mov rcx, qword [rax + 8]
cmp byte [rdx + rcx + 0x18], dil
je 0x18004b651
cmp r8d, 0xfffffffe
jne 0x18004b663
mov r8b, 1
mov r9d, ebx
mov byte [rbp + 0x78], r8b
jmp 0x18004b667
mov r8b, byte [rbp + 0x78]
jmp 0x18004b66c
mov r8b, byte [rbp + 0x78]
mov rbx, qword [rsp + 0x78]
mov rax, qword [rbp - 0x80]
cmp r15w, word [rax + 0x5e]
jae 0x18004b6d1
mov rax, qword [rax + 0x38]
mov edx, edi
movzx ecx, r15w
cmp byte [rcx + rax], dil
mov rcx, qword [rsp + 0x60]
sete dl
cmp ecx, edx
je 0x18004b6a0
mov rax, qword [rbp - 0x80]
test ecx, ecx
je 0x18004b6d8
cmp word [rax + 0x5e], r15w
jne 0x18004b6d8
movzx edx, word [rsp + 0x3a]
mov rax, rbx
mov al, r10b
mov qword [rsp + 0x78], r13
mov r13, rbx
mov qword [rbp - 0x60], rbx
movzx eax, al
mov bl, dil
mov word [rsp + 0x3a], ax
mov byte [rsp + 0x38], r8b
mov byte [rbp + 0x78], bl
mov word [rsp + 0x40], dx
jmp 0x18004b6db
mov rcx, qword [rsp + 0x60]
jmp 0x18004b695
mov bl, byte [rbp + 0x78]
lea rax, [rbp - 0x58]
mov r8d, ecx
mov rcx, r14
mov qword [rsp + 0x20], rax
mov rdx, rsi
call fcn.18004ab2c
mov edx, eax
mov dword [rsp + 0x44], eax
mov rax, qword [rbp - 0x58]
test rax, rax
je 0x18004b720
cmp word [rsp + 0x3a], di
je 0x18004b720
mov rcx, qword [rbp - 0x48]
movzx edx, r15w
add rdx, rax
call fcn.1800122e8
mov edx, dword [rsp + 0x44]
mov qword [rbp - 0x68], rax
mov eax, dword [rsi + 0x10]
mov dword [rsp + 0x6c], eax
test r13, r13
je 0x18004b737
test byte [r13 + 0x14], 0x28
mov dword [rsp + 0x68], edi
je 0x18004b73f
mov dword [rsp + 0x68], 1
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x18004b751
test byte [rax + 0x14], 0x28
mov eax, edi
je 0x18004b756
mov eax, 1
mov dword [rsp + 0x48], eax
test r13, r13
jne 0x18004b7a7
test r15w, r15w
jne 0x18004b7a7
mov ecx, dword [rsp + 0x3c]
mov dword [rbp - 0x74], edi
mov r15d, ecx
test bl, bl
je 0x18004b883
lea r9d, [rdx + rcx]
mov dword [rsp + 0x20], edi
xor r8d, r8d
mov rcx, r12
lea edx, [r8 + 0x49]
call fcn.18002495c
mov r15d, dword [rsp + 0x3c]
mov ebx, 1
mov al, byte [rbp + 0x78]
inc r15d
mov dword [rsp + 0x68], edi
jmp 0x18004b889
movzx ecx, r15w
mov dword [rbp - 0x74], 1
mov r15d, ecx
test r13, r13
je 0x18004b76c
mov rax, qword [r13]
lea r12d, [rdx + rcx]
movzx r13d, word [rsp + 0x40]
mov r8d, r12d
mov r9d, r13d
mov rcx, r14
mov rbx, qword [rax + 0x18]
mov rdx, rbx
call fcn.18004aec0
mov rax, qword [rbp - 0x60]
mov ecx, 0x100
test word [rax + 0x12], cx
je 0x18004b80d
mov rcx, qword [rbp + 0x68]
or edx, 0xffffffff
call fcn.180024f6c
mov ecx, dword [rsi + 0x24]
shr ecx, 1
mov dword [rax + 0xc], ecx
mov cl, byte [rsi + 0x24]
and cl, 1
movzx ecx, cl
mov word [rax + 2], cx
mov rcx, rbx
call fcn.1800331e8
test eax, eax
je 0x18004b838
mov r9d, dword [rsp + 0x6c]
mov r8d, r12d
mov r12, qword [rbp + 0x68]
mov edx, 0x2f
mov rcx, r12
mov dword [rsp + 0x20], edi
call fcn.18002495c
jmp 0x18004b83c
mov r12, qword [rbp + 0x68]
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x18004b858
movzx r8d, word [rbp - 0x78]
mov edx, r13d
add r8, rcx
mov rcx, rbx
call fcn.18004aa08
mov rcx, rbx
add r15d, r13d
call fcn.180031488
cmp eax, 1
jg 0x18004b876
mov rdx, qword [rbp - 0x60]
mov rcx, rsi
call fcn.18004a914
jmp 0x18004b87e
mov dword [rsp + 0x68], 1
mov al, dil
jmp 0x18004b886
mov al, byte [rbp + 0x78]
mov ebx, dword [rbp - 0x74]
mov r9, qword [rbp - 0x58]
mov r8d, r15d
mov edx, dword [rsp + 0x44]
mov rcx, r14
movzx eax, al
sub r8d, eax
call fcn.18004a984
mov rcx, qword [rbp - 0x70]
lea r13, [0x180000000]
cmp word [rcx + 0x2e], di
jbe 0x18004b8bc
movzx eax, word [rcx + 0x2e]
cmp r15d, eax
je 0x18004b917
test dword [rcx + 0x28], 0x40000
je 0x18004b8dd
mov r8d, dword [rsp + 0x30]
xor r9d, r9d
mov rcx, r12
mov dword [rsp + 0x20], edi
lea edx, [r9 + 0x77]
call fcn.18002495c
mov r8, qword [rsp + 0x60]
mov eax, dword [rsp + 0x68]
mov r9d, dword [rsp + 0x6c]
mov dword [rsp + 0x28], r15d
lea eax, [rax + rbx*2]
mov ebx, dword [rsp + 0x44]
lea ecx, [r8 + rax*2]
mov dword [rsp + 0x20], ebx
movzx edx, byte [rcx + r13 + 0xb85b8]
mov rcx, r12
mov r8d, dword [rsp + 0x30]
call fcn.180024acc
jmp 0x18004b91b
mov ebx, dword [rsp + 0x44]
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x18004babe
mov rax, qword [rax]
mov rcx, r14
mov r12d, dword [rsp + 0x44]
movzx r15d, word [rsp + 0x3a]
add r12d, dword [rsp + 0x3c]
mov r9d, r15d
mov rbx, qword [rax + 0x18]
mov r8d, r12d
mov rdx, rbx
call fcn.18004aec0
mov rax, qword [rsp + 0x78]
mov ecx, 0x100
mov r10, qword [rbp + 0x68]
test word [rax + 0x12], cx
je 0x18004b985
or edx, 0xffffffff
mov rcx, r10
call fcn.180024f6c
mov ecx, dword [rsi + 0x24]
shr ecx, 1
mov dword [rax + 0xc], ecx
mov cl, byte [rsi + 0x24]
and cl, 1
movzx ecx, cl
mov word [rax + 2], cx
mov rcx, rbx
call fcn.1800331e8
test eax, eax
je 0x18004b9aa
mov r9d, dword [rsp + 0x6c]
mov r8d, r12d
mov edx, 0x2f
mov dword [rsp + 0x20], edi
mov rcx, r10
call fcn.18002495c
mov rax, qword [rbp - 0x68]
test rax, rax
je 0x18004b9d3
mov r8, rax
mov edx, r15d
mov rcx, rbx
call fcn.18004aa08
mov r9, qword [rbp - 0x68]
mov r8d, r15d
mov edx, r12d
mov rcx, r14
call fcn.18004a984
add dword [rsp + 0x3c], r15d
mov rcx, rbx
call fcn.180031488
cmp eax, 1
jg 0x18004bab0
mov rdx, qword [rsp + 0x78]
mov rcx, rsi
call fcn.18004a914
mov r12, qword [rbp + 0x68]
mov ebx, dword [rsp + 0x48]
mov rdx, qword [rbp - 0x58]
mov rcx, qword [rbp - 0x48]
call fcn.180011fe8
mov rdx, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x48]
call fcn.180011fe8
mov r8d, dword [rsp + 0x3c]
mov eax, dword [r12 + 0x90]
mov r15d, dword [rsp + 0x30]
mov dword [rsi + 0x34], eax
test r8d, r8d
je 0x18004ba60
mov rax, qword [rsp + 0x60]
mov rcx, r12
mov r9d, dword [rsp + 0x6c]
mov dword [rsp + 0x28], r8d
mov r8d, r15d
lea eax, [rbx + rax*2]
movzx edx, byte [rax + r13 + 0xba4d8]
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x20], eax
call fcn.180024acc
mov rbx, qword [rbp - 0x70]
mov eax, dword [rbx + 0x28]
bt eax, 0x12
jae 0x18004ba89
mov r9d, 1
mov dword [rsp + 0x20], edi
mov r8d, r15d
mov rcx, r12
lea edx, [r9 + 0x76]
call fcn.18002495c
mov eax, dword [rbx + 0x28]
mov r10, qword [rbp + 0x70]
test al, 0x40
je 0x18004baef
test byte [r10 + 0x40], 0x20
jne 0x18004baef
mov r13, qword [rbp - 0x80]
mov r15d, 1
mov r10d, dword [rsp + 0x30]
mov eax, dword [rsp + 0x34]
jmp 0x18004bc66
mov r12, qword [rbp + 0x68]
mov ebx, 1
jmp 0x18004b9fe
cmp byte [rsp + 0x38], dil
je 0x18004b9fa
mov r9d, dword [rsp + 0x3c]
xor r8d, r8d
add r9d, ebx
mov dword [rsp + 0x20], edi
mov rcx, r12
lea edx, [r8 + 0x49]
call fcn.18002495c
inc dword [rsp + 0x3c]
mov ebx, edi
jmp 0x18004b9fe
mov r13, qword [rbp - 0x80]
mov r15d, edi
mov rbx, qword [r13 + 0x18]
test byte [rbx + 0x40], 0x20
jne 0x18004bb77
mov eax, 0x400
test word [r10 + 0x40], ax
jne 0x18004bb39
mov eax, 0x1000
test word [r10 + 0x40], ax
je 0x18004bb1f
cmp byte [r10 + 0x45], 1
je 0x18004bb39
mov r9d, dword [rsp + 0x30]
mov rdx, r13
mov r8d, dword [rsp + 0x34]
mov rcx, r10
call fcn.18004ade4
jmp 0x18004bc59
inc dword [r14 + 0x38]
mov edx, Ordinal_139
mov ebx, dword [r14 + 0x38]
mov rcx, r12
mov r8d, dword [rsp + 0x30]
mov r9d, ebx
mov dword [rsp + 0x20], edi
call fcn.18002495c
mov r8d, dword [rsp + 0x34]
xor r9d, r9d
mov rcx, r12
mov dword [rsp + 0x20], ebx
lea edx, [r9 + 0x1f]
call fcn.18002495c
jmp 0x18004bc59
mov r10d, dword [rsp + 0x30]
mov eax, dword [rsp + 0x34]
cmp eax, r10d
je 0x18004bc62
mov rbx, qword [rbx + 0x10]
jmp 0x18004bb9c
mov eax, dword [rbx + 0x64]
and al, 3
cmp al, 2
je 0x18004bba1
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x18004bb8f
movzx edx, word [rbx + 0x5e]
mov rcx, r14
call fcn.1800357fc
movzx ecx, word [rbx + 0x5e]
mov r13d, eax
cmp di, cx
jae 0x18004bc2f
mov rsi, qword [rbp + 0x68]
mov r12, rdi
mov r14, qword [rbp - 0x80]
movzx edx, word [r14 + 0x60]
mov ecx, edi
test edx, edx
je 0x18004bbec
mov rax, qword [rbx + 8]
mov r8, qword [r14 + 8]
movzx r9d, word [r12 + rax]
movsxd rax, ecx
cmp r9w, word [r8 + rax*2]
je 0x18004bbef
inc ecx
cmp ecx, edx
jl 0x18004bbdc
or ecx, 0xffffffff
lea eax, [r15 + r13]
movsx r9d, cx
mov rcx, rsi
mov dword [rsp + 0x20], eax
mov r8d, r10d
mov edx, 0x5a
call fcn.18002495c
movzx ecx, word [rbx + 0x5e]
inc r15d
mov r10d, dword [rsp + 0x30]
add r12, 2
cmp r15d, ecx
jl 0x18004bbc4
mov rsi, qword [rbp + 0x80]
mov r14, qword [rbp + 0x60]
mov r12, qword [rbp + 0x68]
mov r9d, dword [rsp + 0x70]
mov edx, 0x1c
mov r8d, dword [rsp + 0x34]
movzx eax, cx
mov rcx, r12
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r13d
call fcn.180024acc
mov r13, qword [rbp - 0x80]
mov r15d, edi
mov eax, dword [rsp + 0x34]
mov r10d, dword [rsp + 0x30]
mov rbx, qword [rbp - 0x70]
mov r8, qword [rbp + 0x70]
cmp dword [rsi], edi
jne 0x18004bc89
test byte [r8 + 0x40], 0x20
jne 0x18004bc89
mov r9, r8
mov edx, eax
mov r8d, r10d
mov rcx, r13
call fcn.18004af88
mov r8, qword [rbp + 0x70]
mov eax, 0x1000
test dword [rbx + 0x28], eax
je 0x18004bc99
mov byte [rsi + 0x2d], 0xaa
jmp 0x18004bca4
neg dword [rsp + 0x60]
sbb al, al
add al, 5
mov byte [rsi + 0x2d], al
mov eax, dword [rsp + 0x30]
mov dword [rsi + 0x30], eax
mov al, byte [rbx + 0x2a]
and al, 1
mov byte [rsi + 0x2e], al
test byte [rbx + 0x28], 0xf
jne 0x18004bcbd
mov byte [rsi + 0x2f], 1
mov r11, qword [rsp + 0x58]
test r15d, r15d
mov rax, rdi
cmove rax, r13
mov qword [rbp - 0x68], rax
jmp 0x18004bd38
mov rdx, qword [rsp + 0x50]
mov r11, qword [rsp + 0x58]
test byte [rdx + r11 + 0x48], 0x20
je 0x18004bced
mov byte [rsi + 0x2d], 0xaa
mov rax, rdi
jmp 0x18004bd3d
mov r15d, dword [rsp + 0x34]
lea r13, [0x180000000]
mov ecx, r10d
mov r8d, r15d
mov dword [rsi + 0x30], r15d
mov dword [rsp + 0x20], edi
mov al, byte [rcx + r13 + 0xbbf38]
movzx edx, byte [rcx + r13 + 0xbbf24]
mov rcx, r12
mov byte [rsi + 0x2d], al
call fcn.18002495c
inc eax
mov byte [rsi + 0x2f], 1
mov dword [rsi + 0x34], eax
mov r8, qword [rbp + 0x70]
mov r11, qword [rsp + 0x58]
mov rax, rdi
mov rdx, qword [rsp + 0x50]
neg rax
lea r10, [r8 + 0x68]
sbb r13d, r13d
add r13d, 2
mov r15d, dword [r10 + 0x14]
mov r12d, edi
mov rbx, qword [r10 + 0x20]
test r15d, r15d
jle 0x18004be7a
movzx ecx, word [rbx + 0x12]
mov dword [rbp + 0x78], edi
test cl, 6
jne 0x18004be50
mov rax, qword [rbx + 0x38]
test qword [rsi + 0x50], rax
je 0x18004bd83
mov byte [r8 + 0x46], 1
jmp 0x18004be50
test byte [rdx + r11 + 0x44], 8
mov rax, qword [rbx]
mov qword [rbp + 0x80], rax
je 0x18004bd9f
test byte [rax + 4], 1
je 0x18004be50
cmp r13d, 1
jne 0x18004bdc1
mov r8, qword [rbp - 0x68]
mov rcx, rax
mov edx, dword [rsi + 4]
call fcn.180035434
test eax, eax
jne 0x18004bdc7
lea r12d, [r13 + 1]
jmp 0x18004be50
cmp r13d, 3
jge 0x18004bde2
movzx ecx, word [rbx + 0x12]
mov eax, 0x1000
test ax, cx
je 0x18004bde2
test r12d, r12d
jne 0x18004be50
mov r12d, 3
jmp 0x18004be50
mov eax, 0x200
test ax, cx
je 0x18004be12
mov edx, dword [rsi + 0x24]
test edx, edx
je 0x18004be12
mov rcx, qword [rbp + 0x68]
mov r8d, edx
and edx, 1
shr r8d, 1
add edx, 0x13
mov dword [rsp + 0x20], edi
xor r9d, r9d
call fcn.18002495c
mov dword [rbp + 0x78], eax
mov r8d, dword [rsp + 0x70]
mov r9d, 0x10
mov rdx, qword [rbp + 0x80]
mov rcx, r14
call fcn.180034b50
mov eax, dword [rbp + 0x78]
test eax, eax
je 0x18004be4b
mov r9, qword [rbp + 0x68]
mov edx, eax
mov rcx, r9
call fcn.180024f6c
mov ecx, dword [r9 + 0x90]
mov dword [rax + 8], ecx
or word [rbx + 0x12], 4
mov r8, qword [rbp + 0x70]
dec r15d
mov rdx, qword [rsp + 0x50]
add rbx, 0x40
mov r11, qword [rsp + 0x58]
test r15d, r15d
jg 0x18004bd5f
mov r10, qword [rbp - 0x50]
mov rbx, qword [r10 + 0x20]
mov r15d, dword [r10 + 0x14]
mov r8, qword [rbp + 0x70]
mov r13d, r12d
mov rdx, qword [rsp + 0x50]
mov r11, qword [rsp + 0x58]
test r12d, r12d
jg 0x18004bd4b
test r15d, r15d
jle 0x18004bf8f
add rbx, 0x14
mov r12d, reloc.Cabinet.dll_FCIAddFile
test byte [rbx - 2], 6
jne 0x18004bf7b
movzx eax, word [rbx]
test al, 0x82
setne cl
bt ax, r12w
setb al
test al, cl
je 0x18004bf7b
mov eax, dword [rsp + 0x34]
cmp dword [rbx + 8], eax
jne 0x18004bf7b
cmp dword [rsi], edi
jne 0x18004bf7b
mov r9, qword [rbp + 0x88]
mov edx, eax
mov r8d, dword [rbx + 0x14]
mov rcx, r10
mov r13, qword [rbx - 0x14]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], Ordinal_133
call fcn.18004d0dc
mov rdx, rax
test rax, rax
je 0x18004bf7b
test byte [rax + 0x12], 4
jne 0x18004bf7b
test byte [rax + 0x14], 1
je 0x18004bf30
mov rax, qword [rax]
test dword [rax + 4], 0x800
je 0x18004bf30
mov rax, qword [rax + 0x20]
mov rcx, qword [rax]
cmp dword [rcx], 1
jg 0x18004bf7b
mov rax, qword [rdx]
mov r9d, 0x10
mov r8d, dword [rsp + 0x70]
lea rdx, [rbp - 0x40]
mov rcx, r14
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp - 0x30], xmm1
movups xmm0, xmmword [rax + 0x20]
movaps xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movaps xmmword [rbp - 0x10], xmm1
movsd xmm0, qword [rax + 0x40]
movsd qword [rbp], xmm0
mov rax, qword [r13 + 0x10]
mov qword [rbp - 0x30], rax
call fcn.180034b50
mov r10, qword [rbp - 0x50]
dec r15d
add rbx, 0x40
test r15d, r15d
jg 0x18004bea7
cmp dword [rsi], edi
je 0x18004bffa
mov rcx, qword [rbp + 0x68]
mov edx, Ordinal_73
mov r9d, dword [rsi]
mov dword [rsp + 0x20], edi
mov eax, dword [rcx + 0x90]
lea r8d, [rdx - 0x45]
mov dword [rsi + 0x1c], eax
call fcn.18002495c
mov r15, qword [rbp - 0x50]
mov rbx, qword [r15 + 0x20]
cmp dword [r15 + 0x14], edi
jle 0x18004bffa
test byte [rbx + 0x12], 6
jne 0x18004bfee
mov rax, qword [rbx + 0x38]
test qword [rsi + 0x50], rax
jne 0x18004bfee
mov r8d, dword [rsp + 0x70]
mov r9d, 0x10
mov rdx, qword [rbx]
mov rcx, r14
call fcn.180034b50
or word [rbx + 0x12], 4
inc edi
add rbx, 0x40
cmp edi, dword [r15 + 0x14]
jl 0x18004bfc3
mov rax, qword [rsi + 0x50]
add rsp, 0x118
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret