Function at 0x140015960
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], r8
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov r12, r9
mov r14, rdx
mov r15, rcx
xor eax, eax
mov qword [rbp - 0x78], rax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
call fcn.140006e80
mov ebx, eax
xor sil, sil
mov rdi, 0xffffffffffffffff
cmp byte [rbp + 0x88], sil
je 0x140015ade
call fcn.140023ae0
mov rcx, rax
test rax, rax
je 0x140015e89
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x70], rax
movzx r9d, byte [rbp + 0x80]
lea r8, [rsp + 0x70]
lea rdx, [rbp - 0x78]
mov ecx, ebx
call fcn.140015530
mov rbx, qword [rsp + 0x70]
test al, al
je 0x140015a83
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x140015a83
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
call fcn.1400574b0
test eax, eax
je 0x140015a5a
mov rdx, qword [rbp - 0x78]
lea rcx, [rsp + 0x78]
call fcn.140057580
test eax, eax
je 0x140015a33
mov sil, 1
jmp 0x140015abc
mov word [rsp + 0x60], 0x3231
mov byte [rsp + 0x62], 0
lea rcx, [rsp + 0x60]
mov rax, rdi
inc rax
cmp byte [rcx + rax], 0
jne 0x140015a47
mov r8d, eax
lea rdx, [rsp + 0x60]
jmp 0x140015ab3
mov word [rsp + 0x60], 0x3131
mov byte [rsp + 0x62], 0
lea rcx, [rsp + 0x60]
mov rax, rdi
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x140015a70
mov r8d, eax
lea rdx, [rsp + 0x60]
jmp 0x140015ab3
mov dword [rsp + 0x60], 0x5f3031
lea rcx, [rsp + 0x60]
mov rax, rdi
inc rax
cmp byte [rcx + rax], 0
jne 0x140015a93
mov r8d, eax
lea rdx, [rsp + 0x60]
mov rcx, r12
call fcn.14001fa60
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
mov rcx, r12
call fcn.14001fa60
nop
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140015ad5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
test sil, sil
je 0x140015bb3
mov eax, 0x5a4d
cmp word [r15], ax
jne 0x140015dff
movsxd rsi, dword [r15 + 0x3c]
add rsi, r15
cmp dword [rsi], 0x4550
jne 0x140015ddd
lea rdx, [rsp + 0x60]
mov rcx, r14
call fcn.140057750
movzx eax, word [rsi + 4]
mov ecx, 0x14c
cmp ax, cx
jne 0x140015b9e
cmp dword [rsp + 0x60], 0
jne 0x140015bb3
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rax
xorps xmm1, xmm1
movups xmmword [rbp - 0x50], xmm1
movups xmmword [rbp - 0x40], xmm1
movups xmmword [rbp - 0x30], xmm1
movups xmmword [rbp - 0x20], xmm1
movups xmmword [rbp - 0x10], xmm1
movups xmmword [rbp], xmm1
mov qword [rbp + 0x10], rax
mov dword [rbp - 0x50], 0x68
mov dword [rbp - 0x14], 0x101
mov word [rbp - 0x10], ax
cmp byte [rbp + 0x88], al
lea rax, [rbp - 0x70]
je 0x140015bba
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov r8, qword [rbp + 0x60]
mov rdx, r14
mov rcx, qword [rbp - 0x80]
call fcn.140057640
jmp 0x140015bd4
mov ecx, 0x8664
cmp ax, cx
jne 0x140015b2a
cmp dword [rsp + 0x60], 6
je 0x140015b2a
xor al, al
jmp 0x140015e6d
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
mov rdx, qword [rbp + 0x60]
mov rcx, r14
call fcn.14005a310
test eax, eax
je 0x140015dbb
mov edx, 8
call fcn.140059710
mov r14, rax
mov dword [rax + 0x30], 0x100002
mov rdx, rax
mov rcx, qword [rbp - 0x68]
call fcn.140058230
test eax, eax
je 0x140015d99
mov rdx, qword [r14 + 0x88]
add rdx, 0x10
lea r8, [rbp - 0x58]
mov rcx, qword [rbp - 0x70]
call fcn.140058340
mov eax, dword [rbp - 0x58]
lea rcx, [rsp + 0x64]
cmp rax, qword [rsi + 0x30]
mov rax, rdi
jne 0x140015c4c
mov dword [rsp + 0x67], 0x5f6f6f
mov word [rsp + 0x65], 0x676d
mov byte [rsp + 0x64], 0x69
inc rax
cmp byte [rcx + rax], 0
jne 0x140015c41
jmp 0x140015c69
mov dword [rsp + 0x67], 0x5f6666
mov word [rsp + 0x64], 0x6d69
mov byte [rsp + 0x66], 0x67
inc rax
cmp byte [rcx + rax], 0
jne 0x140015c60
mov r8d, eax
lea rdx, [rsp + 0x64]
mov rcx, qword [rbp + 0x70]
call fcn.14001fa60
mov eax, 4
mov ecx, 0x40
cmp byte [rbp + 0x78], 0
cmovne eax, ecx
mov r8d, dword [rsi + 0x50]
mov dword [rsp + 0x20], eax
xor edx, edx
mov rcx, qword [rbp - 0x70]
call fcn.140059790
mov qword [rsp + 0x70], rax
test rax, rax
je 0x140015d53
mov r9d, dword [rsi + 0x54]
mov r8, r15
mov rdx, rax
mov rcx, qword [rbp - 0x70]
call fcn.140058170
movzx ebx, word [rsi + 0x14]
add rbx, 0x2c
xor r12d, r12d
mov edi, r12d
cmp r12w, word [rsi + 6]
jae 0x140015d09
add rbx, rsi
nop word [rax + rax]
mov r9d, dword [rbx - 4]
mov r8d, dword [rbx]
add r8, r15
mov edx, dword [rbx - 8]
add rdx, qword [rsp + 0x70]
mov rcx, qword [rbp - 0x70]
call fcn.140058170
lea rbx, [rbx + 0x28]
inc edi
movzx eax, word [rsi + 6]
cmp edi, eax
jl 0x140015ce0
mov rdx, qword [r14 + 0x88]
add rdx, 0x10
mov r9d, 8
lea r8, [rsp + 0x70]
mov rcx, qword [rbp - 0x70]
call fcn.140058170
mov eax, dword [rsi + 0x28]
add rax, qword [rsp + 0x70]
mov qword [r14 + 0x80], rax
mov rdx, r14
mov rcx, qword [rbp - 0x68]
call fcn.14005b990
mov rcx, qword [rbp - 0x68]
call fcn.14005ba20
mov bl, 1
jmp 0x140015e36
mov word [rbp + 0x88], 0x3831
mov byte [rbp + 0x8a], 0
lea rax, [rbp + 0x88]
nop word [rax + rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140015d70
mov r8d, edi
lea rdx, [rbp + 0x88]
mov rcx, r12
call fcn.14001fa60
mov rcx, qword [rbp - 0x70]
call fcn.14005bab0
jmp 0x140015e31
mov word [rbp + 0x89], 0x37
mov byte [rbp + 0x88], 0x31
lea rax, [rbp + 0x88]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140015db0
jmp 0x140015d79
mov word [rbp + 0x88], 0x3631
mov byte [rbp + 0x8a], 0
lea rax, [rbp + 0x88]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140015dd2
jmp 0x140015e1f
mov word [rbp + 0x88], 0x3531
mov byte [rbp + 0x8a], 0
lea rax, [rbp + 0x88]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140015df4
jmp 0x140015e1f
mov word [rbp + 0x89], 0x34
mov byte [rbp + 0x88], 0x31
lea rax, [rbp + 0x88]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140015e16
mov r8d, edi
lea rdx, [rbp + 0x88]
mov rcx, r12
call fcn.14001fa60
xor bl, bl
xor r12d, r12d
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140015e4a
call fcn.14005aad0
mov qword [rsp + 0x78], r12
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x140015e5c
call fcn.14005a040
mov qword [rbp - 0x80], r12
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x140015e6a
call fcn.14005a040
movzx eax, bl
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140023d60
int3