Function at 0x1003ff5e
Capabilities:
Check for software breakpoints

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x120
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
call fcn.1003fd8e
mov eax, dword [rbp + 0x18]
cmp eax, 0x43b
jl 0x1003ff99
mov eax, dword [rbp + 0x18]
cmp eax, 0x444
jg 0x1003ff99
mov eax, 0x3b
mov r10, rax
mov rcx, r10
call fcn.1004f91d
lea rax, [rbp - 0x98]
mov qword [rbp - 0xa0], rax
mov eax, 0
mov dword [rbp - 0x30], eax
mov eax, 0
mov dword [rbp - 0x24], eax
mov eax, 0
mov dword [rbp - 0xb0], eax
mov eax, dword [0x1005a020]
cmp eax, 0x3b
je 0x1003ffe0
mov eax, dword [0x1005a020]
cmp eax, 0xa
jne 0x1003ffe5
jmp 0x1004010b
mov eax, dword [rbp - 0x30]
cmp eax, 3
jl 0x10040003
lea rax, str.incorrect_number_of_operands
mov r10, rax
mov rcx, r10
call sym.libtccbs.dll__tcc_error
mov rax, qword [rbp - 0xa0]
mov r11, rax
mov rax, qword [rbp + 0x10]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.1003ef99
mov eax, dword [0x1005a020]
cmp eax, 0x3a
jne 0x100400cd
mov rax, qword [rbp - 0xa0]
mov eax, dword [rax]
cmp eax, 0x200
jne 0x1004004f
mov eax, dword [rbp - 0x24]
cmp eax, 0
je 0x10040061
lea rax, str.incorrect_prefix
mov r10, rax
mov rcx, r10
call sym.libtccbs.dll__tcc_error
mov rax, qword [rbp - 0xa0]
add rax, 4
movsx eax, byte [rax]
movsxd rax, eax
lea rcx, str..6_de
add rcx, rax
movzx ecx, byte [rcx]
mov dword [rbp - 0x24], ecx
call fcn.10008f13
mov rax, qword [rbp - 0xa0]
mov r11, rax
mov rax, qword [rbp + 0x10]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.1003ef99
mov rax, qword [rbp - 0xa0]
mov eax, dword [rax]
and eax, 0x40000000
cmp eax, 0
jne 0x100400cd
lea rax, str.segment_prefix_must_be_followed_by_memory_reference
mov r10, rax
mov rcx, r10
call sym.libtccbs.dll__tcc_error
mov rax, qword [rbp - 0xa0]
mov rcx, rax
add rax, 0x20
mov qword [rbp - 0xa0], rax
mov eax, dword [rbp - 0x30]
mov ecx, eax
add eax, 1
mov dword [rbp - 0x30], eax
mov eax, dword [0x1005a020]
cmp eax, 0x2c
je 0x10040101
jmp 0x1004010b
call fcn.10008f13
jmp 0x1003ffc2
mov eax, 0
mov dword [rbp - 0x34], eax
lea rax, [0x10056e00]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp eax, 0
je 0x1004063b
jmp 0x10040144
mov rax, qword [rbp - 8]
mov rcx, rax
add rax, 0xa
mov qword [rbp - 8], rax
jmp 0x1004011e
mov rax, qword [rbp - 8]
add rax, 4
movzx eax, word [rax]
and eax, 0x70
mov dword [rbp - 0xc0], eax
mov eax, 0
mov dword [rbp - 0x34], eax
mov eax, dword [rbp - 0xc0]
cmp eax, 0x40
jne 0x100401a8
mov rax, qword [rbp - 8]
movzx eax, word [rax]
mov ecx, dword [rbp + 0x18]
sub ecx, eax
mov dword [rbp - 0x1c], ecx
mov eax, dword [rbp - 0x1c]
cmp eax, 0x30
jae 0x1004019e
mov eax, dword [rbp - 0x1c]
mov ecx, 6
cdq
idiv ecx
cmp edx, 0
je 0x100401a3
jmp 0x10040133
jmp 0x10040425
mov eax, dword [rbp - 0xc0]
cmp eax, 0x30
jne 0x10040250
mov rax, qword [rbp - 8]
movzx eax, word [rax]
mov ecx, dword [rbp + 0x18]
cmp ecx, eax
jl 0x100401de
mov rax, qword [rbp - 8]
movzx eax, word [rax]
add eax, 0x28
mov ecx, dword [rbp + 0x18]
cmp ecx, eax
jl 0x100401e3
jmp 0x10040133
mov rax, qword [rbp - 8]
movzx eax, word [rax]
mov ecx, dword [rbp + 0x18]
sub ecx, eax
mov eax, ecx
mov ecx, 5
cdq
idiv ecx
mov dword [rbp - 0x34], edx
mov rax, qword [rbp - 8]
add rax, 4
movzx eax, word [rax]
and eax, 0x1001
cmp eax, 0x1000
jne 0x1004024b
mov rax, qword [rbp - 8]
movzx eax, word [rax]
mov ecx, dword [rbp + 0x18]
sub ecx, eax
add ecx, 1
mov eax, ecx
mov ecx, 5
cdq
idiv ecx
cmp edx, 0
jne 0x10040240
jmp 0x10040133
mov eax, dword [rbp - 0x34]
mov ecx, eax
add eax, 1
mov dword [rbp - 0x34], eax
jmp 0x10040425
mov eax, dword [rbp - 0xc0]
cmp eax, 0x20
jne 0x100402a9
mov rax, qword [rbp - 8]
movzx eax, word [rax]
mov ecx, dword [rbp + 0x18]
cmp ecx, eax
jl 0x10040286
mov rax, qword [rbp - 8]
movzx eax, word [rax]
add eax, 0x23
mov ecx, dword [rbp + 0x18]
cmp ecx, eax
jl 0x1004028b
jmp 0x10040133
mov rax, qword [rbp - 8]
movzx eax, word [rax]
mov ecx, dword [rbp + 0x18]
sub ecx, eax
mov eax, ecx
mov ecx, 5
cdq
idiv ecx
mov dword [rbp - 0x34], edx
jmp 0x10040425
mov eax, dword [rbp - 0xc0]
cmp eax, 0x50
jne 0x1004030b
mov rax, qword [rbp - 8]
movzx eax, word [rax]
mov ecx, dword [rbp + 0x18]
cmp ecx, eax
jl 0x100402df
mov rax, qword [rbp - 8]
movzx eax, word [rax]
add eax, 0x1e
mov ecx, dword [rbp + 0x18]
cmp ecx, eax
jl 0x100402e4
jmp 0x10040133
mov rax, qword [rbp - 8]
add rax, 4
movzx eax, word [rax]
and eax, 0x1000
cmp eax, 0
je 0x10040306
mov eax, 4
mov dword [rbp - 0x34], eax
jmp 0x10040425
mov rax, qword [rbp - 8]
add rax, 4
movzx eax, word [rax]
and eax, 1
cmp eax, 0
je 0x100403ae
mov rax, qword [rbp - 8]
add rax, 4
movzx eax, word [rax]
and eax, 0x1000
cmp eax, 0x1000
je 0x1004036e
mov rax, qword [rbp - 8]
movzx eax, word [rax]
mov ecx, dword [rbp + 0x18]
cmp ecx, eax
jl 0x10040369
mov rax, qword [rbp - 8]
movzx eax, word [rax]
add eax, 5
sub eax, 1
mov ecx, dword [rbp + 0x18]
cmp ecx, eax
jl 0x1004036e
jmp 0x10040133
mov rax, qword [rbp - 8]
movzx eax, word [rax]
mov ecx, dword [rbp + 0x18]
cmp ecx, eax
jl 0x10040395
mov rax, qword [rbp - 8]
movzx eax, word [rax]
add eax, 5
mov ecx, dword [rbp + 0x18]
cmp ecx, eax
jl 0x1004039a
jmp 0x10040133
mov rax, qword [rbp - 8]
movzx eax, word [rax]
mov ecx, dword [rbp + 0x18]
sub ecx, eax
mov dword [rbp - 0x34], ecx
jmp 0x10040425
mov rax, qword [rbp - 8]
add rax, 4
movzx eax, word [rax]
and eax, 0x1000
cmp eax, 0
je 0x1004040e
mov rax, qword [rbp - 8]
movzx eax, word [rax]
mov ecx, dword [rbp + 0x18]
cmp ecx, eax
jl 0x100403f2
mov rax, qword [rbp - 8]
movzx eax, word [rax]
add eax, 5
sub eax, 1
mov ecx, dword [rbp + 0x18]
cmp ecx, eax
jl 0x100403f7
jmp 0x10040133
mov rax, qword [rbp - 8]
movzx eax, word [rax]
mov ecx, dword [rbp + 0x18]
sub ecx, eax
add ecx, 1
mov dword [rbp - 0x34], ecx
jmp 0x10040425
mov rax, qword [rbp - 8]
movzx eax, word [rax]
mov ecx, dword [rbp + 0x18]
cmp eax, ecx
je 0x10040425
jmp 0x10040133
mov rax, qword [rbp - 8]
add rax, 6
movzx eax, byte [rax]
mov ecx, dword [rbp - 0x30]
cmp eax, ecx
je 0x10040440
jmp 0x10040133
mov rax, qword [rbp - 8]
add rax, 2
movzx eax, word [rax]
cmp eax, 0xb0
jne 0x10040497
mov eax, dword [rbp - 0x98]
cmp eax, 0x10000
je 0x10040497
mov eax, dword [rbp - 0x78]
and eax, 0xf
cmp eax, 8
jne 0x10040497
mov rax, qword [rbp - 8]
add rax, 4
movzx eax, word [rax]
and eax, 0x100
cmp eax, 0
jne 0x10040497
jmp 0x10040133
mov eax, 0
mov dword [rbp - 0xb0], eax
mov eax, 0
mov dword [rbp - 0xc], eax
mov eax, dword [rbp - 0xc]
mov ecx, dword [rbp - 0x30]
cmp eax, ecx
jge 0x10040631
jmp 0x100404ca
mov eax, dword [rbp - 0xc]
mov ecx, eax
add eax, 1
mov dword [rbp - 0xc], eax
jmp 0x100404aa
mov rax, qword [rbp - 8]
add rax, 7
mov ecx, dword [rbp - 0xc]
movsxd rcx, ecx
add rax, rcx
movzx eax, byte [rax]
mov dword [rbp - 0xc4], eax
mov eax, dword [rbp - 0xc4]
and eax, 0x1f
mov dword [rbp - 0xc8], eax
jmp 0x1004055b
mov eax, 0xd000
mov dword [rbp - 0x1c], eax
jmp 0x100405a5
mov eax, 0xf
mov dword [rbp - 0x1c], eax
jmp 0x100405a5
mov eax, 0xe
mov dword [rbp - 0x1c], eax
jmp 0x100405a5
mov eax, 0xc000
mov dword [rbp - 0x1c], eax
jmp 0x100405a5
mov eax, 0x30
mov dword [rbp - 0x1c], eax
jmp 0x100405a5
mov eax, 0x200000
mov dword [rbp - 0x1c], eax
jmp 0x100405a5
mov eax, 1
mov ecx, dword [rbp - 0xc8]
shl eax, cl
mov dword [rbp - 0x1c], eax
jmp 0x100405a5
mov eax, dword [rbp - 0xc8]
cmp eax, 0x18
je 0x100404f8
cmp eax, 0x19
je 0x10040505
cmp eax, 0x1a
je 0x10040512
cmp eax, 0x1b
je 0x1004051f
cmp eax, 0x1c
je 0x1004052c
cmp eax, 0x1d
je 0x10040539
cmp eax, 0x1e
je 0x10040539
jmp 0x10040546
mov eax, dword [rbp - 0xc4]
and eax, 0x80
cmp eax, 0
je 0x100405c6
mov eax, dword [rbp - 0x1c]
or eax, 0x40000000
mov dword [rbp - 0x1c], eax
mov eax, dword [rbp - 0xc]
movsxd rax, eax
shl rax, 2
lea rcx, [rbp - 0xac]
add rcx, rax
mov eax, dword [rbp - 0x1c]
mov dword [rcx], eax
mov eax, dword [rbp - 0xc]
movsxd rax, eax
shl rax, 5
lea rcx, [rbp - 0x98]
add rcx, rax
mov ecx, dword [rcx]
mov eax, dword [rbp - 0x1c]
and ecx, eax
cmp ecx, 0
jne 0x10040608
jmp 0x10040636
mov eax, dword [rbp - 0xc]
movsxd rax, eax
shl rax, 5
lea rcx, [rbp - 0x98]
add rcx, rax
mov eax, dword [rbp - 0xb0]
mov ecx, dword [rcx]
or eax, ecx
mov dword [rbp - 0xb0], eax
jmp 0x100404bd
jmp 0x1004063b
jmp 0x10040133
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp eax, 0
jne 0x10040826
mov eax, dword [rbp + 0x18]
cmp eax, 0x416
jl 0x100406cb
mov eax, dword [rbp + 0x18]
cmp eax, 0x475
jg 0x100406cb
mov eax, dword [rbp + 0x18]
sub eax, 0x416
movsxd rax, eax
shl rax, 1
lea rcx, [0x10057b70]
add rcx, rax
movzx ecx, word [rcx]
mov dword [rbp - 0xcc], ecx
mov eax, dword [rbp - 0xcc]
and eax, 0xff00
cmp eax, 0
je 0x100406b5
mov eax, dword [rbp - 0xcc]
sar eax, 8
mov r10, rax
mov rcx, r10
call fcn.10039208
mov eax, dword [rbp - 0xcc]
mov r10, rax
mov rcx, r10
call fcn.10039208
jmp 0x10041820
mov eax, dword [rbp + 0x18]
cmp eax, 0x515
jg 0x10040710
movabs rax, 0
mov r11, rax
mov eax, dword [rbp + 0x18]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.10001e4d
mov r11, rax
lea rax, str.bad_operand_with_opcode__s
mov r10, rax
mov rcx, r10
mov rdx, r11
call sym.libtccbs.dll__tcc_error
mov eax, dword [rbp + 0x18]
sub eax, 0x100
movsxd rax, eax
shl rax, 3
mov rcx, qword [0x1005a060]
add rcx, rax
mov rcx, qword [rcx]
mov qword [rbp - 0xd8], rcx
mov rax, qword [rbp - 0xd8]
add rax, 0x2c
mov eax, dword [rax]
cmp eax, 6
jl 0x10040803
mov rax, qword [rbp - 0xd8]
add rax, 0x30
mov rcx, qword [rbp - 0xd8]
add rcx, 0x2c
mov ecx, dword [rcx]
sub ecx, 1
movsxd rcx, ecx
add rax, rcx
movsx eax, byte [rax]
mov r11, rax
lea rax, [0x10057d3f]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_strchr
cmp rax, 0
je 0x10040803
mov rax, qword [rbp - 0xd8]
add rax, 0x30
movabs rcx, 4
mov r8, rcx
lea rcx, str.cmov
mov r11, rcx
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memcmp
cmp eax, 0
jne 0x10040803
mov rax, qword [rbp - 0xd8]
add rax, 0x30
mov rcx, qword [rbp - 0xd8]
add rcx, 0x2c
mov ecx, dword [rcx]
sub ecx, 1
mov r11, rcx
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.10001ce6
add rax, 0x28
mov eax, dword [rax]
mov dword [rbp + 0x18], eax
jmp 0x10040113
mov rax, qword [rbp - 0xd8]
add rax, 0x30
mov r11, rax
lea rax, str.unknown_opcode__s
mov r10, rax
mov rcx, r10
mov rdx, r11
call sym.libtccbs.dll__tcc_error
mov eax, 4
mov dword [rbp - 0xb4], eax
mov rax, qword [rbp - 8]
add rax, 4
movzx eax, word [rax]
and eax, 0x1001
cmp eax, 1
jne 0x10040856
mov eax, 3
mov dword [rbp - 0xb4], eax
mov eax, dword [rbp - 0x34]
mov ecx, dword [rbp - 0xb4]
cmp eax, ecx
jne 0x100409b4
mov eax, dword [rbp - 0x30]
sub eax, 1
mov dword [rbp - 0xc], eax
mov eax, dword [rbp - 0x34]
mov ecx, dword [rbp - 0xb4]
cmp eax, ecx
jne 0x10040911
mov eax, dword [rbp - 0xc]
cmp eax, 0
jl 0x10040911
jmp 0x1004089f
mov eax, dword [rbp - 0xc]
mov ecx, eax
add eax, 0xffffffff
mov dword [rbp - 0xc], eax
jmp 0x10040870
mov eax, dword [rbp - 0xc]
movsxd rax, eax
shl rax, 5
lea rcx, [rbp - 0x98]
add rcx, rax
mov ecx, dword [rcx]
and ecx, 0xf
cmp ecx, 0
je 0x1004090f
mov eax, dword [rbp - 0xc]
movsxd rax, eax
shl rax, 2
lea rcx, [rbp - 0xac]
add rcx, rax
mov ecx, dword [rcx]
and ecx, 0x180000
cmp ecx, 0
jne 0x1004090f
mov eax, dword [rbp - 0xc]
movsxd rax, eax
shl rax, 5
lea rcx, [rbp - 0x98]
add rcx, rax
mov ecx, dword [rcx]
and ecx, 0xf
lea rax, [0x10056dd2]
add rax, rcx
movzx eax, byte [rax]
mov dword [rbp - 0x34], eax
jmp 0x10040892
mov eax, dword [rbp - 0x34]
mov ecx, dword [rbp - 0xb4]
cmp eax, ecx
jne 0x100409b4
mov eax, dword [rbp + 0x18]
cmp eax, 0x2d8
je 0x10040940
mov eax, dword [rbp + 0x18]
cmp eax, 0x2dc
jne 0x10040962
mov eax, dword [rbp - 0x98]
and eax, 0xa200
cmp eax, 0
je 0x10040962
mov eax, 2
mov dword [rbp - 0x34], eax
jmp 0x100409b4
mov eax, dword [rbp + 0x18]
cmp eax, 0x2d8
je 0x10040980
mov eax, dword [rbp + 0x18]
cmp eax, 0x2dc
jne 0x100409a2
mov eax, dword [rbp - 0x98]
and eax, 0x40000000
cmp eax, 0
je 0x100409a2
mov eax, 3
mov dword [rbp - 0x34], eax
jmp 0x100409b4
lea rax, str.cannot_infer_opcode_suffix
mov r10, rax
mov rcx, r10
call sym.libtccbs.dll__tcc_error
mov eax, 0
mov dword [rbp - 0xbc], eax
mov rax, qword [rbp - 8]
add rax, 4
movzx eax, word [rax]
and eax, 0x200
cmp eax, 0
je 0x100409e9
mov eax, 1
mov dword [rbp - 0xbc], eax
jmp 0x10040b32
mov eax, dword [rbp - 0x34]
cmp eax, 3
je 0x10040a07
mov eax, dword [rbp - 0xb0]
and eax, 8
cmp eax, 0
je 0x10040b32
mov eax, 0
mov dword [rbp - 0xdc], eax
mov eax, 0
mov dword [rbp - 0xc], eax
mov eax, dword [rbp - 0xc]
mov ecx, dword [rbp - 0x30]
cmp eax, ecx
jge 0x10040a82
jmp 0x10040a3a
mov eax, dword [rbp - 0xc]
mov ecx, eax
add eax, 1
mov dword [rbp - 0xc], eax
jmp 0x10040a1a
mov eax, dword [rbp - 0xc]
movsxd rax, eax
shl rax, 2
lea rcx, [rbp - 0xac]
add rcx, rax
mov ecx, dword [rcx]
cmp ecx, 8
jne 0x10040a80
mov rax, qword [rbp - 8]
add rax, 2
movzx eax, word [rax]
cmp eax, 0xb8
je 0x10040a80
mov eax, 1
mov dword [rbp - 0xdc], eax
jmp 0x10040a82
jmp 0x10040a2d
mov eax, dword [rbp + 0x18]
cmp eax, 0x2d8
je 0x10040b32
mov eax, dword [rbp + 0x18]
cmp eax, 0x2dc
je 0x10040b32
mov eax, dword [rbp + 0x18]
cmp eax, 0x2d5
je 0x10040b32
mov eax, dword [rbp + 0x18]
cmp eax, 0x2d6
je 0x10040b32
mov eax, dword [rbp + 0x18]
cmp eax, 0x2d7
je 0x10040b32
mov eax, dword [rbp + 0x18]
cmp eax, 0x2d9
je 0x10040b32
mov eax, dword [rbp + 0x18]
cmp eax, 0x2da
je 0x10040b32
mov eax, dword [rbp + 0x18]
cmp eax, 0x2db
je 0x10040b32
mov eax, dword [rbp + 0x18]
cmp eax, 0x2fa
je 0x10040b32
mov eax, dword [rbp + 0x18]
cmp eax, 0x2fb
je 0x10040b32
mov eax, dword [rbp - 0xdc]
cmp eax, 0
jne 0x10040b32
mov eax, 1
mov dword [rbp - 0xbc], eax
mov rax, qword [rbp - 8]
add rax, 4
movzx eax, word [rax]
and eax, 0x70
cmp eax, 0x10
jne 0x10040b59
mov eax, 0x9b
mov r10, rax
mov rcx, r10
call fcn.10039208
mov eax, dword [rbp - 0x24]
cmp eax, 0
je 0x10040b73
mov eax, dword [rbp - 0x24]
mov r10, rax
mov rcx, r10
call fcn.10039208
mov eax, 0
mov dword [rbp - 0xc], eax
mov eax, dword [rbp - 0xc]
mov ecx, dword [rbp - 0x30]
cmp eax, ecx
jge 0x10040bd7
jmp 0x10040b9b
mov eax, dword [rbp - 0xc]
mov ecx, eax
add eax, 1
mov dword [rbp - 0xc], eax
jmp 0x10040b7b
mov eax, dword [rbp - 0xc]
movsxd rax, eax
shl rax, 5
lea rcx, [rbp - 0x98]
add rcx, rax
mov ecx, dword [rcx]
and ecx, 0x80000000
cmp ecx, 0
je 0x10040bd5
mov eax, 0x67
mov r10, rax
mov rcx, r10
call fcn.10039208
jmp 0x10040bd7
jmp 0x10040b8e
mov eax, 0
mov dword [rbp - 0xb8], eax
mov eax, dword [rbp - 0x34]
cmp eax, 1
jne 0x10040bfe
mov eax, 1
mov dword [rbp - 0xb8], eax
jmp 0x10040c77
mov eax, 0
mov dword [rbp - 0xc], eax
mov eax, dword [rbp - 0xc]
mov ecx, dword [rbp - 0x30]
cmp eax, ecx
jge 0x10040c77
jmp 0x10040c26
mov eax, dword [rbp - 0xc]
mov ecx, eax
add eax, 1
mov dword [rbp - 0xc], eax
jmp 0x10040c06
mov eax, dword [rbp - 0xc]
movsxd rax, eax
shl rax, 2
lea rcx, [rbp - 0xac]
add rcx, rax
mov ecx, dword [rcx]
and ecx, 0x30
cmp ecx, 0x30
jne 0x10040c75
mov eax, dword [rbp - 0xc]
movsxd rax, eax
shl rax, 5
lea rcx, [rbp - 0x98]
add rcx, rax
mov ecx, dword [rcx]
and ecx, 0x20
cmp ecx, 0
je 0x10040c75
mov eax, 1
mov dword [rbp - 0xb8], eax
jmp 0x10040c19
mov eax, dword [rbp - 0xb8]
cmp eax, 0
je 0x10040c96
mov eax, 0x66
mov r10, rax
mov rcx, r10
call fcn.10039208
mov rax, qword [rbp - 8]
add rax, 2
movzx eax, word [rax]
mov dword [rbp - 0x1c], eax
mov eax, dword [rbp - 0x1c]
sar eax, 8
mov dword [rbp - 0x2c], eax
jmp 0x10040d00
jmp 0x10040dcd
jmp 0x10040dcd
mov eax, dword [rbp - 0x1c]
and eax, 0xff
mov dword [rbp - 0x1c], eax
mov eax, dword [rbp - 0x2c]
mov r10, rax
mov rcx, r10
call fcn.10039208
jmp 0x10040dcd
jmp 0x10040dcd
jmp 0x10040dcd
mov eax, dword [rbp - 0x2c]
mov r11, rax
lea rax, str.bad_prefix_0x_2x_in_opcode_table
mov r10, rax
mov rcx, r10
mov rdx, r11
call sym.libtccbs.dll__tcc_error
mov eax, dword [rbp - 0x2c]
cmp eax, 0xda
jg 0x10040d74
cmp eax, 0xda
jge 0x10040ce0
cmp eax, 0
je 0x10040cb2
cmp eax, 0x48
je 0x10040cb7
cmp eax, 0x66
je 0x10040cbc
cmp eax, 0x67
je 0x10040cbc
cmp eax, 0xd4
je 0x10040cdb
cmp eax, 0xd5
je 0x10040cdb
cmp eax, 0xd8
je 0x10040ce0
cmp eax, 0xd9
je 0x10040ce0
jmp 0x10040ce5
cmp eax, 0xdb
je 0x10040ce0
cmp eax, 0xdc
je 0x10040ce0
cmp eax, 0xdd
je 0x10040ce0
cmp eax, 0xde
je 0x10040ce0
cmp eax, 0xdf
je 0x10040ce0
cmp eax, 0xf2
je 0x10040cbc
cmp eax, 0xf3
je 0x10040cbc
jmp 0x10040ce5
mov rax, qword [rbp - 8]
add rax, 4
movzx eax, word [rax]
and eax, 0x100
cmp eax, 0
je 0x10040e07
mov eax, dword [rbp - 0x1c]
and eax, 0xffffff00
shl eax, 8
or eax, 0xf00
mov ecx, dword [rbp - 0x1c]
and ecx, 0xff
or eax, ecx
mov dword [rbp - 0x1c], eax
mov eax, dword [rbp - 0x1c]
cmp eax, 0x69
je 0x10040e1f
mov eax, dword [rbp - 0x1c]
cmp eax, 0x6b
jne 0x10040e58
mov eax, dword [rbp - 0x30]
cmp eax, 2
jne 0x10040e58
mov eax, 3
mov dword [rbp - 0x30], eax
push rsi
push rdi
lea rsi, [rbp - 0x78]
lea rdi, [rbp - 0x58]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
pop rdi
pop rsi
mov eax, dword [rbp - 0xa8]
mov dword [rbp - 0xa4], eax
jmp 0x10040f70
mov eax, dword [rbp - 0x1c]
cmp eax, 0xcd
jne 0x10040ea1
mov rax, qword [rbp - 0x90]
cmp rax, 3
jne 0x10040ea1
mov rax, qword [rbp - 0x88]
cmp rax, 0
jne 0x10040ea1
mov eax, dword [rbp - 0x1c]
mov ecx, eax
add eax, 0xffffffff
mov dword [rbp - 0x1c], eax
mov eax, 0
mov dword [rbp - 0x30], eax
jmp 0x10040f70
mov eax, dword [rbp - 0x1c]
cmp eax, 6
je 0x10040eb9
mov eax, dword [rbp - 0x1c]
cmp eax, 7
jne 0x10040f0b
movsx eax, byte [rbp - 0x94]
cmp eax, 4
jl 0x10040eec
mov eax, dword [rbp - 0x1c]
sub eax, 6
add eax, 0xfa0
movsx ecx, byte [rbp - 0x94]
sub ecx, 4
shl ecx, 3
add eax, ecx
mov dword [rbp - 0x1c], eax
jmp 0x10040efe
movsx eax, byte [rbp - 0x94]
shl eax, 3
mov ecx, dword [rbp - 0x1c]
add ecx, eax
mov dword [rbp - 0x1c], ecx
mov eax, 0
mov dword [rbp - 0x30], eax
jmp 0x10040f70
mov eax, dword [rbp - 0x1c]
cmp eax, 5
jg 0x10040f38
mov eax, dword [rbp + 0x18]
sub eax, 0x250
mov ecx, 5
cdq
idiv ecx
shl eax, 3
mov ecx, dword [rbp - 0x1c]
add ecx, eax
mov dword [rbp - 0x1c], ecx
jmp 0x10040f70
mov rax, qword [rbp - 8]
add rax, 4
movzx eax, word [rax]
and eax, 0x78
cmp eax, 0x40
jne 0x10040f70
mov rax, qword [rbp - 8]
movzx eax, word [rax]
mov ecx, dword [rbp + 0x18]
sub ecx, eax
mov eax, ecx
mov ecx, 6
cdq
idiv ecx
shl eax, 3
mov ecx, dword [rbp - 0x1c]
add ecx, eax
mov dword [rbp - 0x1c], ecx
mov eax, 0xffffffff
mov dword [rbp - 0x10], eax
mov eax, 0xffffffff
mov dword [rbp - 0x14], eax
mov rax, qword [rbp - 8]
add rax, 4
movzx eax, word [rax]
and eax, 8
cmp eax, 0
je 0x1004110c
mov eax, dword [rbp - 0x30]
cmp eax, 0
jne 0x10040fea
mov eax, 0
mov dword [rbp - 0xc], eax
mov eax, dword [rbp - 0xc]
movsxd rax, eax
shl rax, 5
lea rcx, [rbp - 0x98]
add rcx, rax
mov eax, 0xf
mov dword [rcx], eax
mov eax, dword [rbp - 0xc]
movsxd rax, eax
shl rax, 5
lea rcx, [rbp - 0x98]
add rcx, rax
add rcx, 4
mov eax, 0
mov byte [rcx], al
jmp 0x10041092
mov eax, 0
mov dword [rbp - 0xc], eax
mov eax, dword [rbp - 0xc]
mov ecx, dword [rbp - 0x30]
cmp eax, ecx
jge 0x1004103e
jmp 0x10041012
mov eax, dword [rbp - 0xc]
mov ecx, eax
add eax, 1
mov dword [rbp - 0xc], eax
jmp 0x10040ff2
mov eax, dword [rbp - 0xc]
movsxd rax, eax
shl rax, 2
lea rcx, [rbp - 0xac]
add rcx, rax
mov ecx, dword [rcx]
and ecx, 0x40000000
cmp ecx, 0
je 0x1004103c
jmp 0x10041092
jmp 0x10041005
mov eax, 0
mov dword [rbp - 0xc], eax
mov eax, dword [rbp - 0xc]
mov ecx, dword [rbp - 0x30]
cmp eax, ecx
jge 0x10041092
jmp 0x10041066
mov eax, dword [rbp - 0xc]
mov ecx, eax
add eax, 1
mov dword [rbp - 0xc], eax
jmp 0x10041046
mov eax, dword [rbp - 0xc]
movsxd rax, eax
shl rax, 2
lea rcx, [rbp - 0xac]
add rcx, rax
mov ecx, dword [rcx]
and ecx, 0x40003f
cmp ecx, 0
je 0x10041090
jmp 0x10041092
jmp 0x10041059
mov eax, dword [rbp - 0xc]
mov dword [rbp - 0x10], eax
mov eax, 0
mov dword [rbp - 0xc], eax
mov eax, dword [rbp - 0xc]
mov ecx, dword [rbp - 0x30]
cmp eax, ecx
jge 0x1004110c
jmp 0x100410c0
mov eax, dword [rbp - 0xc]
mov ecx, eax
add eax, 1
mov dword [rbp - 0xc], eax
jmp 0x100410a0
mov eax, dword [rbp - 0xc]
movsxd rax, eax
shl rax, 2
lea rcx, [rbp - 0xac]
add rcx, rax
mov ecx, dword [rcx]
mov dword [rbp - 0xe0], ecx
mov eax, dword [rbp - 0xc]
mov ecx, dword [rbp - 0x10]
cmp eax, ecx
je 0x1004110a
mov eax, dword [rbp - 0xe0]
and eax, 0x3ff
cmp eax, 0
je 0x1004110a
mov eax, dword [rbp - 0xc]
mov dword [rbp - 0x14], eax
jmp 0x1004110c
jmp 0x100410b3
mov eax, dword [rbp - 0x10]
mov qword [rsp + 0x28], rax
mov eax, dword [rbp - 0x14]
mov qword [rsp + 0x20], rax
lea rax, [rbp - 0xac]
mov r9, rax
mov eax, dword [rbp - 0x30]
mov r8, rax
lea rax, [rbp - 0x98]
mov r11, rax
mov eax, dword [rbp - 0xbc]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.1003f948
mov rax, qword [rbp - 8]
add rax, 4
movzx eax, word [rax]
and eax, 4
cmp eax, 0
je 0x100411fc
mov eax, dword [rbp - 0x1c]
cmp eax, 0xb0
jne 0x10041185
mov eax, dword [rbp - 0x34]
cmp eax, 1
jl 0x10041185
mov eax, dword [rbp - 0x1c]
add eax, 7
mov dword [rbp - 0x1c], eax
mov eax, 0
mov dword [rbp - 0xc], eax
mov eax, dword [rbp - 0xc]
mov ecx, dword [rbp - 0x30]
cmp eax, ecx
jge 0x100411fc
jmp 0x100411ad
mov eax, dword [rbp - 0xc]
mov ecx, eax
add eax, 1
mov dword [rbp - 0xc], eax
jmp 0x1004118d
mov eax, dword [rbp - 0xc]
movsxd rax, eax
shl rax, 2
lea rcx, [rbp - 0xac]
add rcx, rax
mov ecx, dword [rcx]
and ecx, 0x40f
cmp ecx, 0
je 0x100411fa
mov eax, dword [rbp - 0xc]
movsxd rax, eax
shl rax, 5
lea rcx, [rbp - 0x98]
add rcx, rax
add rcx, 4
movsx ecx, byte [rcx]
mov eax, dword [rbp - 0x1c]
add eax, ecx
mov dword [rbp - 0x1c], eax
jmp 0x100411fc
jmp 0x100411a0
mov rax, qword [rbp - 8]
add rax, 4
movzx eax, word [rax]
and eax, 1
cmp eax, 0
je 0x10041227
mov eax, dword [rbp - 0x34]
cmp eax, 1
setge al
movzx eax, al
mov ecx, dword [rbp - 0x1c]
add ecx, eax
mov dword [rbp - 0x1c], ecx
mov eax, dword [rbp - 0x30]
cmp eax, 1
jne 0x1004137f
mov rax, qword [rbp - 8]
add rax, 7
movzx eax, byte [rax]
cmp eax, 0x1e
jne 0x1004137f
mov rax, qword [rbp - 0x88]
mov r10, rax
mov rcx, r10
call fcn.1000b242
mov qword [rbp - 0xe8], rax
mov rax, qword [rbp - 0xe8]
cmp rax, 0
je 0x1004129e
mov rax, qword [rbp - 0xe8]
add rax, 6
mov rcx, qword [section..bss]
add rcx, 0x560
mov rcx, qword [rcx]
add rcx, 0x24
movzx eax, word [rax]
mov ecx, dword [rcx]
cmp eax, ecx
je 0x100412a3
jmp 0x10041334
mov rax, qword [rbp - 0xe8]
add rax, 8
mov rcx, qword [rbp - 0x90]
mov rax, qword [rax]
add rcx, rax
mov eax, dword [0x1005a0d0]
movsxd rax, eax
sub rcx, rax
sub rcx, 2
mov eax, dword [rbp - 0x1c]
cmp eax, 0xff
setge al
movzx eax, al
movsxd rax, eax
sub rcx, rax
shl rcx, 0x20
shr rcx, 0x20
mov dword [rbp - 0xec], ecx
movsx eax, byte [rbp - 0xec]
mov ecx, dword [rbp - 0xec]
cmp ecx, eax
jne 0x10041334
movabs rax, 0
mov qword [rbp - 0x88], rax
mov eax, dword [rbp - 0xec]
movsxd rax, eax
mov qword [rbp - 0x90], rax
mov eax, 0x2000
mov dword [rbp - 0xac], eax
jmp 0x1004137f
mov eax, dword [rbp - 0x1c]
cmp eax, 0xeb
jne 0x10041350
mov eax, 0xe9
mov dword [rbp - 0x1c], eax
jmp 0x1004137f
mov eax, dword [rbp - 0x1c]
cmp eax, 0x70
jne 0x1004136d
mov eax, dword [rbp - 0x1c]
add eax, 0xf10
mov dword [rbp - 0x1c], eax
jmp 0x1004137f
lea rax, str.invalid_displacement
mov r10, rax
mov rcx, r10
call sym.libtccbs.dll__tcc_error
mov rax, qword [rbp - 8]
add rax, 4
movzx eax, word [rax]
and eax, 0x70
cmp eax, 0x50
jne 0x100413bf
mov rax, qword [rbp - 8]
movzx eax, word [rax]
mov ecx, dword [rbp + 0x18]
sub ecx, eax
movsxd rcx, ecx
lea rax, [0x10056ddb]
add rax, rcx
movzx eax, byte [rax]
mov ecx, dword [rbp - 0x1c]
add ecx, eax
mov dword [rbp - 0x1c], ecx
jmp 0x100413e2
mov rax, qword [rbp - 8]
add rax, 4
movzx eax, word [rax]
and eax, 0x70
cmp eax, 0x60
jne 0x100413e2
mov eax, dword [rbp - 0x1c]
or eax, 0xf0100
mov dword [rbp - 0x1c], eax
mov eax, dword [rbp - 0x1c]
sar eax, 0x10
mov dword [rbp - 0x20], eax
mov eax, dword [rbp - 0x20]
cmp eax, 0
je 0x10041405
mov eax, dword [rbp - 0x20]
mov r10, rax
mov rcx, r10
call fcn.10039208
mov eax, dword [rbp - 0x1c]
sar eax, 8
and eax, 0xff
mov dword [rbp - 0x20], eax
mov eax, dword [rbp - 0x20]
cmp eax, 0
je 0x1004142e
mov eax, dword [rbp - 0x20]
mov r10, rax
mov rcx, r10
call fcn.10039208
mov eax, dword [rbp - 0x1c]
mov r10, rax
mov rcx, r10
call fcn.10039208
mov rax, qword [rbp - 8]
add rax, 4
movzx eax, word [rax]
and eax, 0x70
cmp eax, 0x20
jne 0x10041485
mov rax, qword [rbp - 8]
movzx eax, word [rax]
mov ecx, dword [rbp + 0x18]
sub ecx, eax
mov eax, ecx
mov ecx, 5
cdq
idiv ecx
mov dword [rbp - 0x18], eax
mov eax, dword [rbp - 0x18]
cmp eax, 6
jne 0x10041480
mov eax, 7
mov dword [rbp - 0x18], eax
jmp 0x10041503
mov rax, qword [rbp - 8]
add rax, 4
movzx eax, word [rax]
and eax, 0x70
cmp eax, 0x30
jne 0x100414ba
mov rax, qword [rbp - 8]
movzx eax, word [rax]
mov ecx, dword [rbp + 0x18]
sub ecx, eax
mov eax, ecx
mov ecx, 5
cdq
idiv ecx
mov dword [rbp - 0x18], eax
jmp 0x10041503
mov rax, qword [rbp - 8]
add rax, 4
movzx eax, word [rax]
and eax, 0x70
cmp eax, 0x40
jne 0x100414ef
mov rax, qword [rbp - 8]
movzx eax, word [rax]
mov ecx, dword [rbp + 0x18]
sub ecx, eax
mov eax, ecx
mov ecx, 6
cdq
idiv ecx
mov dword [rbp - 0x18], eax
jmp 0x10041503
mov rax, qword [rbp - 8]
add rax, 4
movzx eax, word [rax]
sar eax, 0xd
and eax, 7
mov dword [rbp - 0x18], eax
mov eax, 0
mov dword [rbp - 0x28], eax
mov rax, qword [rbp - 8]
add rax, 4
movzx eax, word [rax]
and eax, 8
cmp eax, 0
je 0x10041577
mov eax, dword [rbp - 0x14]
cmp eax, 0
jl 0x1004154c
mov eax, dword [rbp - 0x14]
movsxd rax, eax
shl rax, 5
lea rcx, [rbp - 0x98]
add rcx, rax
add rcx, 4
movsx ecx, byte [rcx]
mov dword [rbp - 0x18], ecx
mov eax, dword [rbp - 0x10]
movsxd rax, eax
shl rax, 5
lea rcx, [rbp - 0x98]
add rcx, rax
mov r11, rcx
mov eax, dword [rbp - 0x18]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.10050024
mov dword [rbp - 0x28], eax
mov eax, 0
mov dword [rbp - 0xc], eax
mov eax, dword [rbp - 0xc]
mov ecx, dword [rbp - 0x30]
cmp eax, ecx
jge 0x100417d3
jmp 0x1004159f
mov eax, dword [rbp - 0xc]
mov ecx, eax
add eax, 1
mov dword [rbp - 0xc], eax
jmp 0x1004157f
mov eax, dword [rbp - 0xc]
movsxd rax, eax
shl rax, 2
lea rcx, [rbp - 0xac]
add rcx, rax
mov ecx, dword [rcx]
mov dword [rbp - 0x1c], ecx
mov eax, dword [rbp - 0x1c]
and eax, 0x21f000
cmp eax, 0
je 0x100417ce
mov eax, dword [rbp - 0x1c]
or eax, 0x1000
or eax, 0x10000
cmp eax, 0x1d000
jne 0x1004164a
mov eax, dword [rbp - 0x34]
cmp eax, 0
jne 0x100415fe
mov eax, 0x1000
mov dword [rbp - 0x1c], eax
jmp 0x1004164a
mov eax, dword [rbp - 0x34]
cmp eax, 1
jne 0x10041617
mov eax, 0x4000
mov dword [rbp - 0x1c], eax
jmp 0x1004164a
mov eax, dword [rbp - 0x34]
cmp eax, 2
je 0x10041635
mov eax, dword [rbp - 0x1c]
and eax, 0x10000
cmp eax, 0
jne 0x10041642
mov eax, 0x8000
mov dword [rbp - 0x1c], eax
jmp 0x1004164a
mov eax, 0x10000
mov dword [rbp - 0x1c], eax
mov eax, dword [rbp - 0x1c]
and eax, 0x7000
cmp eax, 0
je 0x10041697
mov eax, dword [rbp - 0xc]
movsxd rax, eax
shl rax, 5
lea rcx, [rbp - 0x98]
add rcx, rax
add rcx, 8
add rcx, 8
mov rcx, qword [rcx]
cmp rcx, 0
je 0x10041697
lea rax, str.cannot_relocate
mov r10, rax
mov rcx, r10
call sym.libtccbs.dll__tcc_error
mov eax, dword [rbp - 0x1c]
and eax, 0x3000
cmp eax, 0
je 0x100416d3
mov eax, dword [rbp - 0xc]
movsxd rax, eax
shl rax, 5
lea rcx, [rbp - 0x98]
add rcx, rax
add rcx, 8
mov ecx, dword [rcx]
mov r10, rcx
mov rcx, r10
call fcn.10039208
jmp 0x100417ce
mov eax, dword [rbp - 0x1c]
and eax, 0x4000
cmp eax, 0
je 0x1004170f
mov eax, dword [rbp - 0xc]
movsxd rax, eax
shl rax, 5
lea rcx, [rbp - 0x98]
add rcx, rax
add rcx, 8
mov ecx, dword [rcx]
mov r10, rcx
mov rcx, r10
call fcn.100392e8
jmp 0x100417ce
mov eax, dword [rbp - 0x1c]
and eax, 0x10000
cmp eax, 0
je 0x10041749
mov eax, dword [rbp - 0xc]
movsxd rax, eax
shl rax, 5
lea rcx, [rbp - 0x98]
add rcx, rax
add rcx, 8
mov r10, rcx
mov rcx, r10
call fcn.1003f7d4
jmp 0x100417ce
mov rax, qword [rbp - 8]
add rax, 7
mov ecx, dword [rbp - 0xc]
movsxd rcx, ecx
add rax, rcx
movzx eax, byte [rax]
cmp eax, 0x1d
je 0x10041783
mov rax, qword [rbp - 8]
add rax, 7
mov ecx, dword [rbp - 0xc]
movsxd rcx, ecx
add rax, rcx
movzx eax, byte [rax]
cmp eax, 0x1e
jne 0x100417ab
mov eax, dword [rbp - 0xc]
movsxd rax, eax
shl rax, 5
lea rcx, [rbp - 0x98]
add rcx, rax
add rcx, 8
mov r10, rcx
mov rcx, r10
call fcn.1003f834
jmp 0x100417ce
mov eax, dword [rbp - 0xc]
movsxd rax, eax
shl rax, 5
lea rcx, [rbp - 0x98]
add rcx, rax
add rcx, 8
mov r10, rcx
mov rcx, r10
call fcn.1003f733
jmp 0x10041592
mov eax, dword [rbp - 0x28]
cmp eax, 0
je 0x10041820
mov rax, qword [section..bss]
add rax, 0x560
mov rax, qword [rax]
add rax, 8
mov ecx, dword [rbp - 0x28]
movsxd rcx, ecx
mov rax, qword [rax]
add rax, rcx
sub rax, 4
mov ecx, dword [rbp - 0x28]
mov edx, dword [0x1005a0d0]
sub ecx, edx
mov r11, rcx
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.1004d864
leave
ret