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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov qword [rsp + 0x78], r9
mov rbp, r8
mov rbx, rcx
mov rdi, qword [rcx]
mov rcx, qword [rcx + 0x10]
mov r14, qword [r8 + 0x50]
jmp 0x140412084
cmp qword [r14], rdi
je 0x14041208c
mov r14, qword [r14 + 0x28]
test r14, r14
jne 0x14041207b
xor r14d, r14d
mov eax, dword [rsp + 0x138]
mov dword [rsp + 0xa4], eax
mov r12, qword [rsp + 0x130]
mov r13, qword [rsp + 0x128]
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0xa8], rax
movsx esi, word [rbp + 0x36]
lea r9d, [rsi + 2]
mov eax, dword [rdx + 0x4c]
mov dword [rsp + 0x48], eax
mov r15d, dword [rbx + 0x34]
lea eax, [r15 + 1]
mov dword [rbx + 0x34], eax
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x98], rdx
mov edx, 0x76
mov r8d, r15d
mov dword [rsp + 0x5c], r9d
call fcn.1404006f0
mov rdx, qword [rsp + 0x98]
mov qword [rsp + 0x90], rax
mov ecx, dword [rbx + 0x38]
lea eax, [rcx + 1]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x88], rsi
add esi, ecx
add esi, 2
mov dword [rbx + 0x38], esi
cmp dword [rdx], 2
jge 0x140412232
mov qword [rsp + 0x80], rcx
lea edi, [rsi + 2]
mov dword [rbx + 0x38], edi
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x38], 0
mov word [rsp + 0x30], 4
mov rcx, rbx
mov r8, r12
xor r9d, r9d
call fcn.14028dcb0
test rax, rax
jne 0x14041217b
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0xb0], rsi
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x50], r15
mov rsi, rbp
cmp word [rbp + 0x36], 0
jle 0x140412569
mov rax, qword [rsp + 0x80]
lea r15d, [rax + 3]
add qword [rsp + 0x78], 8
xor ebp, ebp
jmp 0x1404121db
shl rax, 5
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rcx + rax]
lea r8d, [r15 + rbp]
mov rcx, rbx
call fcn.140405690
inc rbp
movsx rax, word [rsi + 0x36]
cmp rbp, rax
jge 0x140412569
movsxd rax, dword [r13 + rbp*4]
test rax, rax
jns 0x1404121b1
lea eax, [r15 + rbp]
mov dword [rsp + 0x20], eax
mov r12d, edi
mov rdi, qword [rsp + 0x60]
mov rcx, rdi
mov edx, 0xb0
mov r8d, dword [rsp + 0x48]
mov r9d, ebp
call fcn.1404006f0
movsxd rax, dword [rdi + 0x90]
mov edi, r12d
test rax, rax
jle 0x1404121ca
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x88]
lea rax, [rax + rax*2]
mov word [rcx + rax*8 - 0x16], 1
jmp 0x1404121ca
mov qword [rsp + 0x48], rdi
mov rdi, r12
test byte [rbp + 0x30], 0x80
mov qword [rsp + 0x50], r15
je 0x140412298
mov r12, qword [rbp + 0x10]
jmp 0x140412250
mov r12, qword [r12 + 0x28]
test r12, r12
je 0x140412264
mov eax, dword [r12 + 0x64]
and eax, 3
cmp eax, 2
jne 0x14041224b
jmp 0x140412267
xor r12d, r12d
mov rax, qword [r12 + 8]
movsx r15, word [rax]
movsxd rax, dword [r13 + r15*4]
mov rsi, rbp
test rax, rax
js 0x140412738
shl rax, 5
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rcx + rax + 8]
test rdx, rdx
jne 0x1404122c0
xor ebp, ebp
jmp 0x1404122d3
mov rsi, rbp
mov rdx, qword [rsp + 0xa8]
xor r12d, r12d
test rdx, rdx
jne 0x1404122c0
mov rcx, rbx
mov edx, 0x4b
xor r8d, r8d
xor r9d, r9d
call fcn.1401b25c0
jmp 0x1404122d0
mov rcx, qword [rsp + 0x48]
xor r8d, r8d
xor r9d, r9d
call fcn.140288970
mov rbp, rax
mov rcx, qword [rbx]
mov rdx, rbp
call fcn.1402963c0
mov rbp, rax
cmp word [rsi + 0x36], 0
jle 0x140412374
add qword [rsp + 0x78], 8
xor r15d, r15d
jmp 0x140412353
mov rcx, rbx
mov edx, 0x4b
xor r8d, r8d
xor r9d, r9d
call fcn.1401b25c0
mov r8, rax
test rax, rax
je 0x140412335
lea eax, [r15 + 1]
mov word [r8 + 0x30], ax
mov byte [r8 + 2], 1
jmp 0x140412335
mov rcx, qword [rsp + 0x48]
xor r8d, r8d
xor r9d, r9d
call fcn.140288970
mov r8, rax
mov rcx, rbx
mov rdx, rbp
call fcn.1401bb450
mov rbp, rax
inc r15
movsx rax, word [rsi + 0x36]
cmp r15, rax
mov rax, rdi
jge 0x140412377
movsxd rax, dword [r13 + r15*4]
test rax, rax
js 0x1404122f7
shl rax, 5
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rcx + rax]
test rdx, rdx
jne 0x140412322
xor r8d, r8d
jmp 0x140412335
mov rax, rdi
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x20], rax
mov rcx, rbx
mov r15, qword [rsp + 0x50]
mov edx, r15d
mov r8, r12
mov r9, rbp
call fcn.140412770
test rbp, rbp
je 0x1404123b1
mov rcx, qword [rsp + 0x48]
mov rdx, rbp
call fcn.14027b390
mov qword [rsp + 0x68], 0
mov r12, qword [rsp + 0x60]
mov r13d, dword [rsp + 0x5c]
mov rbp, qword [rsp + 0x88]
mov rax, qword [rsp + 0x98]
cmp dword [rax], 1
jne 0x1404123e3
mov rcx, qword [rsp + 0x68]
call fcn.140292fb0
mov dword [rsp + 0x20], 0
xor edi, edi
mov rcx, r12
mov edx, 0x24
mov r8d, r15d
xor r9d, r9d
call fcn.1404006f0
mov qword [rsp + 0x90], rax
cmp bp, 0xffff
jl 0x140412434
mov rbp, qword [rsp + 0x70]
lea eax, [rdi + rbp]
mov dword [rsp + 0x20], eax
mov rcx, r12
mov edx, 0x69
mov r8d, r15d
mov r9d, edi
call fcn.1404006f0
inc edi
cmp r13d, edi
jne 0x140412413
mov dil, 1
mov rcx, rbx
mov rdx, rsi
call fcn.140410510
mov rax, qword [rsp + 0x70]
mov dword [rsp + 0x20], eax
mov rcx, r12
mov edx, 7
xor r8d, r8d
mov r9d, r13d
call fcn.1404006f0
mov rcx, r12
mov edx, eax
mov r8, r14
mov r9d, 0xfffffff5
call fcn.1401c3300
movsxd rax, dword [r12 + 0x90]
test rax, rax
jle 0x1404124a1
mov edx, dword [rsp + 0xa4]
cmp edx, 0xb
mov ecx, 2
cmovne ecx, edx
mov rdx, qword [r12 + 0x88]
lea rax, [rax + rax*2]
mov word [rdx + rax*8 - 0x16], cx
mov rax, qword [rbx + 0xa0]
test rax, rax
cmove rax, rbx
mov byte [rax + 0x21], 1
test dil, dil
jne 0x1404124d5
mov rcx, qword [rsp + 0x68]
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.140292fb0
mov rsi, qword [rsp + 0x90]
lea r9d, [rsi + 1]
mov dword [rsp + 0x20], 0
mov rcx, r12
mov edx, 0x27
mov r8d, r15d
call fcn.1404006f0
mov eax, dword [r12 + 0x90]
mov rcx, qword [r12]
cmp byte [rcx + 0x67], 0
je 0x140412535
lea rcx, [0x140521a10]
mov dword [rcx + 8], eax
mov dword [rsp + 0x20], 0
mov rcx, r12
mov edx, 0x7a
mov r8d, r15d
xor r9d, r9d
call fcn.1404006f0
jmp 0x140412167
movsxd rcx, esi
lea rcx, [rcx + rcx*2]
shl rcx, 3
add rcx, qword [r12 + 0x88]
jmp 0x140412512
mov r15, qword [rsp + 0x50]
mov ecx, dword [rax + 0x64]
and ecx, 3
cmp ecx, 2
je 0x1404125e0
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x14041254f
jmp 0x1404125da
test byte [rsi + 0x30], 0x80
jne 0x1404125e4
mov dword [rsp + 0x20], 0
mov r12, qword [rsp + 0x60]
mov rcx, r12
mov edx, 0x87
mov ebp, dword [rsp + 0x48]
mov r8d, ebp
mov r9, qword [rsp + 0x70]
call fcn.1404006f0
mov r9, qword [rsp + 0x80]
add r9d, 2
mov rdx, qword [rsp + 0xa8]
test rdx, rdx
je 0x1404125bb
mov rcx, rbx
mov r8d, r9d
call fcn.140405690
jmp 0x1404125d3
mov dword [rsp + 0x20], 0
mov rcx, r12
mov edx, 0x87
mov r8d, ebp
call fcn.1404006f0
mov r15, qword [rsp + 0x50]
jmp 0x140412653
mov ebp, edi
xor eax, eax
jmp 0x1404125ff
mov ebp, edi
jmp 0x1404125ff
mov rax, qword [rsi + 0x10]
test rax, rax
mov rdx, qword [rsp + 0x70]
jne 0x14041254a
mov ebp, edi
xor eax, eax
mov r15, qword [rsp + 0x50]
mov rax, qword [rax + 8]
movsx r13d, word [rax]
mov dword [rsp + 0x20], edx
mov r12, qword [rsp + 0x60]
mov rcx, r12
mov edx, 0xb0
mov r8d, dword [rsp + 0x48]
mov r9d, r13d
call fcn.1404006f0
mov rax, qword [rsp + 0x80]
mov r9d, eax
add r9d, 2
lea r8d, [rax + r13]
add r8d, 3
mov dword [rsp + 0x20], 0
mov rcx, r12
mov edx, 0x51
call fcn.1404006f0
mov edi, ebp
mov rax, qword [rsp + 0x68]
cmp byte [rax + 0x42], 0
mov r13d, dword [rsp + 0x5c]
je 0x1404126ca
mov rcx, qword [r12]
cmp byte [rcx + 0x67], 0
jne 0x1404126a6
mov rdi, qword [r12 + 0x88]
movsxd rax, dword [rsp + 0x90]
lea r15, [rax + rax*2]
mov r8, qword [rdi + r15*8 + 0x10]
movsx edx, byte [rdi + r15*8 + 1]
call fcn.1401a6950
mov qword [rdi + r15*8 + 0x10], 0
mov word [rdi + r15*8], ILCreateFromPathW
mov r15, qword [rsp + 0x50]
mov dword [rsp + 0x20], 0
xor edi, edi
mov rcx, r12
mov edx, 0x7a
mov r8d, dword [rsp + 0x48]
xor r9d, r9d
call fcn.1404006f0
jmp 0x140412437
mov ebp, edi
mov rdi, qword [rsp + 0xb0]
inc edi
mov rax, qword [rbx + 0xa0]
test rax, rax
cmove rax, rbx
mov byte [rax + 0x20], 1
mov dword [rsp + 0x20], edi
mov rcx, r12
mov edx, 0x6d
mov r8, qword [rsp + 0x70]
mov r9d, r13d
call fcn.1404006f0
mov dword [rsp + 0x20], 0
mov rcx, r12
mov edx, 0x7f
mov r8d, r15d
mov r9d, ebp
call fcn.1404006f0
mov dword [rsp + 0x20], ebp
mov rcx, r12
mov edx, 0x80
mov r8d, r15d
mov r9d, edi
call fcn.1404006f0
jmp 0x1404123c4
xor ebp, ebp
mov rcx, rbx
mov edx, 0x4b
xor r8d, r8d
xor r9d, r9d
call fcn.1401b25c0
test rax, rax
je 0x1404122d3
inc r15d
mov word [rax + 0x30], r15w
jmp 0x1404122d0