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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
xor esi, esi
movzx eax, word [r8 + 0x28]
mov rdi, qword [rsp + 0xb0]
and ax, 0x380
mov qword [rsp + 0x90], rcx
mov rbp, rdx
mov r15, r8
mov r13, r9
cmp ax, 0x180
jne 0x14001c45f
mov rax, qword [r8 + 0xd0]
mov r14, qword [rax + 0xe0]
test r14, r14
je 0x14001c45f
mov rcx, qword [r8 + 0xe0]
mov rdx, r8
lea rbx, [r14 + 0x10]
mov rsi, rbx
mov rax, qword [rcx + 8]
mov rax, qword [rax + 0x380]
call qword [rax + 0x270]
mov ecx, dword [r14]
mov r9, qword [rbp + 0x28]
mov dword [rsp + 0x30], eax
lea rax, [rcx + rcx*2]
shl rax, 4
add rax, rbx
cmp rbx, rax
jae 0x14001c30e
mov qword [rsp + 0x98], rbp
mov rbp, r9
nop dword [rax]
cmp dword [rsi + 0x14], 4
je 0x14001c4c0
test byte [rsi + 0x23], 1
jne 0x14001c2f6
cmp qword [rsi], 0
je 0x14001c2f6
mov rdx, qword [rdi]
test byte [r15 + 0x26], 0x10
je 0x14001bf79
test rdx, rdx
je 0x14001c668
mov eax, dword [rsi + 0x10]
lea rax, [rax + rax*2]
lea rax, [rdx + rax*8]
mov qword [rdi + 8], rax
cmp rax, qword [rdi + 0x10]
jae 0x14001bf99
mov edx, dword [rsi + 0x18]
lea ecx, [rdx + 8]
cmp qword [rax], rcx
je 0x14001bfb0
lea rcx, str.___w_arm_none_eabi_gcc_xpack_arm_none_eabi_gcc_xpack_build_win32_x64_sources_binutils_gdb_binutils_2.40_arm_none_eabi_12.3.rel1_bfd_elf_eh_frame.c
mov edx, 0x5ec
call fcn.14003af20
mov eax, dword [rsi + 0x18]
lea ecx, [rax + 8]
mov rdx, rdi
call r13
test al, al
jne 0x14001c2f3
mov rax, qword [rsp + 0x98]
test byte [rax], 1
je 0x14001bfe8
movzx eax, byte [rsi + 0x20]
and eax, 0x70
jne 0x14001c570
test byte [rsi + 0x23], 8
je 0x14001c578
nop word [rax + rax]
mov r11, qword [rsi]
and byte [rsi + 0x23], 0xfd
add dword [rbp + 0x138], 1
movzx eax, byte [r11 + 0x23]
test al, 2
je 0x14001c770
mov r12, qword [r11]
test byte [r11 + 0xa], 0x40
jne 0x14001c2f0
and eax, 0xfffffffd
mov qword [r11], r15
mov byte [r11 + 0x23], al
test r12, r12
je 0x14001c770
cmp byte [r12 + 0x50], 0xff
je 0x14001c700
mov eax, dword [r12 + 0x40]
lea rdx, [rax + rax*2]
mov rax, qword [rdi]
mov qword [r12 + 0x40], 0
lea rax, [rax + rdx*8]
lea rdx, [r12 + 0x40]
mov qword [rsp + 0x20], rdx
mov rdx, qword [rsp + 0x90]
mov rdx, qword [rdx + 0x108]
cmp byte [rdx + 4], 2
je 0x14001c762
mov rax, qword [rax + 8]
shr rax, 8
mov r8d, eax
mov eax, eax
cmp rax, qword [rdi + 0x28]
jae 0x14001c5c8
shl rax, 5
add rax, qword [rdi + 0x18]
movzx edx, byte [rax + 0x14]
shr dl, 4
jne 0x14001c5c8
mov edx, dword [rax + 0x18]
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0x28], r11
mov dword [rsp + 0x34], r8d
call fcn.1400566c0
mov r11, qword [rsp + 0x28]
test rax, rax
je 0x14001c770
mov rdx, qword [rax + 0xb8]
test rdx, rdx
cmove rdx, rax
cmp qword [rdx + 0x60], 0
je 0x14001c770
mov rax, qword [rsp + 0x90]
mov r8d, dword [rsp + 0x34]
mov byte [r12 + 9], 1
movd xmm0, dword [rax + 0x3c]
movd xmm2, r8d
punpckldq xmm0, xmm2
movq qword [r12 + 0x40], xmm0
mov rax, qword [rsp + 0x98]
test byte [rax], 1
je 0x14001c158
test byte [r12 + 0x50], 0x70
jne 0x14001c158
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x28], r11
mov r8, r15
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
mov rax, qword [rax + 8]
mov rax, qword [rax + 0x380]
call qword [rax + 0x278]
mov r11, qword [rsp + 0x28]
test al, al
je 0x14001c158
or byte [r11 + 0xa], 0xc
nop dword [rax]
xor r8d, r8d
mov edx, 4
mov rcx, r12
mov qword [rsp + 0x38], r11
call fcn.140099c40
mov edx, 1
lea rcx, [r12 + 8]
mov r8d, eax
call fcn.140099c40
lea rcx, [r12 + 0xa]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x34], eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov r8d, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x28]
lea rdx, [rax + 1]
call fcn.140099c40
lea rcx, [r12 + 0x20]
mov edx, 8
mov r8d, eax
call fcn.140099c40
lea rcx, [r12 + 0x28]
mov edx, 8
mov r8d, eax
call fcn.140099c40
lea rcx, [r12 + 0x30]
mov edx, 8
mov r8d, eax
call fcn.140099c40
lea rcx, [r12 + 0x38]
mov edx, 8
mov r8d, eax
call fcn.140099c40
mov rcx, qword [rsp + 0x20]
mov edx, 8
mov r8d, eax
call fcn.140099c40
mov edx, 8
mov r8d, eax
mov rax, qword [r12 + 0x48]
mov rcx, qword [rax]
add rcx, 0x60
call fcn.140099c40
lea rcx, [r12 + 0x50]
mov edx, 1
mov r8d, eax
call fcn.140099c40
lea rcx, [r12 + 0x51]
mov edx, 1
mov r8d, eax
call fcn.140099c40
lea rcx, [r12 + 0x52]
mov edx, 1
mov r8d, eax
call fcn.140099c40
lea rcx, [r12 + 0x53]
mov edx, 1
mov r8d, eax
call fcn.140099c40
movzx edx, byte [r12 + 0x53]
mov ecx, 0x32
mov r8d, eax
cmp rdx, rcx
cmova rdx, rcx
lea rcx, [r12 + 0x55]
call fcn.140099c40
mov rcx, qword [rbp + 0x130]
mov r11, qword [rsp + 0x38]
mov dword [r12 + 4], eax
mov r8d, eax
test rcx, rcx
je 0x14001c720
mov r9d, 1
mov rdx, r12
mov qword [rsp + 0x20], r11
call fcn.140094170
mov r11, qword [rsp + 0x20]
test rax, rax
je 0x14001c770
mov rcx, qword [rax]
test rcx, rcx
je 0x14001c778
movzx eax, byte [r11 + 0xa]
or byte [r11 + 0x23], 2
or eax, 0x40
mov byte [r11 + 0xa], al
mov r12, qword [rcx + 0x48]
mov qword [r11], r12
test al, 2
jne 0x14001c6e8
nop dword [rax]
mov qword [rsi], r12
mov ecx, dword [r14]
lea rax, [rcx + rcx*2]
add rsi, 0x30
shl rax, 4
add rax, rbx
cmp rsi, rax
jb 0x14001bf48
mov rcx, qword [r14 + 8]
xor esi, esi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov eax, dword [r14]
mov qword [r14 + 8], 0
mov r11d, 1
lea r10, [rax + rax*2]
xor eax, eax
shl r10, 4
add r10, rbx
cmp rbx, r10
jae 0x14001c710
movzx edx, byte [rbx + 0x23]
test dl, 2
jne 0x14001c3a2
mov ecx, dword [rbx + 0x14]
cmp ecx, 4
je 0x14001c4e8
test dl, 1
je 0x14001c500
movzx r9d, byte [rbx + 0xa]
test r9b, 0x10
je 0x14001c478
add eax, 7
and eax, 0xfffffff8
mov dword [rbx + 0x1c], eax
cmp dword [rbx + 0x18], eax
je 0x14001c48e
shr dl, 2
mov esi, 1
mov r8d, edx
and r8d, 1
and r9d, 0x20
jne 0x14001c4a8
add ecx, r8d
add ecx, r8d
nop
add eax, ecx
add rbx, 0x30
cmp rbx, r10
jb 0x14001c340
add eax, 3
and esi, 1
and eax, 0xfffffffc
mov rcx, qword [r15 + 0x40]
movq xmm0, rax
movq xmm1, rcx
cmp rcx, rax
punpcklqdq xmm0, xmm1
setne al
movups xmmword [r15 + 0x40], xmm0
or sil, al
je 0x14001c45f
mov rbp, qword [rdi + 0x28]
mov rbx, qword [rdi + 0x18]
cmp rbp, 1
jbe 0x14001c45f
mov rax, qword [r15 + 0xd0]
shl rbp, 5
add rbp, rbx
add rbx, 0x20
mov r12d, dword [rax + 0x88]
cmp rbx, rbp
jae 0x14001c45f
xor r13d, r13d
jmp 0x14001c419
add rbx, 0x20
cmp rbx, rbp
jae 0x14001c440
cmp byte [rbx + 0x14], 1
ja 0x14001c410
cmp r12d, dword [rbx + 0x18]
jne 0x14001c410
mov rcx, qword [rbx]
mov rdx, r15
call fcn.14009c500
test rax, rax
je 0x14001c410
add qword [rbx], rax
mov r13d, 1
jmp 0x14001c410
test r13d, r13d
je 0x14001c45f
mov rax, qword [rsp + 0x90]
mov rdx, qword [rdi + 0x18]
mov rax, qword [rax + 0x108]
mov qword [rax + 0xa8], rdx
mov eax, esi
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
add eax, 3
mov r8d, 1
and eax, 0xfffffffc
cmp eax, dword [rbx + 0x18]
mov dword [rbx + 0x1c], eax
cmovne esi, r8d
mov r8d, edx
shr r8b, 2
and r8d, 1
and edx, 1
je 0x14001c4b1
and r9d, 0x20
je 0x14001c398
lea ecx, [rcx + r8 + 1]
add r8d, 1
add ecx, r8d
jmp 0x14001c3a0
cmp qword [r15 + 0xf8], 0
movzx eax, byte [rsi + 0x23]
setne dl
add edx, edx
and eax, 0xfffffffd
or eax, edx
mov byte [rsi + 0x23], al
mov ecx, dword [r14]
jmp 0x14001c2f6
add eax, 3
and eax, 0xfffffffc
cmp eax, dword [rbx + 0x18]
mov dword [rbx + 0x1c], eax
cmovne esi, r11d
jmp 0x14001c3a0
movzx r8d, byte [rbx + 0x20]
mov r9d, r8d
not r9d
and r9d, 0x60
je 0x14001c630
and r8d, 7
je 0x14001c648
xor r9d, r9d
cmp r8b, 4
sete r8b
setne r9b
movzx r8d, r8b
lea r9d, [r9*4 - 8]
lea r8d, [r8*4 + 4]
lea eax, [rax + r8 - 1]
and eax, r9d
mov dword [rbx + 0x1c], eax
cmp dword [rbx + 0x18], eax
je 0x14001c620
shr dl, 2
mov esi, 1
mov r8d, edx
and r8d, 1
jmp 0x14001c4b1
cmp al, 0x50
jne 0x14001bfe8
mov rax, qword [rsp + 0x98]
mov byte [rbp + 0x13c], 0
test byte [rax + 4], 6
je 0x14001bfe8
mov eax, dword [0x1400ad330]
cmp eax, 9
jle 0x14001c807
cmp eax, 0xa
jne 0x14001bfe8
lea rcx, str.further_warnings_about_FDE_encoding_preventing_.eh_frame_hdr_generation_dropped
call fcn.14002dad0
add dword [0x1400ad330], 1
jmp 0x14001bfe8
mov rax, qword [rdi + 0x38]
sub r8d, dword [rdi + 0x30]
mov rcx, qword [rax + r8*8]
movzx eax, byte [rcx + 0x18]
sub eax, 6
cmp al, 1
ja 0x14001c5ef
nop
mov rcx, qword [rcx + 0x28]
movzx eax, byte [rcx + 0x18]
sub eax, 6
cmp al, 1
jbe 0x14001c5e0
mov qword [r12 + 0x40], rcx
mov rdx, qword [rsp + 0x98]
xor r8d, r8d
mov qword [rsp + 0x28], r11
call fcn.14002b640
mov r11, qword [rsp + 0x28]
test al, al
jne 0x14001c101
jmp 0x14001c158
shr dl, 2
mov r8d, edx
and r8d, 1
jmp 0x14001c4b1
mov r9d, 0xfffffffc
mov r8d, 4
jmp 0x14001c542
mov r14d, dword [rsp + 0x30]
mov r8d, 4
cmp r14d, r8d
cmovae r8d, r14d
mov r9d, r8d
neg r9d
jmp 0x14001c542
movzx r9d, byte [rsi + 0x20]
mov eax, r9d
not eax
test al, 0x60
je 0x14001c848
mov edx, r9d
and edx, 7
cmp dl, 3
je 0x14001c6f3
test r9b, 4
jne 0x14001c82a
mov eax, dword [rsp + 0x30]
mov r8d, eax
test dl, dl
je 0x14001c6b1
cmp dl, 2
sete r8b
sete al
movzx eax, al
movzx r8d, r8b
add rax, rax
add r8d, r8d
mov edx, dword [rsi + 0x18]
shr r9b, 3
mov rcx, qword [rsp + 0x90]
and r9d, 1
lea rdx, [rax + rdx + 8]
add rdx, qword [r15 + 0xa0]
call fcn.1400a13b0
test rax, rax
jne 0x14001bfbe
jmp 0x14001c2f3
or byte [r12 + 0xa], 2
jmp 0x14001c2f0
mov eax, 4
mov r8d, 4
jmp 0x14001c6b1
lea rax, [r12 + 0x40]
mov qword [rsp + 0x20], rax
jmp 0x14001c158
xor eax, eax
jmp 0x14001c3b4
mov ecx, 1
lea r9, [sub.api_ms_win_crt_heap_l1_1_0.dll_free]
lea r8, [0x140059d70]
mov qword [rsp + 0x20], r11
lea rdx, [0x140059e60]
call fcn.140094660
mov r11, qword [rsp + 0x20]
test rax, rax
mov qword [rbp + 0x130], rax
mov rcx, rax
je 0x14001c770
mov r8d, dword [r12 + 4]
jmp 0x14001c29c
mov eax, dword [rax + 0xc]
mov r8d, eax
jmp 0x14001c079
mov r12, r11
jmp 0x14001c2f0
mov ecx, 0x88
mov qword [rsp + 0x28], rax
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov r11, qword [rsp + 0x20]
test rax, rax
je 0x14001c770
movdqu xmm2, xmmword [r12]
mov rdx, qword [rsp + 0x28]
movups xmmword [rax], xmm2
movdqu xmm3, xmmword [r12 + 0x10]
movups xmmword [rax + 0x10], xmm3
movdqu xmm4, xmmword [r12 + 0x20]
movups xmmword [rax + 0x20], xmm4
movdqu xmm5, xmmword [r12 + 0x30]
movups xmmword [rax + 0x30], xmm5
movdqu xmm2, xmmword [r12 + 0x40]
movups xmmword [rax + 0x40], xmm2
movdqu xmm3, xmmword [r12 + 0x50]
movups xmmword [rax + 0x50], xmm3
movdqu xmm4, xmmword [r12 + 0x60]
movups xmmword [rax + 0x60], xmm4
movdqu xmm5, xmmword [r12 + 0x70]
movups xmmword [rax + 0x70], xmm5
mov rcx, qword [r12 + 0x80]
mov qword [rax + 0x80], rcx
mov qword [rdx], rax
mov r12, qword [rax + 0x48]
jmp 0x14001c2f0
mov rdx, qword [rsp + 0x90]
mov r8, r15
lea rcx, str.FDE_encoding_in__pB__pA__prevents_.eh_frame_hdr_table_being_created
call fcn.14002dad0
add dword [0x1400ad330], 1
jmp 0x14001bfe8
cmp dl, 4
sete r8b
sete al
movzx eax, al
movzx r8d, r8b
shl rax, 3
shl r8d, 3
jmp 0x14001c6b1
xor eax, eax
xor r8d, r8d
jmp 0x14001c6b1