Function at 0x140001c60
Capabilities:
Print debug messages

Disassembly:
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x470
mov rax, qword [0x140022018]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov qword [rsp + 0x50], 0x20
mov rcx, qword [rsp + 0x50]
call fcn.1400021f8
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x140001cbc
mov rdi, qword [rsp + 0x48]
xor eax, eax
mov rcx, qword [rsp + 0x50]
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x58], rax
jmp 0x140001cc5
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
cmp dword [rsp + 0x480], 0
jge 0x140001d29
cmp dword [rsp + 0x480], 0
jge 0x140001ced
cmp dword [rsp + 0x488], 0xa
je 0x140001d29
lea rax, str.Negative_value_without_base_10
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x20
lea r9, [0x140017330]
lea r8, [0x140017370]
mov edx, 0x100
lea rcx, [rsp + 0x60]
call fcn.140002020
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [rsp + 0x488], 8
je 0x140001d89
cmp dword [rsp + 0x488], 0xa
je 0x140001d89
cmp dword [rsp + 0x488], 0x10
je 0x140001d89
lea rax, str.Invalid_Base
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x22
lea r9, [0x1400173b8]
lea r8, [0x1400173f8]
mov edx, 0x100
lea rcx, [rsp + 0x160]
call fcn.140002020
lea rcx, [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [rsp + 0x480], 0x80000001
jge 0x140001dd8
lea rax, str.Value_too_low
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x23
lea r9, [0x140017440]
lea r8, [0x140017480]
mov edx, 0x100
lea rcx, [rsp + 0x260]
call fcn.140002020
lea rcx, [rsp + 0x260]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [rsp + 0x480], 0x7fffffff
jle 0x140001e27
lea rax, str.Value_too_large
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x24
lea r9, str.D:ProgrammingChallengesEpicGamesEpicGamesTest_srcmain.cpp
lea r8, str.VALIDATION_ERROR:_Result_will_be_invalid:___s____d_n_s_n
mov edx, 0x100
lea rcx, [rsp + 0x360]
call fcn.140002020
lea rcx, [rsp + 0x360]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [rsp + 0x30], 0
mov byte [rsp + 0x34], 0
cmp dword [rsp + 0x480], 0
jne 0x140001e58
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov byte [rcx + rax], 0x30
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
jmp 0x140001e80
cmp dword [rsp + 0x480], 0
jge 0x140001e80
cmp dword [rsp + 0x488], 0xa
jne 0x140001e80
mov byte [rsp + 0x34], 1
imul eax, dword [rsp + 0x480], 0xffffffff
mov dword [rsp + 0x480], eax
cmp dword [rsp + 0x480], 0
je 0x140001ef0
mov eax, dword [rsp + 0x480]
cdq
idiv dword [rsp + 0x488]
mov eax, edx
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0x10
jl 0x140001eb1
mov dword [0], 0
movsxd rax, dword [rsp + 0x40]
lea rcx, str.0123456789ABCDEF
movsxd rdx, dword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
movzx eax, byte [rcx + rax]
mov byte [rdi + rdx], al
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x480]
cdq
idiv dword [rsp + 0x488]
mov dword [rsp + 0x480], eax
jmp 0x140001e80
movzx eax, byte [rsp + 0x34]
test eax, eax
je 0x140001f11
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov byte [rcx + rax], 0x2d
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov byte [rcx + rax], 0
cmp dword [rsp + 0x30], 0x20
jl 0x140001f31
mov dword [0], 0
movsxd rax, dword [rsp + 0x30]
mov rdx, rax
mov rcx, qword [rsp + 0x38]
call fcn.140002070
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.140002290
add rsp, 0x470
pop rdi
ret