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

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x2b0
mov rax, qword [0x00015100]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
xor esi, esi
mov qword [rsp + 0x90], r8
mov qword [rsp + 0x88], r9
mov r10, rdx
mov r8, rcx
mov rbx, rsi
cmp rcx, rsi
jne 0x1247c
xor eax, eax
jmp 0x12753
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x12475
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x12475
mov ecx, 0x20b
cmp word [rax + r8 + 0x18], cx
jne 0x124b2
mov edx, dword [rax + r8 + 0x88]
mov eax, dword [rax + r8 + 0x8c]
jmp 0x124bc
mov edx, dword [rax + r8 + 0x78]
mov eax, dword [rax + r8 + 0x7c]
add rdx, r8
mov dword [rsp + 0x40], eax
mov r9d, esi
mov r11d, dword [rdx + 0x24]
mov edi, dword [rdx + 0x20]
mov ebp, dword [rdx + 0x1c]
add r11, r8
add rdi, r8
add rbp, r8
mov qword [rsp + 0x30], r11
mov qword [rsp + 0x48], rdi
cmp dword [rdx + 0x14], esi
jbe 0x12750
mov rcx, rsi
cmp r10, 0xffff
ja 0x124fe
movzx r11d, r9w
jmp 0x12516
cmp r9d, dword [rdx + 0x18]
jae 0x12475
mov eax, r9d
mov ecx, dword [rdi + rax*4]
mov r11w, word [r11 + rax*2]
add rcx, r8
cmp r10, 0xffff
ja 0x12655
movzx ecx, r11w
movzx eax, r10w
add ecx, dword [rdx + 0x10]
cmp eax, ecx
jne 0x1267c
movzx eax, r11w
mov ebx, dword [rbp + rax*4]
add rbx, r8
cmp rbx, rdx
jb 0x12750
mov eax, dword [rsp + 0x40]
add rax, rdx
cmp rbx, rax
ja 0x12750
lea rcx, [rsp + 0xa2]
xor edx, edx
mov r8d, 0x1fe
mov word [rsp + 0xa0], si
call fcn.000134b0
xor eax, eax
mov word [rsp + 0x48], si
mov word [rsp + 0x78], si
mov word [rsp + 0x30], si
mov edi, esi
mov word [rsp + 0x68], si
mov word [rsp + 0x58], si
mov rsi, qword [rsp + 0x90]
xor ebp, ebp
mov qword [rsp + 0x4a], rax
mov dword [rsp + 0x52], eax
mov word [rsp + 0x56], ax
mov qword [rsp + 0x7a], rax
mov dword [rsp + 0x82], eax
mov word [rsp + 0x86], ax
mov qword [rsp + 0x32], rax
mov dword [rsp + 0x3a], eax
mov word [rsp + 0x3e], ax
mov qword [rsp + 0x6a], rax
mov dword [rsp + 0x72], eax
mov word [rsp + 0x76], ax
mov qword [rsp + 0x5a], rax
mov dword [rsp + 0x62], eax
mov word [rsp + 0x66], ax
cmp rsi, rbp
je 0x12753
lea rcx, [rsp + 0x48]
mov rdx, rbx
call qword [sym.imp.ntoskrnl.exe_RtlInitAnsiString]
mov eax, 0x200
lea rdx, [rsp + 0x48]
mov word [rsp + 0x32], ax
lea rax, [rsp + 0xa0]
lea rcx, [rsp + 0x30]
xor r8d, r8d
mov word [rsp + 0x30], bp
mov qword [rsp + 0x38], rax
call qword [sym.imp.ntoskrnl.exe_RtlAnsiStringToUnicodeString]
movzx ecx, word [rsp + 0x30]
mov r11d, ebp
shr ecx, 1
je 0x126a9
mov rdx, qword [rsp + 0x38]
mov eax, r11d
cmp word [rdx + rax*2], 0x2e
je 0x12693
inc r11d
cmp r11d, ecx
jb 0x12641
jmp 0x126a9
mov rsi, r10
sub rsi, rcx
movzx eax, byte [rcx]
movzx edi, byte [rcx + rsi]
sub eax, edi
jne 0x1266d
inc rcx
test edi, edi
jne 0x1265b
xor esi, esi
cmp eax, esi
je 0x12536
mov rdi, qword [rsp + 0x48]
mov r11, qword [rsp + 0x30]
inc r9d
cmp r9d, dword [rdx + 0x14]
jb 0x124ec
jmp 0x12750
movzx eax, r11w
mov edi, r11d
add ax, ax
mov word [rsp + 0x30], ax
mov eax, r11d
mov word [rdx + rax*2], bp
mov rax, qword [rsp + 0x50]
mov ecx, edi
lea rdx, [rcx + rax + 1]
lea rcx, [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_RtlInitAnsiString]
lea rdx, [0x00013ac0]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeToString]
mov rax, qword [rsp + 0x88]
lea r11, [rsp + 0x68]
mov qword [rsp + 0x28], r11
lea r9, [rsp + 0x30]
mov r8d, 1
mov rdx, rsi
xor ecx, ecx
mov qword [rsp + 0x20], rax
call fcn.0012e2ec
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x68]
call fcn.0012e638
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_PsGetProcessWow64Process]
lea rdx, [rsp + 0x58]
mov rcx, rsi
cmp rax, rbp
setne r8b
call fcn.00012220
mov rdx, qword [rsp + 0x80]
lea r9, [rsp + 0x58]
mov rcx, rax
mov r8, rsi
call fcn.00012434
lea rcx, [rsp + 0x68]
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
mov rax, rbx
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.00013430
mov rbx, qword [rsp + 0x2d8]
add rsp, 0x2b0
pop rdi
pop rsi
pop rbp
ret