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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov dword [rsp + 0x3c], 0
lea rcx, [rsp + 0x38]
call fcn.1400026a0
mov r8, rax
mov edx, 0x100
lea rcx, [rsp + 0x50]
call fcn.14000d478
nop
mov dword [rsp + 0x2c], 0
jmp 0x140012c8b
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0x100
jge 0x140012caf
movsxd rax, dword [rsp + 0x2c]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14000e5b4
mov cl, byte [rsp + 0x2c]
mov byte [rax], cl
jmp 0x140012c81
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
jmp 0x140012ccb
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0x100
jge 0x140012da8
movsxd rax, dword [rsp + 0x28]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14000e5b4
movzx eax, byte [rax]
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
movsxd rcx, dword [rsp + 0x28]
mov qword [rsp + 0x70], rcx
mov rcx, qword [rsp + 0xf0]
call fcn.14001260c
mov qword [rsp + 0x78], rax
xor edx, edx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
mov rcx, qword [rsp + 0x78]
div rcx
mov rax, rdx
mov rdx, rax
mov rcx, qword [rsp + 0xf0]
call fcn.14000e58c
movsx eax, byte [rax]
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14000e5b4
mov qword [rsp + 0x80], rax
movsxd rax, dword [rsp + 0x28]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14000e5b4
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
call fcn.14000cbb4
jmp 0x140012cc1
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0
mov rdx, qword [rsp + 0xe8]
lea rcx, [rsp + 0xa8]
call fcn.14000cfa0
mov dword [rsp + 0x34], 0
jmp 0x140012de1
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
movsxd rax, dword [rsp + 0x34]
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0xe8]
call fcn.14001260c
mov rcx, qword [rsp + 0x90]
cmp rcx, rax
jae 0x140012f36
mov eax, dword [rsp + 0x30]
inc eax
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov dword [rsp + 0x30], eax
movsxd rax, dword [rsp + 0x30]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14000e5b4
movzx eax, byte [rax]
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14000e5b4
mov qword [rsp + 0x98], rax
movsxd rax, dword [rsp + 0x30]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14000e5b4
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xa0]
call fcn.14000cbb4
movsxd rax, dword [rsp + 0x30]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14000e5b4
movzx eax, byte [rax]
mov dword [rsp + 0x44], eax
movsxd rcx, dword [rsp + 0x20]
mov rdx, rcx
lea rcx, [rsp + 0x50]
call fcn.14000e5b4
movzx eax, byte [rax]
mov ecx, dword [rsp + 0x44]
add ecx, eax
mov eax, ecx
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
cdqe
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14000e5b4
movzx eax, byte [rax]
mov dword [rsp + 0x48], eax
movsxd rax, dword [rsp + 0x34]
mov rdx, rax
lea rcx, [rsp + 0xa8]
call fcn.14000e58c
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov al, byte [rax]
mov byte [rsp + 0x24], al
movsx eax, byte [rsp + 0x24]
xor eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x68]
mov byte [rcx], al
jmp 0x140012dd7
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0xe0]
call fcn.14000cf20
mov eax, dword [rsp + 0x3c]
or eax, 1
mov dword [rsp + 0x3c], eax
lea rcx, [rsp + 0xa8]
call fcn.14000df38
nop
lea rcx, [rsp + 0x50]
call fcn.14000e004
mov rax, qword [rsp + 0xe0]
add rsp, 0xd8
ret