Function at 0x565880
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, 0x118
cmp dword [rdx], 1
mov qword [rsp + 0x160], rcx
mov r15, rdx
mov r13, r8
mov dword [rsp + 0x178], r9d
jle 0x5658c1
lea rdx, str.Tcl_AppendFormatToObj
lea rcx, str._s_called_with_shared_object
call fcn.00552d60
cmp qword [r15 + 8], 0
je 0x566962
mov eax, dword [r15 + 0x10]
mov dword [rsp + 0xa4], eax
mov edx, 0x7fffffff
lea rbp, [rsp + 0xa2]
mov rbx, r13
sub edx, eax
lea rax, [rsp + 0xb4]
mov dword [rsp + 0x4c], 0
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x60], 0
xor r14d, r14d
mov qword [rsp + 0x90], rax
mov rax, qword [0x00670b10]
mov dword [rsp + 0x3c], 0
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rax
cmp byte [r13], 0
je 0x565961
mov rcx, r13
mov rdx, rbp
call fcn.00571ad0
movsxd rcx, eax
add r13, rcx
cmp word [rsp + 0xa2], 0x25
je 0x5659b0
add r14d, eax
cmp byte [r13], 0
jne 0x56593b
xor eax, eax
test r14d, r14d
je 0x5663b0
cmp dword [rsp + 0x34], r14d
lea rcx, [0x0065e5e8]
jl 0x566377
mov qword [rsp + 0x20], 0
mov r9d, 0x7fffffff
mov r8d, r14d
mov rdx, rbx
mov rcx, r15
mov dword [rsp + 0x34], eax
call fcn.005652b0
mov eax, dword [rsp + 0x34]
jmp 0x5663b0
test r14d, r14d
je 0x5659e8
mov edi, dword [rsp + 0x34]
cmp r14d, edi
jg 0x5667ec
mov qword [rsp + 0x20], 0
mov r9d, 0x7fffffff
mov r8d, r14d
mov rdx, rbx
mov rcx, r15
call fcn.005652b0
mov eax, edi
sub eax, r14d
mov dword [rsp + 0x34], eax
mov rdx, rbp
mov rcx, r13
call fcn.00571ad0
mov r14d, eax
movzx eax, word [rsp + 0xa2]
cmp ax, 0x25
je 0x565bd0
movzx eax, al
sub eax, 0x30
cmp eax, 9
jbe 0x565be0
mov edx, dword [rsp + 0x60]
test edx, edx
jne 0x566bcd
mov dword [rsp + 0x4c], 1
mov eax, dword [rsp + 0x3c]
cmp eax, dword [rsp + 0x178]
jge 0x566b1e
shr eax, 0x1f
test al, al
jne 0x566b1e
lea rbx, [0x0065e6d0]
xor r12d, r12d
mov dword [rsp + 0x48], 0
xor esi, esi
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov eax, r14d
nop
movzx edx, word [rsp + 0xa2]
lea r8d, [rdx - 0x20]
cmp r8w, 0x10
ja case.0x565a8e.1
movzx r8d, r8w
movsxd r8, dword [rbx + r8*4]
add r8, rbx
jmp r8
mov esi, 1
cdqe
mov rdx, rbp
add r13, rax
mov rcx, r13
call fcn.00571ad0
jmp 0x565a70
mov dword [rsp + 0x38], 1
jmp 0x565a96
mov r12d, 1
jmp 0x565a96
mov dword [rsp + 0x40], 1
jmp 0x565a96
mov dword [rsp + 0x48], 1
jmp 0x565a96
movsxd r14, eax
movzx eax, dl
mov ebx, esi
sub eax, 0x30
mov dword [rsp + 0xa8], 0
cmp eax, 9
jbe 0x565c40
xor eax, eax
cmp dx, 0x2a
je 0x5663f0
cmp dword [rsp + 0x34], eax
jl 0x5667ec
movzx eax, word [rsp + 0xa2]
mov dword [rsp + 0xac], 0
mov dword [rsp + 0x64], 0
cmp ax, 0x2e
je 0x5664d0
movzx edx, al
sub edx, 0x30
cmp edx, 9
jbe 0x565c80
cmp ax, 0x2a
je 0x566460
cmp ax, 0x68
je 0x565cc5
cmp ax, 0x6c
mov dword [rsp + 0x68], 0
mov dword [rsp + 0x6c], 0
mov dword [rsp + 0x70], 0
je 0x56666c
movsxd rdx, dword [rsp + 0x3c]
mov rdi, qword [rsp + 0x180]
cmp ax, 0x69
mov rdi, qword [rdi + rdx*8]
je 0x565d00
cmp ax, 0x78
ja case.0x565bc5.1
lea rdx, [0x0065e714]
movzx ecx, ax
movsxd rcx, dword [rdx + rcx*4]
add rdx, rcx
jmp rdx
movsxd rax, r14d
mov rbx, r13
add r13, rax
jmp 0x565934
lea rdx, [rsp + 0xb8]
mov r8d, 0xa
mov rcx, r13
call sub.msvcrt.dll_strtoul
mov rdx, qword [rsp + 0xb8]
cmp byte [rdx], 0x24
jne 0x565a17
lea r13, [rdx + 1]
sub eax, 1
mov rdx, rbp
mov dword [rsp + 0x3c], eax
mov rcx, r13
call fcn.00571ad0
mov r11d, dword [rsp + 0x4c]
mov r14d, eax
test r11d, r11d
jne 0x566bcd
mov dword [rsp + 0x60], 1
jmp 0x565a2b
lea rdx, [rsp + 0xb8]
mov rcx, r13
mov r8d, 0xa
call sub.msvcrt.dll_strtoul
mov r13, qword [rsp + 0xb8]
mov dword [rsp + 0xa8], eax
mov rdx, rbp
mov rcx, r13
call fcn.00571ad0
movsxd r14, eax
mov eax, dword [rsp + 0xa8]
jmp 0x565b1b
lea rdx, [rsp + 0xb8]
mov rcx, r13
mov r8d, 0xa
call sub.msvcrt.dll_strtoul
mov r13, qword [rsp + 0xb8]
mov dword [rsp + 0xac], eax
mov rdx, rbp
mov rcx, r13
call fcn.00571ad0
movsxd r14, eax
movzx eax, word [rsp + 0xa2]
cmp ax, 0x68
jne 0x565b6d
add r13, r14
mov rdx, rbp
mov rcx, r13
call fcn.00571ad0
mov dword [rsp + 0x68], 0
movsxd r14, eax
mov dword [rsp + 0x6c], 0
movzx eax, word [rsp + 0xa2]
mov dword [rsp + 0x70], 1
jmp 0x565b8f
mov r10d, 0x64
mov word [rsp + 0xa2], r10w
mov ecx, dword [rsp + 0x68]
test ecx, ecx
je 0x565f0e
lea rax, [rsp + 0xd0]
mov rcx, qword [rsp + 0x160]
mov rdx, rdi
mov r8, rax
mov qword [rsp + 0x50], rax
call fcn.005524e0
test eax, eax
jne 0x56639c
mov rcx, qword [rsp + 0x50]
xor edx, edx
call fcn.0057d990
cmp eax, 0xffffffff
sete al
movzx eax, al
mov dword [rsp + 0x50], eax
call fcn.00550ef0
add dword [rax], 1
mov rdi, rax
mov eax, dword [rsp + 0x48]
or eax, r12d
or eax, dword [rsp + 0x50]
jne 0x56660b
xor edx, edx
movzx r8d, word [rsp + 0xa2]
mov dword [rsp + 0x48], 0x7fffffff
mov word [rsp + 0x98], dx
jmp 0x565fa9
mov rcx, qword [rsp + 0x160]
lea r8, [rsp + 0xc0]
mov rdx, rdi
call fcn.00551960
test eax, eax
jne 0x56639c
mov eax, dword [rsp + 0x38]
mov byte [rsp + 0xd0], 0x25
test eax, eax
jne 0x5664f6
lea rax, [rsp + 0xd0]
lea rdi, [rsp + 0xd1]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x565df8
mov byte [rdi], 0x23
add rdi, 1
test esi, esi
je 0x565e03
mov byte [rdi], 0x30
add rdi, 1
mov esi, dword [rsp + 0x48]
test esi, esi
je 0x565e12
mov byte [rdi], 0x20
add rdi, 1
test r12d, r12d
je 0x565e1e
mov byte [rdi], 0x2b
add rdi, 1
mov r8d, dword [rsp + 0xa8]
mov esi, 0x140
test r8d, r8d
jne 0x56693a
mov r11d, dword [rsp + 0x64]
test r11d, r11d
je 0x565e7a
lea r12, [rdi + 1]
mov r8d, dword [rsp + 0xac]
lea rdx, [0x0065e6b3]
mov byte [rdi], 0x2e
mov rcx, r12
call sub.msvcrt.dll_sprintf
mov edx, dword [rsp + 0xac]
movsxd rdi, eax
mov eax, 0x7fffffff
sub eax, esi
add rdi, r12
cmp eax, edx
jl 0x5667ec
add esi, edx
movzx eax, word [rsp + 0xa2]
mov byte [rdi + 1], 0
mov byte [rdi], al
call fcn.00550ef0
mov edx, esi
mov rcx, rax
mov rdi, rax
call fcn.00564f60
test eax, eax
je 0x5667ec
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x566e5d
movsd xmm0, qword [rsp + 0xc0]
mov rdx, qword [rsp + 0x50]
movapd xmm2, xmm0
movq r8, xmm0
call sub.msvcrt.dll_sprintf
mov rcx, rdi
mov edx, eax
call fcn.00564f60
test eax, eax
je 0x5667ec
movzx r8d, word [rsp + 0xa2]
mov dword [rsp + 0x48], 1
mov r12d, 0xffffffff
jmp 0x566318
mov r8d, dword [rsp + 0x68]
test r8d, r8d
jne 0x566efb
mov eax, dword [rsp + 0x6c]
test eax, eax
jne 0x566842
mov rax, qword [0x00670b10]
cmp qword [rdi + 0x18], rax
je 0x566534
lea rax, [rsp + 0xb0]
xor ecx, ecx
mov rdx, rdi
mov r8, rax
mov qword [rsp + 0x98], rax
call fcn.00551e00
test eax, eax
jne 0x56690a
mov edi, dword [rsp + 0xb0]
mov eax, dword [rsp + 0x70]
test eax, eax
je 0x56669c
mov word [rsp + 0x98], di
movsx edi, di
shr edi, 0x1f
mov dword [rsp + 0x50], edi
call fcn.00550ef0
add dword [rax], 1
mov rdi, rax
mov eax, dword [rsp + 0x48]
movzx r8d, word [rsp + 0xa2]
mov dword [rsp + 0x48], 0x7fffffff
or eax, r12d
or eax, dword [rsp + 0x50]
je 0x565fa9
cmp r8w, 0x64
je 0x566615
mov r11d, dword [rsp + 0x40]
test r11d, r11d
je 0x565fd4
cmp r8w, 0x6f
je 0x5668be
cmp r8w, 0x78
je 0x566887
cmp r8w, 0x58
je 0x566887
lea ecx, [r8 - 0x58]
cmp cx, 0x20
ja 0x5665eb
mov eax, 1
movabs rdx, 0x120800001
shl rax, cl
test rax, rdx
jne 0x5666b2
test ah, 0x10
je 0x5665eb
mov r10d, dword [rsp + 0x70]
test r10d, r10d
jne 0x566ba3
mov r9d, dword [rsp + 0x6c]
test r9d, r9d
jne 0x566bb8
mov r8d, dword [rsp + 0x68]
test r8d, r8d
je 0x566e6d
lea rax, [rsp + 0xd0]
mov rcx, rax
call fcn.00552890
mov r12, rax
mov rax, qword [r12 + 8]
add dword [r12], 1
test rax, rax
mov qword [rsp + 0x40], rax
je 0x566ed6
mov eax, dword [r12 + 0x10]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0xb4], eax
mov rax, qword [rsp + 0x40]
cmp byte [rax], 0x2d
je 0x566e0d
mov ecx, dword [rsp + 0x64]
test ecx, ecx
je 0x566c85
mov eax, dword [rsp + 0xac]
cmp eax, dword [rsp + 0x50]
jle 0x5660de
mov esi, dword [rsp + 0x50]
sub esi, eax
add dword [rsp + 0x48], esi
nop dword [rax]
lea rdx, [0x0065e5e6]
mov qword [rsp + 0x20], 0
mov r9d, 0x7fffffff
mov r8d, 1
mov rcx, rdi
call fcn.005652b0
mov eax, dword [rsp + 0xb4]
lea edx, [rax + 1]
cmp dword [rsp + 0xac], edx
mov dword [rsp + 0xb4], edx
jg 0x5660a0
xor ebx, ebx
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x48], eax
jl 0x5667ec
mov rdx, qword [rsp + 0x40]
mov r8d, eax
mov qword [rsp + 0x20], 0
mov r9d, 0x7fffffff
mov rcx, rdi
call fcn.005652b0
mov eax, dword [r12]
sub eax, 1
test eax, eax
mov dword [r12], eax
jg 0x5665e2
mov rcx, r12
call fcn.00550fa0
jmp 0x5665e2
mov r9d, dword [rsp + 0x64]
test r9d, r9d
jne 0x566543
lea rax, [rsp + 0xd0]
mov dword [rsp + 0x48], 0
mov r12d, 0xffffffff
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0xa8]
test eax, eax
jle 0x5661d8
mov rcx, rdi
call fcn.00564af0
mov r12d, eax
nop
mov r9d, dword [rsp + 0x38]
test r9d, r9d
jne 0x5661d8
mov eax, dword [rsp + 0xa8]
cmp r12d, eax
jge 0x5661d8
mov esi, r12d
sub esi, eax
add dword [rsp + 0x34], esi
lea rsi, [0x0065e5e6]
nop word cs:[rax + rax]
lea rdx, str.__0d
test ebx, ebx
mov qword [rsp + 0x20], 0
mov r9d, 0x7fffffff
mov r8d, 1
mov rcx, r15
cmovne rdx, rsi
add r12d, 1
call fcn.005652b0
cmp dword [rsp + 0xa8], r12d
jg 0x5661a0
mov rdx, qword [rsp + 0x50]
mov rcx, rdi
call fcn.00551220
mov eax, dword [rsp + 0x34]
cmp eax, dword [rsp + 0xd0]
jl 0x566cfb
mov rcx, r15
mov rdx, rdi
call fcn.005654c0
mov ecx, dword [rsp + 0x48]
mov esi, dword [rsp + 0xd0]
sub dword [rsp + 0x34], esi
test ecx, ecx
je 0x566223
mov eax, dword [rdi]
sub eax, 1
test eax, eax
mov dword [rdi], eax
jle 0x5668fd
mov eax, dword [rsp + 0xa8]
test eax, eax
jle 0x566284
cmp r12d, eax
jge 0x566284
mov edi, r12d
lea rsi, str.__0d
sub edi, eax
add dword [rsp + 0x34], edi
lea rdi, [0x0065e5e6]
nop word [rax + rax]
test ebx, ebx
mov rdx, rsi
mov qword [rsp + 0x20], 0
cmovne rdx, rdi
mov r9d, 0x7fffffff
mov r8d, 1
mov rcx, r15
add r12d, 1
call fcn.005652b0
cmp dword [rsp + 0xa8], r12d
jg 0x566250
add r13, r14
mov esi, dword [rsp + 0x4c]
xor r14d, r14d
add dword [rsp + 0x3c], esi
mov rbx, r13
jmp 0x565934
mov rax, qword [rsp + 0x88]
cmp qword [rdi + 0x18], rax
je 0x566518
lea rax, [rsp + 0xd0]
mov rcx, qword [rsp + 0x160]
mov rdx, rdi
mov r8, rax
mov qword [rsp + 0x50], rax
call fcn.005520e0
test eax, eax
jne 0x56639c
mov ecx, dword [rsp + 0xd0]
lea rsi, [rsp + 0xc0]
mov r12d, 0xffffffff
mov rdx, rsi
call fcn.005719b0
mov rcx, rsi
mov edx, eax
call fcn.005649f0
movzx r8d, word [rsp + 0xa2]
add dword [rax], 1
mov rdi, rax
mov dword [rsp + 0x48], 1
lea ecx, [r8 - 0x45]
cmp cx, 0x13
ja 0x56634d
mov eax, 1
shl rax, cl
test eax, 0x80005
je 0x56634d
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x566d30
call fcn.00571fe0
mov rcx, rdi
mov edx, eax
call fcn.00564dc0
mov r10d, dword [rsp + 0xa8]
test r10d, r10d
jle 0x5661d8
test r12d, r12d
jns 0x566170
jmp 0x566164
lea rcx, str.format_string_ended_in_middle_of_field_specifier
cmp qword [rsp + 0x160], 0
je 0x56639c
mov edx, 0xffffffff
call fcn.005649f0
mov rcx, qword [rsp + 0x160]
mov rdx, rax
call fcn.00561670
mov edx, dword [rsp + 0xa4]
mov rcx, r15
call fcn.00564dc0
mov eax, 1
add rsp, 0x118
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
cmp qword [rsp + 0x160], 0
je 0x56639c
lea rcx, str.bad_field_specifier___c_
movzx edx, ax
call fcn.00565840
mov rcx, qword [rsp + 0x160]
mov rdx, rax
call fcn.00561670
jmp 0x56639c
mov eax, dword [rsp + 0x178]
sub eax, 1
cmp eax, dword [rsp + 0x3c]
jle 0x566b1e
movsxd rax, dword [rsp + 0x3c]
mov rdi, qword [rsp + 0x180]
mov rdx, qword [rdi + rax*8]
mov rax, qword [rsp + 0x80]
cmp qword [rdx + 0x18], rax
je 0x5667f8
mov rcx, qword [rsp + 0x160]
lea r8, [rsp + 0xa8]
call fcn.005520e0
test eax, eax
jne 0x56639c
mov eax, dword [rsp + 0xa8]
test eax, eax
js 0x56680a
add dword [rsp + 0x3c], 1
add r13, r14
jmp 0x565c65
mov eax, dword [rsp + 0x178]
sub eax, 1
cmp dword [rsp + 0x3c], eax
jge 0x566eb2
movsxd rax, dword [rsp + 0x3c]
mov rdi, qword [rsp + 0x180]
mov rdx, qword [rdi + rax*8]
mov rax, qword [rsp + 0x78]
cmp qword [rdx + 0x18], rax
je 0x566820
mov rcx, qword [rsp + 0x160]
lea r8, [rsp + 0xac]
call fcn.005520e0
test eax, eax
jne 0x56639c
mov eax, dword [rsp + 0xac]
test eax, eax
js 0x566832
add dword [rsp + 0x3c], 1
add r13, r14
jmp 0x565ca5
add r13, r14
mov rdx, rbp
mov rcx, r13
call fcn.00571ad0
mov dword [rsp + 0x64], 1
movsxd r14, eax
movzx eax, word [rsp + 0xa2]
jmp 0x565b4a
lea rax, [rsp + 0xd0]
mov byte [rsp + 0xd1], 0x2d
lea rdi, [rsp + 0xd2]
mov qword [rsp + 0x50], rax
jmp 0x565de9
mov ecx, dword [rdi + 0x20]
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0xd0], ecx
jmp 0x5662e1
mov edi, dword [rdi + 0x20]
mov dword [rsp + 0xb0], edi
jmp 0x565f57
mov rcx, rdi
call fcn.00564af0
mov r8d, dword [rsp + 0xac]
mov r12d, eax
cmp eax, r8d
jg 0x566d40
lea rax, [rsp + 0xd0]
movzx r8d, word [rsp + 0xa2]
mov dword [rsp + 0x48], 0
mov qword [rsp + 0x50], rax
jmp 0x566318
mov ebx, dword [rsp + 0x70]
mov eax, dword [rsp + 0x68]
test eax, eax
jne 0x566bd9
mov eax, dword [rsp + 0x64]
test eax, eax
je 0x56697e
mov eax, dword [rsp + 0xac]
cmp eax, dword [rsp + 0x6c]
jg 0x566b33
xor ebx, ebx
mov esi, dword [rsp + 0x6c]
cmp dword [rsp + 0x48], esi
jl 0x5667ec
mov rsi, qword [rsp + 0x40]
mov rcx, rdi
mov rdx, rsi
call fcn.005654c0
mov eax, dword [rsi]
mov dword [rsp + 0x48], eax
sub eax, 1
test eax, eax
mov dword [rsi], eax
jle 0x566e4e
movzx r8d, word [rsp + 0xa2]
lea rax, [rsp + 0xd0]
mov dword [rsp + 0x48], 1
mov r12d, 0xffffffff
mov qword [rsp + 0x50], rax
jmp 0x566318
xor eax, eax
mov word [rsp + 0x98], ax
mov eax, dword [rsp + 0x50]
lea rdx, [0x0065e5e2]
test eax, eax
jne 0x566639
lea rdx, str.__0d
lea rax, [0x0065e5e4]
test r12d, r12d
cmovne rdx, rax
mov r8d, 1
mov qword [rsp + 0x20], 0
mov r9d, 0x7fffffff
mov rcx, rdi
call fcn.005652b0
movzx r8d, word [rsp + 0xa2]
mov dword [rsp + 0x48], 0x7ffffffe
jmp 0x565fa9
add r13, r14
mov rdx, rbp
mov rcx, r13
call fcn.00571ad0
movsxd r14, eax
movzx eax, word [rsp + 0xa2]
cmp ax, 0x6c
je 0x566e28
mov dword [rsp + 0x6c], 1
jmp 0x565b8f
shr edi, 0x1f
xor eax, eax
mov dword [rsp + 0x50], edi
mov word [rsp + 0x98], ax
jmp 0x565f75
cmp r8w, 0x75
je 0x566c01
cmp r8w, 0x6f
mov r11d, 0x10
je 0x566bee
mov dword [rsp + 0x50], 4
mov edx, dword [rsp + 0x70]
test edx, edx
je 0x5669e5
movzx r12d, word [rsp + 0x98]
test r12w, r12w
mov rdx, r12
je 0x566aaa
xor r9d, r9d
nop dword [rax + rax]
movzx eax, dx
add r9, 1
cdq
idiv r11d
test ax, ax
mov edx, eax
jne 0x566700
mov dword [rsp + 0x98], r11d
mov qword [rsp + 0x40], r9
call fcn.00550ef0
mov r9, qword [rsp + 0x40]
mov rcx, rax
mov qword [rsp + 0x40], rax
mov edx, r9d
mov dword [rsp + 0x6c], r9d
mov qword [rsp + 0x70], r9
call fcn.00564dc0
mov rax, qword [rsp + 0x40]
mov r9, qword [rsp + 0x70]
mov r11d, dword [rsp + 0x98]
mov rax, qword [rax + 8]
lea r8, [r9 - 1]
test rax, rax
je 0x566e81
movsxd r9, r11d
mov dword [rsp + 0x70], ebx
add r8, rax
lea r10, [rax - 1]
xor ecx, ecx
xor r11d, r11d
mov ebx, dword [rsp + 0x68]
jmp 0x56679e
add edx, 0x57
mov byte [r8], dl
mov rax, r12
xor edx, edx
sub r8, 1
div r9
cmp r8, r10
mov r12, rax
je 0x566582
test ebx, ebx
je 0x5667d6
mov eax, dword [rsp + 0xd0]
test eax, eax
je 0x5667d6
cmp r11d, eax
jge 0x5667d2
cmp ecx, 0x23
ja 0x5667d2
mov rax, qword [rsp + 0xe0]
movsxd rdx, r11d
add r11d, 1
mov eax, dword [rax + rdx*4]
shl rax, cl
add ecx, 0x1c
or r12, rax
sub ecx, dword [rsp + 0x50]
xor edx, edx
mov rax, r12
div r9
cmp rdx, 9
ja 0x566780
add edx, 0x30
mov byte [r8], dl
jmp 0x566786
lea rcx, [0x0065e5e8]
jmp 0x566377
mov eax, dword [rdx + 0x20]
test eax, eax
mov dword [rsp + 0xa8], eax
jns 0x566453
neg eax
mov dword [rsp + 0x38], 1
mov dword [rsp + 0xa8], eax
jmp 0x566453
mov eax, dword [rdx + 0x20]
test eax, eax
mov dword [rsp + 0xac], eax
jns 0x5664c0
mov dword [rsp + 0xac], 0
jmp 0x5664c0
lea rax, [rsp + 0xc0]
xor ecx, ecx
mov rdx, rdi
mov r8, rax
mov qword [rsp + 0x98], rax
call fcn.00552230
test eax, eax
jne 0x566c0c
mov rax, qword [rsp + 0xc0]
shr rax, 0x3f
mov qword [rsp + 0x50], rax
xor eax, eax
mov word [rsp + 0x98], ax
jmp 0x565f75
lea rdx, [0x0065e6b0]
mov r8d, 2
mov qword [rsp + 0x20], 0
mov r9d, 0x7fffffff
mov rcx, rdi
call fcn.005652b0
sub dword [rsp + 0x48], 2
movzx r8d, word [rsp + 0xa2]
jmp 0x565fd4
lea rdx, [0x0065e5e6]
mov r8d, 1
mov qword [rsp + 0x20], 0
mov r9d, 0x7fffffff
mov rcx, rdi
call fcn.005652b0
sub dword [rsp + 0x48], 1
sub dword [rsp + 0xac], 1
movzx r8d, word [rsp + 0xa2]
jmp 0x565fd4
mov rcx, rdi
call fcn.00550fa0
jmp 0x566223
lea r8, [rsp + 0xc0]
xor ecx, ecx
mov rdx, rdi
call fcn.00552230
test eax, eax
jne 0x566d7f
mov rax, qword [rsp + 0xc0]
mov edi, eax
mov dword [rsp + 0xb0], eax
jmp 0x565f57
lea rdx, [0x0065e6b3]
mov rcx, rdi
call sub.msvcrt.dll_sprintf
cdqe
add rdi, rax
mov eax, dword [rsp + 0xa8]
cmp eax, 0x140
cmovge esi, eax
jmp 0x565e34
lea rdx, [rsp + 0xa4]
mov rcx, r15
call fcn.00551220
mov eax, dword [rsp + 0xa4]
jmp 0x5658d7
test esi, esi
je 0x5665af
mov rcx, rdi
call fcn.00564af0
mov esi, dword [rsp + 0x6c]
add esi, eax
mov eax, dword [rsp + 0xa8]
cmp esi, eax
jge 0x5665b1
mov ecx, esi
sub ecx, eax
add dword [rsp + 0x48], ecx
nop dword [rax + rax]
lea rdx, [0x0065e5e6]
mov qword [rsp + 0x20], 0
mov r9d, 0x7fffffff
mov r8d, 1
mov rcx, rdi
add esi, 1
call fcn.005652b0
cmp dword [rsp + 0xa8], esi
jg 0x5669b0
jmp 0x5665b1
mov eax, dword [rsp + 0x6c]
test eax, eax
jne 0x566b75
mov eax, dword [rsp + 0x68]
test eax, eax
jne 0x566a22
mov r12d, dword [rsp + 0xb0]
test r12d, r12d
mov rax, r12
je 0x566aaa
xor r9d, r9d
xor edx, edx
add r9, 1
div r11d
test eax, eax
jne 0x566a10
jmp 0x566712
mov r9d, dword [rsp + 0xd0]
test r9d, r9d
je 0x566eaa
imul eax, r9d, 0x1c
mov ecx, 0x1c
movsxd r12, r9d
mov r10d, 0xffffffff
cdq
idiv dword [rsp + 0x50]
mov rax, r12
shl rax, 5
sub ecx, edx
lea rdx, [r12*4]
shl r10d, cl
movsxd rcx, dword [rsp + 0x50]
sub rax, rdx
cqo
idiv rcx
lea r9, [rax + 1]
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + r12*4 - 4]
test r10d, eax
jne 0x566a91
mov ecx, dword [rsp + 0x50]
shr r10d, cl
sub r9, 1
test r10d, eax
je 0x566a85
cmp r9, 0x7fffffff
jg 0x5667ec
xor r12d, r12d
test r9, r9
jne 0x566712
mov eax, dword [rsp + 0x40]
cmp r8w, 0x6f
mov dword [rsp + 0x98], r11d
setne dl
xor eax, 1
or edx, eax
movzx r9d, dl
mov byte [rsp + 0x40], dl
mov qword [rsp + 0x70], r9
call fcn.00550ef0
movzx ecx, byte [rsp + 0x40]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x6c], ecx
mov edx, ecx
mov rcx, rax
call fcn.00564dc0
mov rax, qword [rsp + 0x40]
mov r9, qword [rsp + 0x70]
mov r11d, dword [rsp + 0x98]
mov rax, qword [rax + 8]
test rax, rax
je 0x566e81
test r9, r9
lea r8, [r9 - 1]
jne 0x566766
jmp 0x566586
movsxd rdx, dword [rsp + 0x60]
lea rax, str.not_enough_arguments_for_all_format_specifiers
mov rcx, qword [rax + rdx*8]
jmp 0x566377
mov ebx, dword [rsp + 0x6c]
mov esi, ebx
sub esi, eax
add dword [rsp + 0x48], esi
nop
lea rdx, [0x0065e5e6]
mov qword [rsp + 0x20], 0
mov r9d, 0x7fffffff
mov r8d, 1
mov rcx, rdi
add ebx, 1
call fcn.005652b0
cmp dword [rsp + 0xac], ebx
jg 0x566b40
jmp 0x5665af
mov r12, qword [rsp + 0xc0]
test r12, r12
je 0x566aaa
movsxd rcx, r11d
mov rax, r12
xor r9d, r9d
nop
xor edx, edx
add r9, 1
div rcx
test rax, rax
jne 0x566b90
jmp 0x566712
movsx ecx, word [rsp + 0x98]
call fcn.00551c90
mov r12, rax
jmp 0x566043
mov rcx, qword [rsp + 0xc0]
call fcn.005521d0
mov r12, rax
jmp 0x566043
lea rcx, str.cannot_mix_____and___n___conversion_specifiers
jmp 0x566377
lea rax, [rsp + 0xd0]
mov rcx, rax
call fcn.0057d8a0
jmp 0x566592
mov r11d, 8
mov dword [rsp + 0x50], 3
jmp 0x5666d6
mov r11d, 0xa
jmp 0x5666ce
lea rax, [rsp + 0xd0]
mov rcx, qword [rsp + 0x160]
mov rdx, rdi
mov r8, rax
mov qword [rsp + 0x50], rax
call fcn.005524e0
test eax, eax
jne 0x56639c
mov rdi, qword [rsp + 0x50]
mov edx, 0x40
mov r8, rdi
mov rcx, rdi
call fcn.0057f0b0
mov rcx, rdi
call fcn.00552890
add dword [rax], 1
mov r8, qword [rsp + 0x98]
mov rdi, rax
xor ecx, ecx
mov rdx, rax
call fcn.00552230
mov eax, dword [rdi]
sub eax, 1
test eax, eax
mov dword [rdi], eax
jg 0x566867
mov rcx, rdi
call fcn.00550fa0
jmp 0x566867
test esi, esi
je 0x5660de
mov rcx, rdi
call fcn.00564af0
add eax, dword [rsp + 0xb4]
mov edx, dword [rsp + 0xa8]
cmp eax, edx
mov dword [rsp + 0xb4], eax
jge 0x5660e0
sub eax, edx
add dword [rsp + 0x48], eax
lea rdx, [0x0065e5e6]
mov qword [rsp + 0x20], 0
mov r9d, 0x7fffffff
mov r8d, 1
mov rcx, rdi
call fcn.005652b0
mov eax, dword [rsp + 0xb4]
lea edx, [rax + 1]
cmp dword [rsp + 0xa8], edx
mov dword [rsp + 0xb4], edx
jg 0x566cb8
jmp 0x5660e0
mov r8d, dword [rsp + 0x48]
test r8d, r8d
je 0x5667ec
mov eax, dword [rdi]
mov dword [rsp + 0x34], eax
sub eax, 1
test eax, eax
mov dword [rdi], eax
jg 0x5667ec
mov rcx, rdi
call fcn.00550fa0
lea rcx, [0x0065e5e8]
jmp 0x566377
mov rcx, rdi
call fcn.00551200
mov rcx, rax
jmp 0x56633e
sub r8d, 1
mov rcx, rdi
xor edx, edx
call fcn.00564c70
mov r12d, dword [rsp + 0xac]
mov rdi, rax
add dword [rax], 1
lea rax, [rsp + 0xd0]
movzx r8d, word [rsp + 0xa2]
mov dword [rsp + 0x48], 1
mov qword [rsp + 0x50], rax
jmp 0x566318
lea rax, [rsp + 0xd0]
mov rcx, qword [rsp + 0x160]
mov rdx, rdi
mov r8, rax
mov qword [rsp + 0x50], rax
call fcn.005524e0
test eax, eax
jne 0x56639c
mov rdi, qword [rsp + 0x50]
mov edx, 0x20
mov r8, rdi
mov rcx, rdi
call fcn.0057f0b0
mov rcx, rdi
call fcn.00552890
mov rdi, rax
mov eax, dword [rax]
mov rcx, qword [0x00670b10]
add eax, 1
cmp qword [rdi + 0x18], rcx
mov dword [rdi], eax
je 0x566ec7
mov r8, qword [rsp + 0x98]
mov rdx, rdi
xor ecx, ecx
call fcn.00551e00
mov eax, dword [rdi]
sub eax, 1
test eax, eax
mov dword [rdi], eax
jg 0x565f50
mov rcx, rdi
call fcn.00550fa0
jmp 0x565f50
sub dword [rsp + 0x50], 1
add qword [rsp + 0x40], 1
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0xb4], eax
jmp 0x566079
add r13, r14
mov rdx, rbp
mov rcx, r13
call fcn.00571ad0
mov dword [rsp + 0x68], 1
movsxd r14, eax
movzx eax, word [rsp + 0xa2]
jmp 0x565b8f
mov rcx, qword [rsp + 0x40]
call fcn.00550fa0
jmp 0x5665e2
mov rcx, rdi
call fcn.00551200
mov rcx, rax
jmp 0x565eaf
mov ecx, dword [rsp + 0xb0]
call fcn.00551d30
mov r12, rax
jmp 0x566043
mov rcx, qword [rsp + 0x40]
mov dword [rsp + 0x98], r11d
mov qword [rsp + 0x70], r9
call fcn.00551200
mov r11d, dword [rsp + 0x98]
mov r9, qword [rsp + 0x70]
jmp 0x566b0c
xor r12d, r12d
jmp 0x566aaa
movsxd rax, dword [rsp + 0x60]
lea rdx, str.not_enough_arguments_for_all_format_specifiers
mov rcx, qword [rdx + rax*8]
jmp 0x566377
mov edx, dword [rdi + 0x20]
mov dword [rsp + 0xb0], edx
jmp 0x566df3
mov rdx, qword [rsp + 0x90]
mov rcx, r12
call fcn.00551220
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0xb4]
mov dword [rsp + 0x50], eax
jmp 0x56606b
lea rcx, str.unsigned_bignum_format_is_invalid
jmp 0x566377