Function at 0x4a5130
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 0x4a5198
mov rax, qword [rsp + 0xf0]
mov qword [rax], 0
cmp qword [rsp + 0x100], 0
mov dword [r12], 0
je 0x4a51b9
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.004a49d0
test eax, eax
je 0x4a52f4
test rsi, rsi
mov rbp, qword [rbx]
je 0x4a5880
test r13, r13
setne dl
cmp qword [rsp + 0xe0], 0
setne al
or dl, al
jne 0x4a5228
cmp qword [rsp + 0xf0], 0
je 0x4a5239
lea rcx, str._builds_idf_crosstool_NG_.build_HOST_x86_64_w64_mingw32_xtensa_esp32s3_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 0x4a5945
add rbx, qword [r13 + 0x68]
add rbx, qword [rax + 0x30]
cmp qword [rbp + 0x18], 0
je 0x4a52f4
mov eax, dword [rsp + 0x3c]
mov qword [rbp + 0x160], 0
test eax, eax
je 0x4a5321
mov eax, dword [rbp + 0x1a0]
test eax, eax
je 0x4a5761
cmp eax, 1
je 0x4a57d2
mov r14, qword [rbp + 0x90]
test r14, r14
jne 0x4a52c5
jmp 0x4a5860
mov r15d, dword [r14 + 0x44]
test r15d, r15d
je 0x4a5310
mov r14, qword [r14]
test r14, r14
je 0x4a5860
test byte [rsi + 0x18], 8
je 0x4a52d2
cmp qword [r14 + 0x28], 0
jne 0x4a52b0
mov qword [rsp + 0x20], r12
mov r9, rdi
mov r8, rbx
mov rdx, rsi
mov rcx, r14
call fcn.004a3db0
test eax, eax
je 0x4a52b9
mov r15d, eax
jmp 0x4a5538
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.0049fa00
test eax, eax
je 0x4a52b9
jmp 0x4a52d2
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 0x4a5993
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 0x4a53bc
mov r8d, dword [rsi + 0x44]
test r8d, r8d
je 0x4a55f0
xor r8d, r8d
mov rsi, qword [rsi]
test rsi, rsi
je 0x4a5455
cmp qword [rsi + 0x28], 0
jne 0x4a53a0
mov r8, r12
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
mov r9, r13
mov rdx, rbx
mov rcx, rsi
call fcn.004a3f70
xor r8d, r8d
test rax, rax
je 0x4a53b0
cmp rax, rbp
mov r8d, 1
ja 0x4a53b0
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x4a53fe
mov qword [rdi], rdx
mov rdx, qword [rsp + 0x68]
test rdx, rdx
je 0x4a540d
mov qword [rsp + 0x58], rdx
cmp qword [rsp + 0x100], 0
je 0x4a542a
mov edx, dword [rsp + 0x54]
test edx, edx
je 0x4a542a
mov rcx, qword [rsp + 0x100]
mov dword [rcx], edx
mov edx, dword [rsp + 0x50]
test edx, edx
je 0x4a5610
mov rsi, qword [rsi]
mov rcx, qword [rsp + 0xf8]
mov rbp, rax
mov r8d, 1
test rsi, rsi
mov dword [rcx], edx
jne 0x4a53bc
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 0x4a5532
lea rax, [rsp + 0x58]
mov qword [rsp + 0xd8], r13
lea r14, [rbp + 8]
mov r13d, dword [rsp + 0x3c]
mov qword [rsp + 0x40], rax
jmp 0x4a54c5
test byte [rsi + 0x18], 8
je 0x4a5633
cmp qword [r10 + 0x28], 0
je 0x4a5633
mov r11d, dword [r10 + 0x44]
test r11d, r11d
je 0x4a5620
xor r15d, r15d
mov rdx, r14
mov rcx, rbp
call fcn.004a1250
test rax, rax
mov r10, rax
je 0x4a5870
test r13d, r13d
jne 0x4a54a0
cmp qword [r10 + 0x28], 0
je 0x4a5500
mov r9d, dword [r10 + 0x44]
test r9d, r9d
jne 0x4a54c2
mov rdx, rbx
mov rcx, r10
call fcn.0049fa00
test eax, eax
je 0x4a54c2
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.004a3f70
test rax, rax
je 0x4a54c2
mov r13, qword [rsp + 0xd8]
mov r15d, 1
cmp qword [rsp + 0xf0], 0
je 0x4a5700
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x4a5950
mov r8d, dword [rax + 0x2c]
test r8d, r8d
jne 0x4a5750
mov rax, qword [rbp + 8]
cmp qword [rsp + 0xc0], rax
je 0x4a5660
mov rbx, qword [rsp + 0xc0]
mov rsi, qword [rbx + 0x88]
mov rbx, qword [rax + 0x88]
test rbx, rbx
je 0x4a5660
test rsi, rsi
jne 0x4a55ba
jmp 0x4a5660
mov rsi, qword [rsi + 0x18]
mov rbx, qword [rbx + 0x18]
test rsi, rsi
je 0x4a5660
test rbx, rbx
je 0x4a5660
test byte [rbx + 0x29], 0x20
jne 0x4a5660
cmp r13, rsi
jne 0x4a55a0
mov rdx, qword [rbx]
mov rcx, qword [r13]
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x4a55a0
mov rax, qword [rbp + 0x10]
mov qword [rsp + 0xc8], rax
jmp 0x4a5663
mov rdx, rbx
mov rcx, rsi
call fcn.0049fa00
test eax, eax
je 0x4a53b0
jmp 0x4a53c3
mov rbp, rax
mov r8d, 1
jmp 0x4a53b0
mov rdx, rbx
mov rcx, r10
call fcn.0049fa00
test eax, eax
je 0x4a54c2
mov qword [rsp + 0x20], r12
mov r9, rdi
mov r8, rbx
mov rdx, rsi
mov rcx, r10
call fcn.004a3db0
test eax, eax
je 0x4a54c2
mov r13, qword [rsp + 0xd8]
jmp 0x4a5532
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.004a4ee0
test r15d, r15d
jne 0x4a56b3
test rax, rax
mov edx, 2
cmovne r15d, edx
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x4a5700
mov ecx, dword [rdx + 0x2c]
test ecx, ecx
jne 0x4a5700
mov r8, qword [r13 + 0x70]
mov rcx, qword [r13 + 0x30]
test r8, r8
je 0x4a56d9
mov rcx, qword [r13 + 0x68]
add rcx, qword [r8 + 0x30]
test rax, rax
je 0x4a56f7
add rcx, qword [rax + 0x10]
cmp rcx, qword [rdx + 0x40]
jne 0x4a56f7
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 0x4a52f7
mov edx, dword [rbp + 0x174]
mov rax, qword [rbp + 0x178]
test edx, edx
jle 0x4a52f7
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 0x4a5735
jmp 0x4a52f7
mov rax, qword [rax + 0x30]
mov rdi, qword [rsp + 0xf0]
mov qword [rdi], rax
jmp 0x4a5700
mov eax, dword [rbp + 0x180]
lea edx, [rax + 1]
cmp eax, 0x63
mov dword [rbp + 0x180], edx
jle 0x4a5297
mov rcx, qword [rsp + 0xc0]
call fcn.0049f860
mov rcx, qword [rsp + 0xc0]
mov qword [rbp + 0x188], rax
call fcn.0049f860
cmp qword [rbp + 0x188], 0
mov qword [rbp + 0x190], rax
je 0x4a5a67
test rax, rax
je 0x4a5a67
mov rcx, rbp
call fcn.004a43e0
test eax, eax
je 0x4a5a76
mov dword [rbp + 0x1a0], 1
mov rcx, rbp
call fcn.004a43e0
mov r15d, dword [rbp + 0x1a0]
cmp r15d, 1
jne 0x4a5297
test byte [rsi + 0x18], 8
jne 0x4a599b
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 0x4a5860
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x4a5828
jmp 0x4a5860
mov rax, qword [rax]
test rax, rax
je 0x4a5860
mov rdx, qword [rax + 8]
cmp rbx, qword [rdx + 0x28]
jne 0x4a5820
mov rcx, qword [rdx + 0x30]
cmp r14, rcx
je 0x4a5840
test rcx, rcx
jne 0x4a5820
mov rax, qword [rdx + 0x10]
mov qword [rdx + 0x30], r14
mov qword [rdi], rax
mov eax, dword [rdx + 0x18]
mov dword [r12], eax
jmp 0x4a5538
xor r15d, r15d
jmp 0x4a5482
mov r13, qword [rsp + 0xd8]
jmp 0x4a5538
test r13, r13
je 0x4a597d
cmp qword [rsp + 0xf0], 0
je 0x4a597d
cmp qword [rsp + 0xc8], 0
je 0x4a5930
test byte [r13 + 0x28], 0x10
jne 0x4a5930
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax]
test rax, rax
je 0x4a5a81
mov rdx, qword [rsp + 0xc8]
mov dword [rsp + 0x3c], 0
mov rcx, qword [rsp + 0xc0]
jmp 0x4a58f0
add rdx, 8
mov rax, qword [rdx]
test rax, rax
je 0x4a5970
cmp rcx, qword [rax]
jne 0x4a58e0
cmp r13, qword [rax + 0x20]
jne 0x4a58e0
mov rbx, qword [rax + 0x10]
cmp qword [rsp + 0xe0], rbx
jne 0x4a58e0
mov r8d, dword [rax + 0x18]
test r8d, 0x100
jne 0x4a58e0
and r8d, 2
jne 0x4a5a98
mov rsi, rax
mov dword [rsp + 0x3c], 1
jmp 0x4a58e0
mov rbx, qword [rsp + 0xe0]
mov dword [rsp + 0x3c], 0
jmp 0x4a5249
add rbx, qword [r13 + 0x30]
jmp 0x4a525e
mov rax, qword [rsp + 0xf0]
cmp qword [rax], 0
jne 0x4a5700
jmp 0x4a5562
mov rbx, qword [rsp + 0xe0]
jmp 0x4a5249
lea rcx, str._builds_idf_crosstool_NG_.build_HOST_x86_64_w64_mingw32_xtensa_esp32s3_elf_src_binutils_bfd_dwarf2.c
mov edx, 0x139f
call fcn.0043f7d0
jmp 0x4a5898
xor r15d, r15d
jmp 0x4a5475
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 0x4a5860
mov r11, qword [rax + 0x18]
test r11, r11
je 0x4a5860
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 0x4a5a34
mov rcx, qword [r9 + 0x50]
test rcx, rcx
sete dl
cmp rbp, rcx
sete cl
or edx, ecx
jmp 0x4a5a09
mov rax, qword [rax]
test rax, rax
je 0x4a5a34
test dl, dl
je 0x4a5a01
mov rcx, qword [rax + 8]
cmp rbx, rcx
jb 0x4a5a01
mov r8, qword [rax + 0x10]
cmp rbx, r8
jae 0x4a5a01
sub r8, rcx
test r14, r14
je 0x4a5a2c
cmp r10, r8
jbe 0x4a5a01
mov r10, r8
mov r14, r9
jmp 0x4a5a01
mov r11, qword [r11]
test r11, r11
jne 0x4a59e0
test r14, r14
mov rbp, qword [rsp + 0x48]
je 0x4a5860
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 0x4a5538
mov dword [rbp + 0x1a0], 2
jmp 0x4a5297
mov eax, dword [rbp + 0x1a0]
jmp 0x4a528e
mov rbx, qword [rsp + 0xe0]
xor esi, esi
mov dword [rsp + 0x3c], 0
jmp 0x4a5249
mov rbx, qword [rsp + 0xe0]
mov rsi, rax
mov dword [rsp + 0x3c], 1
jmp 0x4a5249