Function at 0x49e0b0
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, 0x78
cmp qword [rsp + 0xf0], 0
mov rdi, qword [rsp + 0xe8]
mov qword [rsp + 0xc0], rcx
mov qword [rsp + 0xc8], rdx
mov rsi, r8
mov r13, r9
mov r12, qword [rsp + 0xf8]
mov rbx, qword [rsp + 0x110]
mov qword [rsp + 0x58], 0
mov qword [rdi], 0
je 0x49e118
mov rax, qword [rsp + 0xf0]
mov qword [rax], 0
cmp qword [rsp + 0x100], 0
mov dword [r12], 0
je 0x49e139
mov rax, qword [rsp + 0x100]
mov dword [rax], 0
mov rax, qword [rsp + 0xc0]
mov r9, qword [rsp + 0xc8]
mov r8, qword [rsp + 0x108]
mov rcx, qword [rsp + 0xc0]
test byte [rax + 0x40], 0x42
mov qword [rsp + 0x20], rbx
sete al
xor edx, edx
movzx eax, al
mov dword [rsp + 0x28], eax
call fcn.0049d950
test eax, eax
je 0x49e274
test rsi, rsi
mov rbp, qword [rbx]
je 0x49e800
test r13, r13
setne dl
cmp qword [rsp + 0xe0], 0
setne al
or dl, al
jne 0x49e1a8
cmp qword [rsp + 0xf0], 0
je 0x49e1b9
lea rcx, str._builds_idf_crosstool_NG_.build_HOST_x86_64_w64_mingw32_xtensa_esp32s2_elf_src_binutils_bfd_dwarf2.c
mov edx, 0x1399
call fcn.0043f7d0
mov r13, qword [rsi + 0x20]
mov rbx, qword [rsi + 0x10]
mov dword [rsp + 0x3c], 1
mov rax, qword [r13 + 0x70]
test rax, rax
je 0x49e8c5
add rbx, qword [r13 + 0x68]
add rbx, qword [rax + 0x30]
cmp qword [rbp + 0x18], 0
je 0x49e274
mov eax, dword [rsp + 0x3c]
mov qword [rbp + 0x160], 0
test eax, eax
je 0x49e2a1
mov eax, dword [rbp + 0x1a0]
test eax, eax
je 0x49e6e1
cmp eax, 1
je 0x49e752
mov r14, qword [rbp + 0x90]
test r14, r14
jne 0x49e245
jmp 0x49e7e0
mov r15d, dword [r14 + 0x44]
test r15d, r15d
je 0x49e290
mov r14, qword [r14]
test r14, r14
je 0x49e7e0
test byte [rsi + 0x18], 8
je 0x49e252
cmp qword [r14 + 0x28], 0
jne 0x49e230
mov qword [rsp + 0x20], r12
mov r9, rdi
mov r8, rbx
mov rdx, rsi
mov rcx, r14
call fcn.0049cd30
test eax, eax
je 0x49e239
mov r15d, eax
jmp 0x49e4b8
xor r15d, r15d
mov eax, r15d
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rdx, rbx
mov rcx, r14
call fcn.00498980
test eax, eax
je 0x49e239
jmp 0x49e252
mov r14, qword [rbp + 0x90]
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x54], 0
test r14, r14
je 0x49e913
lea rax, [rsp + 0x68]
lea rcx, [rsp + 0x60]
lea rdx, [rsp + 0x54]
lea r11, [rsp + 0x50]
mov r9, 0xffffffffffffffff
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0xd0], rsi
mov qword [rsp + 0xd8], r13
mov rsi, r14
mov qword [rsp + 0xf8], r12
mov rbp, r9
mov r13, rax
mov r12, rcx
mov r14, rdx
mov r15, r11
jmp 0x49e33c
mov r8d, dword [rsi + 0x44]
test r8d, r8d
je 0x49e570
xor r8d, r8d
mov rsi, qword [rsi]
test rsi, rsi
je 0x49e3d5
cmp qword [rsi + 0x28], 0
jne 0x49e320
mov r8, r12
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
mov r9, r13
mov rdx, rbx
mov rcx, rsi
call fcn.0049cef0
xor r8d, r8d
test rax, rax
je 0x49e330
cmp rax, rbp
mov r8d, 1
ja 0x49e330
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x49e37e
mov qword [rdi], rdx
mov rdx, qword [rsp + 0x68]
test rdx, rdx
je 0x49e38d
mov qword [rsp + 0x58], rdx
cmp qword [rsp + 0x100], 0
je 0x49e3aa
mov edx, dword [rsp + 0x54]
test edx, edx
je 0x49e3aa
mov rcx, qword [rsp + 0x100]
mov dword [rcx], edx
mov edx, dword [rsp + 0x50]
test edx, edx
je 0x49e590
mov rsi, qword [rsi]
mov rcx, qword [rsp + 0xf8]
mov rbp, rax
mov r8d, 1
test rsi, rsi
mov dword [rcx], edx
jne 0x49e33c
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0xd0]
mov r15d, r8d
mov r13, qword [rsp + 0xd8]
mov r12, qword [rsp + 0xf8]
mov r14d, dword [r12]
test r14d, r14d
jne 0x49e4b2
lea rax, [rsp + 0x58]
mov qword [rsp + 0xd8], r13
lea r14, [rbp + 8]
mov r13d, dword [rsp + 0x3c]
mov qword [rsp + 0x40], rax
jmp 0x49e445
test byte [rsi + 0x18], 8
je 0x49e5b3
cmp qword [r10 + 0x28], 0
je 0x49e5b3
mov r11d, dword [r10 + 0x44]
test r11d, r11d
je 0x49e5a0
xor r15d, r15d
mov rdx, r14
mov rcx, rbp
call fcn.0049a1d0
test rax, rax
mov r10, rax
je 0x49e7f0
test r13d, r13d
jne 0x49e420
cmp qword [r10 + 0x28], 0
je 0x49e480
mov r9d, dword [r10 + 0x44]
test r9d, r9d
jne 0x49e442
mov rdx, rbx
mov rcx, r10
call fcn.00498980
test eax, eax
je 0x49e442
mov rax, qword [rsp + 0x100]
mov r9, qword [rsp + 0x40]
mov r8, rdi
mov qword [rsp + 0x20], r12
mov rdx, rbx
mov rcx, r10
mov qword [rsp + 0x28], rax
call fcn.0049cef0
test rax, rax
je 0x49e442
mov r13, qword [rsp + 0xd8]
mov r15d, 1
cmp qword [rsp + 0xf0], 0
je 0x49e680
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x49e8d0
mov r8d, dword [rax + 0x2c]
test r8d, r8d
jne 0x49e6d0
mov rax, qword [rbp + 8]
cmp qword [rsp + 0xc0], rax
je 0x49e5e0
mov rbx, qword [rsp + 0xc0]
mov rsi, qword [rbx + 0x88]
mov rbx, qword [rax + 0x88]
test rbx, rbx
je 0x49e5e0
test rsi, rsi
jne 0x49e53a
jmp 0x49e5e0
mov rsi, qword [rsi + 0x18]
mov rbx, qword [rbx + 0x18]
test rsi, rsi
je 0x49e5e0
test rbx, rbx
je 0x49e5e0
test byte [rbx + 0x29], 0x20
jne 0x49e5e0
cmp r13, rsi
jne 0x49e520
mov rdx, qword [rbx]
mov rcx, qword [r13]
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x49e520
mov rax, qword [rbp + 0x10]
mov qword [rsp + 0xc8], rax
jmp 0x49e5e3
mov rdx, rbx
mov rcx, rsi
call fcn.00498980
test eax, eax
je 0x49e330
jmp 0x49e343
mov rbp, rax
mov r8d, 1
jmp 0x49e330
mov rdx, rbx
mov rcx, r10
call fcn.00498980
test eax, eax
je 0x49e442
mov qword [rsp + 0x20], r12
mov r9, rdi
mov r8, rbx
mov rdx, rsi
mov rcx, r10
call fcn.0049cd30
test eax, eax
je 0x49e442
mov r13, qword [rsp + 0xd8]
jmp 0x49e4b2
mov rbx, r13
cmp qword [rdi], 0
mov eax, 0
mov r9, qword [rsp + 0xe0]
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc0]
mov r8, rbx
cmovne rdi, rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rax
call fcn.0049de60
test r15d, r15d
jne 0x49e633
test rax, rax
mov edx, 2
cmovne r15d, edx
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x49e680
mov ecx, dword [rdx + 0x2c]
test ecx, ecx
jne 0x49e680
mov r8, qword [r13 + 0x70]
mov rcx, qword [r13 + 0x30]
test r8, r8
je 0x49e659
mov rcx, qword [r13 + 0x68]
add rcx, qword [r8 + 0x30]
test rax, rax
je 0x49e677
add rcx, qword [rax + 0x10]
cmp rcx, qword [rdx + 0x40]
jne 0x49e677
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax]
mov qword [rdx + 0x30], rax
mov dword [rdx + 0x2c], 1
nop
mov rax, qword [rsp + 0xc0]
test byte [rax + 0x40], 0x42
jne 0x49e277
mov edx, dword [rbp + 0x174]
mov rax, qword [rbp + 0x178]
test edx, edx
jle 0x49e277
lea ecx, [rdx - 1]
add rcx, 1
shl rcx, 4
add rcx, rax
mov rdx, qword [rax]
add rax, 0x10
cmp rcx, rax
mov qword [rdx + 0x30], 0
jne 0x49e6b5
jmp 0x49e277
mov rax, qword [rax + 0x30]
mov rdi, qword [rsp + 0xf0]
mov qword [rdi], rax
jmp 0x49e680
mov eax, dword [rbp + 0x180]
lea edx, [rax + 1]
cmp eax, 0x63
mov dword [rbp + 0x180], edx
jle 0x49e217
mov rcx, qword [rsp + 0xc0]
call fcn.004987e0
mov rcx, qword [rsp + 0xc0]
mov qword [rbp + 0x188], rax
call fcn.004987e0
cmp qword [rbp + 0x188], 0
mov qword [rbp + 0x190], rax
je 0x49e9e7
test rax, rax
je 0x49e9e7
mov rcx, rbp
call fcn.0049d360
test eax, eax
je 0x49e9f6
mov dword [rbp + 0x1a0], 1
mov rcx, rbp
call fcn.0049d360
mov r15d, dword [rbp + 0x1a0]
cmp r15d, 1
jne 0x49e217
test byte [rsi + 0x18], 8
jne 0x49e91b
mov rdx, qword [rsi + 8]
mov rcx, qword [rbp + 0x190]
xor r9d, r9d
xor r8d, r8d
mov r14, qword [rsi + 0x20]
call fcn.00443740
test rax, rax
je 0x49e7e0
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x49e7a8
jmp 0x49e7e0
mov rax, qword [rax]
test rax, rax
je 0x49e7e0
mov rdx, qword [rax + 8]
cmp rbx, qword [rdx + 0x28]
jne 0x49e7a0
mov rcx, qword [rdx + 0x30]
cmp r14, rcx
je 0x49e7c0
test rcx, rcx
jne 0x49e7a0
mov rax, qword [rdx + 0x10]
mov qword [rdx + 0x30], r14
mov qword [rdi], rax
mov eax, dword [rdx + 0x18]
mov dword [r12], eax
jmp 0x49e4b8
xor r15d, r15d
jmp 0x49e402
mov r13, qword [rsp + 0xd8]
jmp 0x49e4b8
test r13, r13
je 0x49e8fd
cmp qword [rsp + 0xf0], 0
je 0x49e8fd
cmp qword [rsp + 0xc8], 0
je 0x49e8b0
test byte [r13 + 0x28], 0x10
jne 0x49e8b0
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax]
test rax, rax
je 0x49ea01
mov rdx, qword [rsp + 0xc8]
mov dword [rsp + 0x3c], 0
mov rcx, qword [rsp + 0xc0]
jmp 0x49e870
add rdx, 8
mov rax, qword [rdx]
test rax, rax
je 0x49e8f0
cmp rcx, qword [rax]
jne 0x49e860
cmp r13, qword [rax + 0x20]
jne 0x49e860
mov rbx, qword [rax + 0x10]
cmp qword [rsp + 0xe0], rbx
jne 0x49e860
mov r8d, dword [rax + 0x18]
test r8d, 0x100
jne 0x49e860
and r8d, 2
jne 0x49ea18
mov rsi, rax
mov dword [rsp + 0x3c], 1
jmp 0x49e860
mov rbx, qword [rsp + 0xe0]
mov dword [rsp + 0x3c], 0
jmp 0x49e1c9
add rbx, qword [r13 + 0x30]
jmp 0x49e1de
mov rax, qword [rsp + 0xf0]
cmp qword [rax], 0
jne 0x49e680
jmp 0x49e4e2
mov rbx, qword [rsp + 0xe0]
jmp 0x49e1c9
lea rcx, str._builds_idf_crosstool_NG_.build_HOST_x86_64_w64_mingw32_xtensa_esp32s2_elf_src_binutils_bfd_dwarf2.c
mov edx, 0x139f
call fcn.0043f7d0
jmp 0x49e818
xor r15d, r15d
jmp 0x49e3f5
mov rax, qword [rsi + 0x20]
mov rdx, qword [rsi + 8]
xor r9d, r9d
mov rcx, qword [rbp + 0x188]
xor r8d, r8d
mov qword [rsp + 0x40], rax
call fcn.00443740
test rax, rax
je 0x49e7e0
mov r11, qword [rax + 0x18]
test r11, r11
je 0x49e7e0
mov qword [rsp + 0x48], rbp
mov rbp, qword [rsp + 0x40]
xor r10d, r10d
xor r14d, r14d
mov r9, qword [r11 + 8]
mov rax, r9
add rax, 0x38
je 0x49e9b4
mov rcx, qword [r9 + 0x50]
test rcx, rcx
sete dl
cmp rbp, rcx
sete cl
or edx, ecx
jmp 0x49e989
mov rax, qword [rax]
test rax, rax
je 0x49e9b4
test dl, dl
je 0x49e981
mov rcx, qword [rax + 8]
cmp rbx, rcx
jb 0x49e981
mov r8, qword [rax + 0x10]
cmp rbx, r8
jae 0x49e981
sub r8, rcx
test r14, r14
je 0x49e9ac
cmp r10, r8
jbe 0x49e981
mov r10, r8
mov r14, r9
jmp 0x49e981
mov r11, qword [r11]
test r11, r11
jne 0x49e960
test r14, r14
mov rbp, qword [rsp + 0x48]
je 0x49e7e0
mov rax, qword [rsp + 0x40]
mov qword [r14 + 0x50], rax
mov rax, qword [r14 + 0x18]
mov qword [rdi], rax
mov eax, dword [r14 + 0x24]
mov dword [r12], eax
jmp 0x49e4b8
mov dword [rbp + 0x1a0], 2
jmp 0x49e217
mov eax, dword [rbp + 0x1a0]
jmp 0x49e20e
mov rbx, qword [rsp + 0xe0]
xor esi, esi
mov dword [rsp + 0x3c], 0
jmp 0x49e1c9
mov rbx, qword [rsp + 0xe0]
mov rsi, rax
mov dword [rsp + 0x3c], 1
jmp 0x49e1c9