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

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xc8
lea rbp, [rsp + 0x100]
xorps xmm4, xmm4
movaps xmmword [rbp - 0x60], xmm4
xor eax, eax
mov qword [rbp - 0x50], rax
mov rsi, rcx
mov rdi, qword [rsi + 0x10]
mov rax, rdi
cmp word [rax], 0x5a4d
jne 0x14012a25c
movsxd rdx, dword [rax + 0x3c]
cmp word [rdi + rdx + 0x18], 0x20b
sete dl
movzx edx, dl
jmp 0x14012a25e
xor edx, edx
mov byte [0x140316b70], dl
xor ebx, ebx
xor r14d, r14d
cmp byte [0x140316b70], 0
je 0x14012a27b
movsxd r14, dword [rax + 0x3c]
add r14, rdi
jmp 0x14012a286
movsxd rbx, dword [rax + 0x3c]
add rbx, rdi
mov eax, dword [rbx]
jmp 0x14012a289
mov eax, dword [r14]
cmp eax, 0x4550
jne 0x14012a907
call fcn.140194040
cmp eax, 8
je 0x14012a2a5
mov ecx, 0x40
jmp 0x14012a2aa
mov ecx, 0x60
call fcn.14012aa50
mov rdi, rax
call fcn.140194040
cmp eax, 8
je 0x14012a2c3
mov ecx, 0x10
jmp 0x14012a2c8
mov ecx, 0x18
movsxd rcx, ecx
call fcn.1400eab80
mov qword [rbp - 0x40], rax
mov qword [rbp + 0x10], rsi
mov r15, qword [rsi + 8]
lea rcx, [0x1401c1800]
call fcn.1401292b0
test rax, rax
jne 0x14012a2f9
lea rcx, [0x1401c1800]
call fcn.1401291c0
test rax, rax
jne 0x14012a303
xor r12d, r12d
jmp 0x14012a315
mov rcx, rax
lea rdx, [0x1401ac180]
call fcn.140129640
mov r12, rax
test r12, r12
je 0x14012a659
xor ecx, ecx
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rdi
mov rax, qword [rbp - 0x40]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], r12
mov rcx, r15
lea rdx, [0x1401a3a40]
xor r8d, r8d
xor r9d, r9d
call fcn.140076a80
test eax, eax
je 0x14012a659
test rdi, 0xffffffffffff0000
je 0x14012a397
mov rcx, rdi
mov qword [rbp - 0x70], rcx
lea rcx, [rbp - 0xa0]
call fcn.140003110
mov rcx, qword [rbp - 0x70]
call fcn.140069479
lea rcx, [rbp - 0xa0]
call fcn.140003160
cmp byte [0x140316b70], 0
jne 0x14012a810
mov edi, dword [rbx + 0x34]
mov rax, qword [rbp - 0x40]
mov r15, qword [rax]
mov r12, rax
call fcn.140194040
cmp eax, 8
je 0x14012a819
mov ecx, 4
movsxd rcx, ecx
mov r12, qword [r12 + rcx]
mov rcx, r15
mov rdx, rdi
call fcn.14012aab0
test r15, r15
je 0x14012a7ea
test r12, r12
je 0x14012a7ea
movzx ecx, byte [0x140316b70]
test ecx, ecx
jne 0x14012a823
mov r8d, dword [rbx + 0x50]
test ecx, ecx
jne 0x14012a82c
mov r13d, dword [rbx + 0x54]
test ecx, ecx
jne 0x14012a835
movzx edx, word [rbx + 6]
movzx eax, dx
mov dword [rbp - 0x44], eax
test ecx, ecx
jne 0x14012a83f
mov r10d, dword [rbx + 0x28]
mov dword [rbp - 0x48], r10d
mov dword [rsp + 0x20], 0x40
mov rcx, r15
mov qword [rbp - 0x70], rcx
mov rdx, rdi
mov qword [rbp - 0x78], rdx
mov dword [rbp - 0x64], r8d
mov r9d, 0x3000
mov dword [rbp - 0x68], r9d
lea rcx, [rbp - 0xa0]
call fcn.140003110
mov rcx, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x78]
mov r8d, dword [rbp - 0x64]
mov r9d, dword [rbp - 0x68]
call fcn.14006965f
mov rsi, rax
lea rcx, [rbp - 0xa0]
call fcn.140003160
mov rdi, qword [rbp + 0x10]
mov r8, qword [rdi + 0x10]
xor ecx, ecx
mov dword [rbp - 0x50], ecx
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x20], rcx
mov rcx, r15
mov rdx, rsi
mov r9d, r13d
call fcn.14012ab20
test eax, eax
jne 0x14012a7c4
cmp byte [0x140316b70], 0
jne 0x14012a848
add rbx, 0xf8
xor r14d, r14d
mov r13d, dword [rbp - 0x44]
test r13d, r13d
jle 0x14012a507
mov edx, dword [rbx + 0xc]
add rdx, rsi
mov r8, qword [rdi + 0x10]
mov ecx, dword [rbx + 0x14]
add r8, rcx
mov r9d, dword [rbx + 0x10]
xor ecx, ecx
mov dword [rbp - 0x50], ecx
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x20], rcx
mov rcx, r15
call fcn.14012ab20
test eax, eax
jne 0x14012a79e
add rbx, 0x28
inc r14d
cmp r14d, r13d
jl 0x14012a4c9
cmp byte [0x140316b70], 0
jne 0x14012a854
mov ecx, 0x2cc
movsxd rcx, ecx
call fcn.1400eab80
mov rdi, rax
cmp byte [0x140316b70], 0
je 0x14012a85e
mov dword [rdi + 0x30], 0x10001b
cmp byte [0x140316b70], 0
jne 0x14012a869
mov rcx, r12
mov rdx, rdi
call fcn.140129480
test eax, eax
je 0x14012a778
mov ebx, dword [rdi + 0xa4]
mov r14, qword [rdi + 0x88]
mov rcx, rsi
call fcn.140085720
cmp byte [0x140316b70], 0
jne 0x14012a881
add ebx, 8
movsxd rdx, ebx
mov r9d, dword [rax + 8]
xor ecx, ecx
mov qword [rbp - 0x60], rcx
mov dword [rbp - 0x50], ecx
mov qword [rbp - 0x60], rax
mov rcx, qword [rbp - 0x60]
cmp dword [rcx + 8], 0
jne 0x14012a88a
xor r8d, r8d
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x20], rcx
mov rcx, r15
call fcn.14012ab20
xor ecx, ecx
test eax, eax
sete cl
xor edx, edx
mov qword [rbp - 0x60], rdx
test ecx, ecx
je 0x14012a6a5
cmp byte [0x140316b70], 0
je 0x14012a8a6
mov ecx, dword [rbp - 0x48]
add rcx, rsi
mov qword [rdi + 0x80], rcx
cmp byte [0x140316b70], 0
jne 0x14012a8b8
mov rcx, r12
mov rdx, rdi
call fcn.1401293a0
test eax, eax
je 0x14012a67f
mov rcx, r12
mov qword [rbp - 0x78], rcx
lea rcx, [rbp - 0xa0]
call fcn.140003110
mov rcx, qword [rbp - 0x78]
call fcn.140069617
lea rcx, [rbp - 0xa0]
call fcn.140003160
mov qword [rbp - 0x58], r15
jmp 0x14012a8e6
lea rcx, [0x1401d34b0]
call fcn.140002c80
mov rsi, rax
mov rcx, rsi
lea rdx, [0x1401adc20]
call fcn.140082590
mov rcx, rsi
call fcn.140003270
lea rcx, [0x1401d34b0]
call fcn.140002c80
mov rsi, rax
mov rcx, rsi
lea rdx, [0x1401ad8e8]
call fcn.140082590
mov rcx, rsi
call fcn.140003270
lea rcx, [0x1401d34b0]
call fcn.140002c80
mov rsi, rax
mov rcx, rsi
lea rdx, [0x1401adc20]
call fcn.140082590
mov rcx, rsi
call fcn.140003270
lea rsi, [0x1401c2ec0]
lea rcx, [0x14021f008]
mov edx, 0x37
call fcn.140002da0
xor ecx, ecx
mov edx, ecx
lea r8, [0x1401a6498]
movzx edx, word [r8 + rdx*2 + 0xc]
mov r8d, ecx
sar r8d, 0x1f
and r8d, 0xf
add r8d, ecx
and r8d, 0xfffffff0
mov r9d, ecx
sub r9d, r8d
cmp r9d, 0x10
jae 0x14012a74d
mov r8d, ecx
sar r8d, 0x1f
and r8d, 0xf
add r8d, ecx
and r8d, 0xfffffff0
mov r9d, ecx
sub r9d, r8d
mov r8d, r9d
movzx r8d, word [rsi + r8*2 + 0xc]
xor edx, r8d
mov r8d, ecx
mov word [rax + r8*2 + 0x10], dx
inc ecx
cmp ecx, 0x37
jl 0x14012a6bf
mov rcx, rax
call fcn.14007c5b0
mov rsi, rax
lea rcx, [0x1401d34b0]
call fcn.140002c80
mov rdi, rax
mov rcx, rdi
mov rdx, rsi
call fcn.140082590
mov rcx, rdi
call fcn.140003270
call fcn.14010cfa0
lea rcx, [0x1401d34b0]
call fcn.140002c80
mov rsi, rax
mov rcx, rsi
lea rdx, [0x1401ad998]
call fcn.140082590
mov rcx, rsi
call fcn.140003270
lea rcx, [0x1401d34b0]
call fcn.140002c80
mov rsi, rax
mov rcx, rsi
lea rdx, [0x1401ada08]
call fcn.140082590
mov rcx, rsi
call fcn.140003270
lea rcx, [0x1401d34b0]
call fcn.140002c80
mov rsi, rax
mov rcx, rsi
lea rdx, [0x1401adcd8]
call fcn.140082590
mov rcx, rsi
call fcn.140003270
lea rcx, [0x1401d34b0]
call fcn.140002c80
mov rsi, rax
mov rcx, rsi
lea rdx, [0x1401adc70]
call fcn.140082590
mov rcx, rsi
call fcn.140003270
lea rcx, [0x1401d34b0]
call fcn.140002c80
mov rsi, rax
mov rcx, rsi
lea rdx, [0x1401ad930]
call fcn.140082590
mov rcx, rsi
call fcn.140003270
mov rdi, qword [r14 + 0x30]
jmp 0x14012a3a7
mov ecx, 8
jmp 0x14012a3c4
mov r8d, dword [r14 + 0x50]
jmp 0x14012a3fb
mov r13d, dword [r14 + 0x54]
jmp 0x14012a407
movzx edx, word [r14 + 6]
jmp 0x14012a413
mov r10d, dword [r14 + 0x28]
jmp 0x14012a425
lea rbx, [r14 + 0x108]
jmp 0x14012a4bd
mov ecx, 0x4d0
jmp 0x14012a519
mov dword [rdi], 0x10002
jmp 0x14012a538
mov rcx, r12
mov rdx, rdi
call fcn.1401294f0
test eax, eax
je 0x14012a752
jmp 0x14012a558
lea rdx, [r14 + 0x10]
jmp 0x14012a580
mov r8, qword [rbp - 0x60]
cmp dword [r8 + 8], 0
jbe 0x14012a74d
mov r8, qword [rbp - 0x60]
add r8, 0x10
jmp 0x14012a5a2
mov ecx, dword [rbp - 0x48]
add rcx, rsi
mov qword [rdi + 0xb0], rcx
jmp 0x14012a5e2
mov rcx, r12
mov rdx, rdi
call fcn.140129410
test eax, eax
je 0x14012a633
jmp 0x14012a602
mov rcx, rsp
call fcn.14012a98b
nop
mov rax, qword [rbp - 0x58]
add rsp, 0xc8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, [0x1401d34b0]
call fcn.140002c80
mov rsi, rax
mov rcx, rsi
lea rdx, [0x1401afc10]
call fcn.140082590
mov rcx, rsi
call fcn.140003270
xor eax, eax
jmp 0x14012a8f3