Function at 0x4041f8
Capabilities:
Check for software breakpoints

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov dword [rbp + 0x10], ecx
mov qword [rbp + 0x18], rdx
call fcn.004cb8a0
lea rdx, [0x004edefe]
mov ecx, 2
call sub.msvcrt.dll_setlocale
lea rdx, [0x004edefe]
mov ecx, 1
call sub.msvcrt.dll_setlocale
mov rax, qword [rbp + 0x18]
mov rdx, qword [rax]
mov rax, qword [0x00519820]
mov qword [rax], rdx
mov rax, qword [0x00519820]
mov rax, qword [rax]
mov rcx, rax
call fcn.004cb130
mov rax, qword [0x00519820]
mov rax, qword [rax]
mov rcx, rax
call fcn.0040c9d5
mov rax, qword [0x00519820]
mov rax, qword [rax]
mov rcx, rax
call fcn.004875cd
lea rax, [rbp + 0x18]
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.004c223d
call fcn.00411e00
cmp eax, 0x118
je 0x40429d
lea rcx, str.fatal_error:_libbfd_ABI_mismatch
call fcn.0040492e
call fcn.004049a0
jmp case.0x4042d6.0
cmp dword [rbp - 8], 0xcc
ja case.0x4042d6.1
mov eax, dword [rbp - 8]
lea rdx, [rax*4]
lea rax, [0x004ee014]
mov eax, dword [rdx + rax]
movsxd rdx, eax
lea rax, [0x004ee014]
add rax, rdx
jmp rax
mov dword [0x0052e040], 1
jmp case.0x4042d6.0
mov dword [0x0052e078], 1
jmp case.0x4042d6.0
lea rcx, [0x004edf21]
call fcn.004016d3
jmp case.0x4042d6.0
mov dword [0x0052e030], 1
mov rax, qword [0x005197f0]
mov rax, qword [rax]
test rax, rax
je case.0x4042d6.0
mov rax, qword [0x005197f0]
mov rax, qword [rax]
mov rcx, rax
call fcn.004b72d0
mov dword [rbp - 0xc], eax
cmp dword [rbp - 0xc], 0
jne 0x404358
mov rax, qword [0x005197f0]
mov rax, qword [rax]
mov rdx, rax
lea rcx, str.unknown_demangling_style___s
call fcn.0040492e
mov eax, dword [rbp - 0xc]
mov ecx, eax
call fcn.004b7280
jmp case.0x4042d6.0
mov eax, dword [0x004cf0a0]
and eax, 0xfffbffff
mov dword [0x004cf0a0], eax
jmp case.0x4042d6.0
mov eax, dword [0x004cf0a0]
or eax, 0x40000
mov dword [0x004cf0a0], eax
jmp case.0x4042d6.0
mov dword [0x0052e05c], 1
jmp case.0x4042d6.0
mov rax, qword [0x005197f0]
mov rax, qword [rax]
mov rcx, rax
call fcn.004016d3
jmp case.0x4042d6.0
mov dword [0x0052e034], 1
jmp case.0x4042d6.0
mov rax, qword [sym.imp.msvcrt.dll___iob_func]
call rax
add rax, 0x30
mov edx, 0
mov rcx, rax
call fcn.00401560
mov dword [0x0052e068], 1
jmp case.0x4042d6.0
mov dword [0x0052e03c], 0
mov dword [0x0052e050], 1
mov dword [0x0052e054], 0
jmp case.0x4042d6.0
mov dword [0x0052e03c], 1
mov dword [0x0052e050], 0
mov dword [0x0052e054], 0
jmp case.0x4042d6.0
mov dword [0x0052e03c], 0
mov dword [0x0052e050], 0
mov dword [0x0052e054], 1
jmp case.0x4042d6.0
lea rcx, str.posix
call fcn.004016d3
jmp case.0x4042d6.0
mov dword [0x0052e04c], 1
jmp case.0x4042d6.0
mov dword [0x0052e044], 1
jmp case.0x4042d6.0
mov dword [0x0052e048], 1
jmp case.0x4042d6.0
mov rax, qword [0x005197f0]
mov rax, qword [rax]
mov rcx, rax
call fcn.0040163f
jmp case.0x4042d6.0
mov dword [0x0052e058], 1
jmp case.0x4042d6.0
mov dword [0x0052e060], 1
jmp case.0x4042d6.0
mov rax, qword [0x005197f0]
mov rax, qword [rax]
lea rdx, str.32_64
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
je case.0x4042d6.0
lea rcx, str.Only__X_32_64_is_supported
call fcn.0040492e
mov rax, qword [0x005197f0]
mov rax, qword [rax]
mov qword [0x0052e080], rax
jmp case.0x4042d6.0
mov rax, qword [0x005197f0]
mov rax, qword [rax]
mov rcx, rax
call fcn.00487a10
jmp case.0x4042d6.0
mov rax, qword [sym.imp.msvcrt.dll___iob_func]
call rax
add rax, 0x60
mov edx, 1
mov rcx, rax
call fcn.00401560
mov rdx, qword [rbp + 0x18]
mov eax, dword [rbp + 0x10]
mov qword [rsp + 0x20], 0
lea r9, str.debug_syms
lea r8, str.aABCDef:gHhlnopPrSst:uvVvX:
mov ecx, eax
call fcn.004c6fc0
mov dword [rbp - 8], eax
cmp dword [rbp - 8], 0xffffffff
jne 0x4042a7
mov eax, dword [0x0052e060]
test eax, eax
je 0x404579
lea rcx, [0x004edf86]
call fcn.00405a10
mov eax, dword [0x0052e054]
test eax, eax
je 0x4045af
mov eax, dword [0x0052e058]
test eax, eax
je 0x4045af
lea rcx, str.Using_the___size_sort_and___undefined_only_options_together
call fcn.00404969
lea rcx, str.will_produce_no_output__since_undefined_symbols_have_no_size.
call fcn.00404969
mov eax, 0
jmp 0x40464c
mov rax, qword [0x00519800]
mov edx, dword [rax]
mov eax, dword [rbp + 0x10]
cmp edx, eax
jne 0x4045d5
lea rcx, [0x004ee00e]
call fcn.004037d0
test eax, eax
sete al
movzx eax, al
jmp 0x40464c
mov dword [rbp - 4], 0
mov edx, dword [rbp + 0x10]
mov rax, qword [0x00519800]
mov eax, dword [rax]
sub edx, eax
mov eax, edx
cmp eax, 1
jle 0x404632
mov dword [0x0052e074], 1
jmp 0x404632
mov r8, qword [rbp + 0x18]
mov rax, qword [0x00519800]
mov eax, dword [rax]
lea ecx, [rax + 1]
mov rdx, qword [0x00519800]
mov dword [rdx], ecx
cdqe
shl rax, 3
add rax, r8
mov rax, qword [rax]
mov rcx, rax
call fcn.004037d0
test eax, eax
jne 0x404632
add dword [rbp - 4], 1
mov rax, qword [0x00519800]
mov edx, dword [rax]
mov eax, dword [rbp + 0x10]
cmp edx, eax
jl 0x4045fd
mov eax, dword [rbp - 4]
mov ecx, eax
call sub.msvcrt.dll_exit
add rsp, 0x40
pop rbp
ret