Function at 0x4c1a70
Capabilities:
Query environment variable

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
lea rbx, [0x004ca7d8]
xor esi, esi
mov qword [rsp + 0x68], rdx
mov dword [rsp + 0x60], ecx
call fcn.004be880
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
mov qword [0x00519458], rcx
call fcn.004be580
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x60]
call fcn.004b8e30
mov rdi, qword [0x00506200]
mov rbp, rdi
nop
mov rdx, qword [rsp + 0x68]
lea r9, str.line
mov qword [rsp + 0x20], 0
mov ecx, dword [rsp + 0x60]
lea r8, str.aA::bBcC::d::De:E:f:F:hiI:J::k:lLm:n:N:O:p::P::q::Q::rR:sS:t:Tvw:xyzZ::
call fcn.004c0dc0
cmp eax, 0xffffffff
je 0x4c1b3e
sub eax, 0x41
cmp eax, 0x57
ja case.0x4c1afd.72
movsxd rax, dword [rbx + rax*4]
add rax, rbx
jmp rax
mov r12, qword [0x00506200]
mov r12, qword [r12]
test r12, r12
je case.0x4c1afd.66
mov edx, 0x2f
mov rcx, r12
call sub.msvcrt.dll_strchr
test rax, rax
je 0x4c23d0
mov edx, 2
mov rcx, r12
call fcn.0040a520
or dword [0x00513cf0], 2
or esi, 2
jmp 0x4c1ac0
mov eax, esi
and eax, 0xc0
cmp eax, 0xc0
je 0x4c252d
test byte [0x00513cf0], 4
je 0x4c1b63
mov dword [0x00513ce0], 1
lea rcx, str.GPROF_PATH
call sub.msvcrt.dll_getenv
test rax, rax
je 0x4c1b83
mov rcx, qword [0x00506280]
mov rdx, rax
call fcn.00409be0
mov rdi, qword [0x00506210]
mov edx, dword [rsp + 0x60]
mov eax, dword [rdi]
cmp eax, edx
jge 0x4c1bcc
mov rcx, qword [rsp + 0x68]
lea r8d, [rax + 1]
movsxd r9, eax
lea r10, [r9*8]
cmp edx, r8d
mov dword [rdi], r8d
mov r9, qword [rcx + r9*8]
mov qword [0x004c3610], r9
jle 0x4c1bcc
add eax, 2
mov dword [rdi], eax
mov rax, qword [rcx + r10 + 8]
mov qword [str.gmon.out], rax
mov rcx, qword [str._gprof_mcount]
test rcx, rcx
je 0x4c1c12
lea rbx, str._gprof_mcount
nop
mov edx, 7
add rbx, 8
call fcn.0040a520
mov rcx, qword [rbx - 8]
mov edx, 1
call fcn.0040a520
mov rcx, qword [rbx - 8]
mov edx, 5
call fcn.0040a520
mov rcx, qword [rbx]
test rcx, rcx
jne 0x4c1be0
mov rcx, qword [0x004c3610]
call fcn.00406150
cmp dword [0x00513ce8], 0
jne 0x4c22f7
mov rcx, qword [0x00513d00]
test rcx, rcx
je 0x4c2216
call fcn.004066a0
call fcn.0040a590
cmp dword [0x00513cd0], 4
je 0x4c255b
mov rcx, qword [str.gmon.out]
call fcn.004075b0
mov eax, dword [rdi]
cmp eax, dword [rsp + 0x60]
jge 0x4c1c8b
mov rdx, qword [rsp + 0x68]
movsxd rcx, eax
add eax, 1
mov rcx, qword [rdx + rcx*8]
mov dword [rdi], eax
mov qword [str.gmon.out], rcx
call fcn.004075b0
mov eax, dword [rdi]
cmp eax, dword [rsp + 0x60]
jl 0x4c1c66
add eax, 1
mov rbx, qword [0x005060d0]
mov dword [rdi], eax
mov eax, dword [0x00513cf0]
test eax, eax
jne 0x4c1cd4
mov eax, dword [rbx]
test al, 3
je 0x4c230b
test al, 1
je 0x4c1cb9
mov dword [0x00513cf0], 1
test al, 2
je 0x4c1cc4
or dword [0x00513cf0], 2
mov eax, dword [0x00513cf0]
not esi
and eax, esi
mov dword [0x00513cf0], eax
test al, 4
jne 0x4c2374
test byte [rbx], 1
jne 0x4c236a
xor esi, esi
test byte [rbx], 2
jne 0x4c2385
mov edx, dword [0x00513cf0]
mov eax, edx
and eax, 1
je 0x4c1d06
test byte [rbx], 1
je 0x4c24a0
test dl, 2
je 0x4c222d
test byte [rbx], 2
je 0x4c24ff
test rsi, rsi
je 0x4c2342
cmp dword [0x00513cec], 0
je 0x4c2236
mov rcx, rsi
call fcn.004044a0
mov edx, dword [0x00513cf0]
test dl, 1
je 0x4c223e
call fcn.004089c0
mov edx, dword [0x00513cf0]
jmp 0x4c223e
mov dword [0x00513cd4], 1
jmp 0x4c1ac0
mov dword [0x004c3604], 0
jmp 0x4c1ac0
mov dword [0x004c3604], 1
mov rcx, qword [rdi]
test rcx, rcx
je 0x4c1ac0
call fcn.004a92a0
test eax, eax
je 0x4c246c
mov ecx, eax
call fcn.004a9260
jmp 0x4c1ac0
mov dword [0x004c3600], 0
jmp 0x4c1ac0
mov rax, qword [0x00505fe0]
mov dword [rax], 1
jmp 0x4c1ac0
mov rax, qword [0x00505eb0]
mov dword [rax], 1
jmp 0x4c1ac0
mov r12, qword [0x00506200]
mov rcx, qword [r12]
call sub.msvcrt.dll_atoi
mov edx, 1
test eax, eax
cmovle eax, edx
mov dword [0x004c3608], eax
jmp 0x4c1ac0
lea rdx, [0x004ca5b0]
lea rcx, str.GNU_gprof__s_n
call sub.msvcrt.dll_printf
lea rcx, str.Based_on_BSD_gprof__copyright_1983_Regents_of_the_University_of_California.
call sub.msvcrt.dll_puts
lea rcx, str.This_program_is_free_software.__This_program_has_absolutely_no_warranty.
call sub.msvcrt.dll_puts
xor ecx, ecx
call sub.msvcrt.dll_exit
mov r12, qword [0x00506200]
mov rcx, qword [r12]
call sub.msvcrt.dll_atoi
test eax, eax
js 0x4c2392
mov rdx, qword [0x00505ed0]
mov dword [rdx], eax
jmp 0x4c1ac0
or dword [0x00513cf0], 4
or esi, 4
jmp 0x4c1ac0
or dword [0x00513cf0], 0x40
or esi, 0x40
jmp 0x4c1ac0
mov r12, qword [0x00506200]
mov rcx, qword [r12]
test rcx, rcx
je 0x4c1e8a
mov edx, 4
call fcn.0040a520
or dword [0x00513cf0], 1
or esi, 1
jmp 0x4c1ac0
mov r12, qword [0x00506200]
mov edx, 6
mov rcx, qword [r12]
call fcn.0040a520
jmp 0x4c1ac0
mov r12, qword [0x00506200]
xor edx, edx
mov r8d, 0xa
mov rcx, qword [r12]
call sub.msvcrt.dll_strtoul
mov rdx, qword [0x00505ec0]
mov dword [rdx], eax
jmp 0x4c1ac0
mov dword [0x00513ce0], 1
jmp 0x4c1ac0
mov r12, qword [0x00506200]
mov edx, 3
mov rcx, qword [r12]
call fcn.0040a520
jmp 0x4c1ac0
or dword [0x00513cf0], 0x20
or esi, 0x20
jmp 0x4c1ac0
mov r12, qword [0x00506200]
mov edx, 5
mov rcx, qword [r12]
call fcn.0040a520
jmp 0x4c1ac0
mov r12, qword [0x00506200]
mov rcx, qword [r12]
test rcx, rcx
je 0x4c229d
call sub.msvcrt.dll_atoi
or eax, dword [0x00513cf4]
mov edx, eax
or edx, 1
test dl, 1
mov dword [0x00513cf4], edx
je 0x4c1ac0
jmp 0x4c22aa
mov dword [0x00513ce8], 1
jmp 0x4c1ac0
mov r12, qword [0x00506200]
mov rcx, qword [0x00506280]
mov rdx, qword [r12]
call fcn.00409be0
jmp 0x4c1ac0
mov r12, qword [0x00506200]
mov edx, 4
mov rcx, qword [r12]
call fcn.0040a520
jmp 0x4c1ac0
mov r12, qword [0x00506200]
mov edx, 6
mov rcx, qword [r12]
call fcn.0040a520
mov rcx, qword [r12]
xor edx, edx
call fcn.0040a520
jmp 0x4c1ac0
mov r12, qword [0x00506200]
mov edx, 7
mov rcx, qword [r12]
call fcn.0040a520
mov rcx, qword [r12]
mov edx, 1
call fcn.0040a520
jmp 0x4c1ac0
mov dword [0x00513cd8], 1
jmp 0x4c1ac0
mov r12, qword [0x00506200]
mov rcx, qword [r12]
test rcx, rcx
je 0x4c201e
mov edx, 0xa
call fcn.0040a520
or dword [0x00513cf0], 8
or esi, 8
jmp 0x4c1ac0
mov r12, qword [0x00506200]
mov rcx, qword [r12]
test rcx, rcx
je 0x4c2047
mov edx, 8
call fcn.0040a520
or dword [0x00513cf0], 0x10
or esi, 0x10
jmp 0x4c1ac0
mov r12, qword [0x00506200]
test byte [0x00513cf4], 0x80
mov rdx, qword [r12]
mov qword [0x00513d00], rdx
je 0x4c1ac0
lea rcx, str.external_symbol_table:__s_n
call sub.msvcrt.dll_printf
jmp 0x4c1ac0
mov r12, qword [0x00506200]
or sil, 0x80
or dword [0x00513cf0], 0x80
mov rax, qword [r12]
mov qword [0x00519460], rax
jmp 0x4c1ac0
mov r12, qword [0x00506200]
mov r12, qword [r12]
test r12, r12
je 0x4c23c4
mov edx, 0x2f
mov rcx, r12
call sub.msvcrt.dll_strchr
test rax, rax
je 0x4c23df
mov edx, 3
mov rcx, r12
call fcn.0040a520
or dword [0x00513cf0], 2
or esi, 2
jmp 0x4c1ac0
mov r12, qword [0x00506200]
mov rcx, qword [r12]
test rcx, rcx
je 0x4c2285
mov edx, 5
call fcn.0040a520
or dword [0x00513cf0], 1
or esi, 1
jmp 0x4c1ac0
mov r12, qword [0x00506200]
mov r12, qword [r12]
movzx eax, byte [r12]
cmp al, 0x62
je 0x4c23f1
jg 0x4c22bb
cmp al, 0x34
je 0x4c2333
cmp al, 0x61
jne 0x4c24ce
mov dword [0x00513cd0], 0
jmp 0x4c1ac0
mov dword [0x00513cdc], 1
jmp 0x4c1ac0
mov r12, qword [0x00506200]
mov edx, 7
mov rcx, qword [r12]
call fcn.0040a520
jmp 0x4c1ac0
mov r12, qword [0x00506200]
mov rcx, qword [r12]
test rcx, rcx
je 0x4c2291
mov edx, 9
call fcn.0040a520
or dword [0x00513cf0], 0x10
or esi, 0x10
jmp 0x4c1ac0
mov dword [0x004c35fc], 0
jmp 0x4c1ac0
mov rcx, qword [rbp]
test rcx, rcx
je 0x4c2279
mov edx, 0xb
call fcn.0040a520
or dword [0x00513cf0], 8
jmp 0x4c21a9
mov dword [0x00513cec], 1
jmp 0x4c1ac0
mov dword [0x00513ce4], 1
jmp 0x4c1ac0
mov r12, qword [0x00506200]
jmp 0x4c1fbd
mov r12, qword [0x00506200]
jmp 0x4c1fe2
cmp dword [0x00513ce0], 0
je 0x4c231a
call fcn.00406d50
jmp 0x4c1c40
test rsi, rsi
je 0x4c2342
test eax, eax
jne 0x4c1d45
test dl, 2
jne 0x4c22d6
test dl, 8
jne 0x4c235a
test dl, 0x10
jne 0x4c23b4
test dl, 0x40
jne 0x4c23a4
and dl, 0x80
je 0x4c226c
call fcn.00405820
xor eax, eax
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
and dword [0x00513cf0], 0xfffffff7
jmp 0x4c21a9
and dword [0x00513cf0], 0xfffffffe
jmp 0x4c2116
and dword [0x00513cf0], 0xffffffef
jmp 0x4c21a9
mov dword [0x00513cf4], 0xffffffff
or edx, 0xffffffff
lea rcx, str._main__debug_level0x_x_n
call sub.msvcrt.dll_printf
jmp 0x4c1ac0
cmp al, 0x6d
je 0x4c2324
cmp al, 0x70
jne 0x4c24ce
mov dword [0x00513cd0], 4
jmp 0x4c1ac0
cmp dword [0x00513cec], 0
jne 0x4c22e7
mov rcx, rsi
call fcn.004044a0
call fcn.00404db0
mov edx, dword [0x00513cf0]
jmp 0x4c2247
mov rax, qword [0x00505fb0]
mov rcx, qword [rax]
call fcn.00406440
jmp 0x4c1c2b
mov dword [0x00513cf0], 8
jmp 0x4c1cc4
call fcn.004069a0
jmp 0x4c1c40
mov dword [0x00513cd0], 1
jmp 0x4c1ac0
mov dword [0x00513cd0], 3
jmp 0x4c1ac0
test eax, eax
je 0x4c2247
call fcn.004089c0
mov edx, dword [0x00513cf0]
jmp 0x4c2247
call fcn.00401d00
mov edx, dword [0x00513cf0]
jmp 0x4c2250
call fcn.00408400
jmp 0x4c1ce5
lea rcx, str.gmon.sum
call fcn.00407e30
jmp 0x4c1cdc
call fcn.00402970
mov rsi, rax
jmp 0x4c1cf0
mov rax, qword [0x00505ed0]
mov dword [rax], 0
jmp 0x4c1ac0
call fcn.00405260
mov edx, dword [0x00513cf0]
jmp 0x4c2262
call fcn.00401ef0
mov edx, dword [0x00513cf0]
jmp 0x4c2259
and dword [0x00513cf0], 0xfffffffd
jmp 0x4c20e9
xor edx, edx
mov rcx, r12
call fcn.0040a520
jmp case.0x4c1afd.66
mov edx, 1
mov rcx, r12
call fcn.0040a520
jmp 0x4c20e2
mov dword [0x00513cd0], 2
jmp 0x4c1ac0
mov ecx, 1
call qword [fcn.004c1900]
mov r8, qword [0x00519458]
lea rdx, str.Usage:__s____abcDhilLsTvwxyz______ACeEfFJnNOpPqSQZ__name_____I_dirs__n_t__d_num_____k_from_to____m_min_count____t_table_length__n_t____no__annotated_source_name_______no__exec_counts_name___n_t____no__flat_profile_name_______no__graph_name___n_t____no__timename_____all_lines_____brief_____debug_level___n_t___function_ordering_____file_ordering_____inline_file_names__n_t___directory_pathdirs_____display_unused_functions__n_t___file_formatname_____file_info_____help_____line_____min_countn__n_t___no_static_____print_path_____separate_files__n_t___static_call_graph_____sum_____table_lengthlen_____traditional__n_t___version_____widthn_____ignore_non_functions__n_t___demangle_STYLE______no_demangle_____external_symbol_tablename____FILE__n_t_image_file___profile_file...__n
mov rbx, rax
mov rcx, rax
call sub.msvcrt.dll_fprintf
lea r8, str._http:__www.sourceware.org_bugzilla__
mov rcx, rbx
lea rdx, str.Report_bugs_to__s_n
call sub.msvcrt.dll_fprintf
xor ecx, ecx
call sub.msvcrt.dll_exit
mov ecx, 2
call qword [fcn.004c1900]
mov r8, qword [0x00519458]
lea rdx, str.Usage:__s____abcDhilLsTvwxyz______ACeEfFJnNOpPqSQZ__name_____I_dirs__n_t__d_num_____k_from_to____m_min_count____t_table_length__n_t____no__annotated_source_name_______no__exec_counts_name___n_t____no__flat_profile_name_______no__graph_name___n_t____no__timename_____all_lines_____brief_____debug_level___n_t___function_ordering_____file_ordering_____inline_file_names__n_t___directory_pathdirs_____display_unused_functions__n_t___file_formatname_____file_info_____help_____line_____min_countn__n_t___no_static_____print_path_____separate_files__n_t___static_call_graph_____sum_____table_lengthlen_____traditional__n_t___version_____widthn_____ignore_non_functions__n_t___demangle_STYLE______no_demangle_____external_symbol_tablename____FILE__n_t_image_file___profile_file...__n
mov rcx, rax
call sub.msvcrt.dll_fprintf
mov ecx, 1
call sub.msvcrt.dll_exit
mov rsi, qword [rdi]
mov ecx, 2
mov rbx, qword [0x00519458]
call qword [fcn.004c1900]
lea rdx, str._s:_unknown_demangling_style___s_n
mov rcx, rax
mov r9, rsi
mov r8, rbx
call sub.msvcrt.dll_fprintf
mov ecx, 1
call fcn.004be560
mov rbx, qword [0x00519458]
mov ecx, 2
call qword [fcn.004c1900]
lea rdx, str._s:_gmon.out_file_is_missing_histogram_n
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_fprintf
mov ecx, 1
call sub.msvcrt.dll_exit
mov rbx, qword [0x00519458]
mov ecx, 2
call qword [fcn.004c1900]
lea rdx, str._s:_unknown_file_format__s_n
mov r8, r12
mov rcx, rax
mov r9, rbx
call sub.msvcrt.dll_fprintf
mov ecx, 1
call sub.msvcrt.dll_exit
mov rbx, qword [0x00519458]
mov ecx, 2
call qword [fcn.004c1900]
lea rdx, str._s:_gmon.out_file_is_missing_call_graph_data_n
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_fprintf
mov ecx, 1
call sub.msvcrt.dll_exit
mov rbx, qword [0x00519458]
mov ecx, 2
call qword [fcn.004c1900]
lea rdx, str._s:_Only_one_of___function_ordering_and___file_ordering_may_be_specified._n
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_fprintf
mov ecx, 1
call sub.msvcrt.dll_exit
mov rbx, qword [0x00519458]
mov ecx, 2
call qword [fcn.004c1900]
lea rdx, str._s:_sorry__file_format__prof_is_not_yet_supported_n
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_fprintf
mov ecx, 1
call sub.msvcrt.dll_exit
nop
nop
nop
nop
nop
nop
nop