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

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
xor r14d, r14d
cmp byte [rcx + 0x12], 2
mov r12d, edx
mov rdi, rcx
mov esi, r14d
mov r13d, r14d
jae 0x4126a8b9
xor eax, eax
jmp 0x4126aac4
cmp byte [rcx + 0xd], sil
je 0x4126a938
cmp byte [rcx + 0x18], sil
jne 0x4126a8d4
mov rcx, qword [rcx + 0x60]
call fcn.4126de20
mov qword [rdi + 0x60], r14
jmp 0x4126a929
mov qword [rsp + 0x48], rbp
mov rbp, qword [rcx + 0xc8]
test rbp, rbp
je 0x4126a924
mov qword [rsp + 0x40], rbx
nop
nop
movsxd rax, dword [rdi + 0x40]
mov byte [rax + rbp + 0x78], sil
mov qword [rax + rbp + 0x70], r14
mov rcx, qword [rax + rbp + 0x60]
lea rbx, [rax + rbp + 0x58]
mov rbp, qword [rax + rbp + 0x68]
mov qword [rbx + 0x10], r14
call fcn.41250130
test rbp, rbp
mov qword [rbx + 8], r14
jne 0x4126a8f0
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov dword [rdi + 0x3c], r14d
mov byte [rdi + 0xd], sil
mov qword [rdi + 0xc8], r14
cmp byte [rdi + 0xc], sil
mov byte [rdi + 0xe], sil
je 0x4126a958
cmp byte [rdi + 0x1b], sil
jne 0x4126a958
mov rcx, qword [rdi + 0x98]
call fcn.4124f980
mov byte [rdi + 0xc], sil
cmp byte [rdi + 8], sil
je 0x4126aa68
cmp byte [rdi + 0x1b], sil
jne 0x4126a994
cmp byte [rdi + 0x1c], 1
je 0x4126a994
mov rcx, qword [rdi + 0x90]
call fcn.4124f980
mov rdx, qword [rdi + 0x70]
mov rcx, qword [rdi]
xor r8d, r8d
mov byte [rdi + 8], sil
call fcn.4124fa90
mov esi, eax
jmp 0x4126aa1e
cmp qword [rdi + 0xd8], rsi
je 0x4126a9e9
test r12d, r12d
je 0x4126a9b4
mov rcx, qword [rdi + 0x90]
xor edx, edx
call fcn.4124f9d0
mov esi, eax
jmp 0x4126a9d0
mov rcx, qword [rdi + 0x90]
xor r9d, r9d
lea rdx, [0x412c58c8]
lea r8d, [r9 + 0x1c]
call fcn.4124f9c0
mov esi, eax
test esi, esi
jne 0x4126a9e9
movzx edx, byte [rdi + 0x11]
mov rcx, qword [rdi + 0x90]
or edx, 0x10
call fcn.4124f9e0
mov esi, eax
movzx eax, sil
cmp eax, 0xd
je 0x4126a9fc
cmp eax, 0xa
je 0x4126a9fc
cmp eax, 0xb
jne 0x4126aa13
cmp byte [rdi + 0x12], r13b
mov dword [rdi + 0x24], esi
jne 0x4126aa13
cmp dword [rdi + 0x4c], r13d
jne 0x4126aa13
mov rcx, rdi
call fcn.41268e20
mov qword [rdi + 0xd8], r14
mov byte [rdi + 9], r13b
mov rcx, qword [rdi + 0x58]
call fcn.4126de20
mov rax, qword [rdi + 0xc0]
mov qword [rdi + 0x58], r14
test rax, rax
je 0x4126aa59
nop
nop
nop
mov byte [rax + 0x38], r13b
mov byte [rax + 0x39], r13b
mov byte [rax + 0x3a], r13b
mov byte [rax + 0x3b], r13b
mov rax, qword [rax + 0x30]
test rax, rax
jne 0x4126aa40
mov qword [rdi + 0xd0], r14
mov byte [rdi + 0x16], r13b
mov dword [rdi + 0x34], r14d
cmp byte [rdi + 0x1b], r13b
jne 0x4126aa8d
mov rcx, qword [rdi + 0x88]
cmp qword [rcx], r13
je 0x4126aa87
mov edx, 1
call fcn.4124fa10
mov r13d, eax
mov byte [rdi + 0x12], 1
jmp 0x4126aa97
cmp byte [rdi + 0x12], 5
jne 0x4126aa97
mov byte [rdi + 0x12], 4
mov rax, qword [rdi + 0xa8]
test esi, esi
mov dword [rdi + 0x2c], r14d
cmove esi, r13d
mov qword [rdi + 0xb8], rax
mov byte [rdi + 0x19], r14b
mov byte [rdi + 0x15], r14b
mov dword [rdi + 0x28], 0xffffffff
mov byte [rdi + 0x1d], r14b
mov eax, esi
mov r14, qword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
add rsp, 0x38
ret