Function at 0x1002a410
Capabilities:
Encrypt data using speck

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
push esi
push edi
cmp dword [ebp + 8], 0
jne 0x1002a438
push 0xd62
push 0x100f5698
push str.decoder
call fcn.100549fe
add esp, 0xc
cmp dword [ebp + 0xc], 0
jne 0x1002a455
push 0xd63
push 0x100f5750
push 0x100f57f8
call fcn.100549fe
add esp, 0xc
mov edx, dword [ebp + 0xc]
cmp dword [edx], 0
jne 0x1002a474
push 0xd64
push 0x100f5808
push str.context__definition
call fcn.100549fe
add esp, 0xc
cmp dword [ebp + 0x10], 0
jne 0x1002a491
push 0xd65
push 0x100f58d8
push 0x100f5980
call fcn.100549fe
add esp, 0xc
cmp dword [ebp + 0x14], 0
jne 0x1002a4ae
push 0xd66
push 0x100f5998
push str.operands
call fcn.100549fe
add esp, 0xc
movzx eax, byte [ebp + 0x18]
test eax, eax
jne 0x1002a4cd
push 0xd67
push 0x100f5a58
push str.operand_count
call fcn.100549fe
add esp, 0xc
movzx edx, byte [ebp + 0x18]
mov eax, dword [ebp + 0x10]
movzx ecx, byte [eax + 0x18]
cmp edx, ecx
jle 0x1002a4f3
push 0xd68
push 0x100f5b20
push str.operand_count___instruction__operand_count
call fcn.100549fe
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x74]
push edx
call fcn.100275b0
add esp, 4
mov dword [ebp - 0xc], eax
movzx eax, byte [ebp + 0x18]
imul ecx, eax, 0x50
push ecx
push 0
mov edx, dword [ebp + 0x14]
push edx
call fcn.10048490
add esp, 0xc
mov byte [ebp - 2], 0
mov byte [ebp - 1], 0
jmp 0x1002a532
mov al, byte [ebp - 1]
add al, 1
mov byte [ebp - 1], al
movzx ecx, byte [ebp - 1]
movzx edx, byte [ebp + 0x18]
cmp ecx, edx
jge 0x1002b431
mov dword [ebp - 8], 0
movzx eax, byte [ebp - 1]
imul ecx, eax, 0x50
mov edx, dword [ebp + 0x14]
mov al, byte [ebp - 1]
mov byte [edx + ecx], al
mov ecx, dword [ebp - 0xc]
mov dl, byte [ecx]
shr dl, 6
and dl, 3
movzx eax, byte [ebp - 1]
imul ecx, eax, 0x50
movzx edx, dl
mov eax, dword [ebp + 0x14]
mov dword [eax + ecx + 4], edx
mov ecx, dword [ebp - 0xc]
mov dl, byte [ecx + 1]
and dl, 0xf
movzx eax, byte [ebp - 1]
imul ecx, eax, 0x50
mov eax, dword [ebp + 0x14]
mov byte [eax + ecx + 8], dl
mov ecx, dword [ebp - 0xc]
mov dl, byte [ecx + 1]
and dl, 0xf
movzx eax, dl
and eax, 1
and eax, 4
je 0x1002a5d9
mov ecx, dword [ebp - 0xc]
mov dl, byte [ecx + 1]
and dl, 0xf
movzx eax, dl
and eax, 1
mov ecx, dword [ebp - 0xc]
mov dl, byte [ecx + 1]
and dl, 0xf
movzx ecx, dl
and ecx, 4
xor eax, ecx
jne 0x1002a5d9
push 0xd7a
push 0x100f5c20
push str.__operand__actions__ZYDIS_OPERAND_ACTION_READ__ZYDIS_OPERAND_ACTION_CONDREAD____operand__actions__ZYDIS_OPERAND_ACTION_READ____operand__actions__ZYDIS_OPERAND_ACTION_CONDREAD_
call fcn.100549fe
add esp, 0xc
mov eax, dword [ebp - 0xc]
mov cl, byte [eax + 1]
and cl, 0xf
movzx edx, cl
and edx, 2
and edx, 8
je 0x1002a626
mov eax, dword [ebp - 0xc]
mov cl, byte [eax + 1]
and cl, 0xf
movzx edx, cl
and edx, 2
mov eax, dword [ebp - 0xc]
mov cl, byte [eax + 1]
and cl, 0xf
movzx eax, cl
and eax, 8
xor edx, eax
jne 0x1002a626
push 0xd7e
push 0x100f5e38
push str.__operand__actions__ZYDIS_OPERAND_ACTION_WRITE__ZYDIS_OPERAND_ACTION_CONDWRITE____operand__actions__ZYDIS_OPERAND_ACTION_WRITE____operand__actions__ZYDIS_OPERAND_ACTION_CONDWRITE_
call fcn.100549fe
add esp, 0xc
mov edx, dword [ebp - 0xc]
mov al, byte [edx]
and al, 0x3f
mov byte [ebp - 0x1c], al
cmp byte [ebp - 0x1c], 1
je 0x1002a647
cmp byte [ebp - 0x1c], 2
je 0x1002a66f
cmp byte [ebp - 0x1c], 3
je 0x1002a694
jmp 0x1002a6f0
mov ecx, dword [ebp - 0xc]
push ecx
movzx edx, byte [ebp - 1]
imul eax, edx, 0x50
add eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.10029f00
add esp, 0x14
jmp 0x1002a6f0
mov ecx, dword [ebp - 0xc]
push ecx
movzx edx, byte [ebp - 1]
imul eax, edx, 0x50
add eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.1002a180
add esp, 0x14
jmp 0x1002a6f0
movzx ecx, byte [ebp - 1]
imul edx, ecx, 0x50
mov eax, dword [ebp + 0x14]
mov dword [eax + edx + 0x20], 4
movzx ecx, byte [ebp - 1]
imul edx, ecx, 0x50
mov eax, 8
mov ecx, dword [ebp + 0x14]
mov word [ecx + edx + 0x10], ax
movzx edx, byte [ebp - 1]
imul eax, edx, 0x50
mov ecx, dword [ebp + 0x14]
xor edx, edx
mov dword [ecx + eax + 0x30], 1
mov dword [ecx + eax + 0x34], edx
movzx eax, byte [ebp - 1]
imul ecx, eax, 0x50
mov edx, dword [ebp + 0x14]
mov byte [edx + ecx + 0x28], 0
movzx eax, byte [ebp - 1]
imul ecx, eax, 0x50
mov edx, dword [ebp + 0x14]
mov byte [edx + ecx + 0x29], 0
movzx eax, byte [ebp - 1]
imul ecx, eax, 0x50
mov edx, dword [ebp + 0x14]
cmp dword [edx + ecx + 0x20], 0
je 0x1002a706
jmp 0x1002b16b
mov eax, dword [ebp - 0xc]
mov cl, byte [eax + 9]
and cl, 0x3f
movzx edx, byte [ebp - 1]
imul eax, edx, 0x50
movzx ecx, cl
mov edx, dword [ebp + 0x14]
mov dword [edx + eax + 0xc], ecx
mov eax, dword [ebp - 0xc]
mov cl, byte [eax]
and cl, 0x3f
movzx edx, cl
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
sub eax, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x12
ja case.default.0x1002a744
mov ecx, dword [ebp - 0x10]
jmp dword [ecx*4 + 0x1002b4d0]
mov dword [ebp - 8], 1
jmp case.default.0x1002a744
mov dword [ebp - 8], 2
jmp case.default.0x1002a744
mov dword [ebp - 8], 3
jmp case.default.0x1002a744
mov dword [ebp - 8], 4
jmp case.default.0x1002a744
mov edx, dword [ebp + 0x10]
movzx eax, byte [edx + 0x16]
cmp eax, 0x10
je 0x1002a7b6
mov ecx, dword [ebp + 0x10]
movzx edx, byte [ecx + 0x16]
cmp edx, 0x20
je 0x1002a7b6
mov eax, dword [ebp + 0x10]
movzx ecx, byte [eax + 0x16]
cmp ecx, 0x40
je 0x1002a7b6
push 0xdab
push 0x100f6058
push 0x100f6100
call fcn.100549fe
add esp, 0xc
mov eax, dword [ebp + 0x10]
movzx ecx, byte [eax + 0x16]
cmp ecx, 0x10
jne 0x1002a7cb
mov dword [ebp - 0x24], 2
jmp 0x1002a7ed
mov edx, dword [ebp + 0x10]
movzx eax, byte [edx + 0x16]
cmp eax, 0x20
jne 0x1002a7e0
mov dword [ebp - 0x20], 3
jmp 0x1002a7e7
mov dword [ebp - 0x20], 4
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 8], edx
jmp case.default.0x1002a744
mov eax, dword [ebp + 0x10]
movzx ecx, byte [eax + 0x16]
cmp ecx, 0x10
je 0x1002a833
mov edx, dword [ebp + 0x10]
movzx eax, byte [edx + 0x16]
cmp eax, 0x20
je 0x1002a833
mov ecx, dword [ebp + 0x10]
movzx edx, byte [ecx + 0x16]
cmp edx, 0x40
je 0x1002a833
push 0xdb2
push 0x100f61e0
push 0x100f6288
call fcn.100549fe
add esp, 0xc
mov ecx, dword [ebp + 0x10]
movzx edx, byte [ecx + 0x16]
cmp edx, 0x10
jne 0x1002a848
mov dword [ebp - 0x2c], 3
jmp 0x1002a86a
mov eax, dword [ebp + 0x10]
movzx ecx, byte [eax + 0x16]
cmp ecx, 0x20
jne 0x1002a85d
mov dword [ebp - 0x28], 3
jmp 0x1002a864
mov dword [ebp - 0x28], 4
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 8], eax
jmp case.default.0x1002a744
mov ecx, dword [ebp + 0x10]
movzx edx, byte [ecx + 0x16]
cmp edx, 0x10
je 0x1002a8b0
mov eax, dword [ebp + 0x10]
movzx ecx, byte [eax + 0x16]
cmp ecx, 0x20
je 0x1002a8b0
mov edx, dword [ebp + 0x10]
movzx eax, byte [edx + 0x16]
cmp eax, 0x40
je 0x1002a8b0
push 0xdb9
push 0x100f6368
push str._instruction__operand_width__16____instruction__operand_width__32____instruction__operand_width__64_
call fcn.100549fe
add esp, 0xc
mov edx, dword [ebp + 0x10]
movzx eax, byte [edx + 0x16]
cmp eax, 0x10
jne 0x1002a8c5
mov dword [ebp - 0x30], 2
jmp 0x1002a8cc
mov dword [ebp - 0x30], 3
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 8], ecx
jmp case.default.0x1002a744
mov edx, dword [ebp + 0x10]
movzx eax, byte [edx + 0x17]
cmp eax, 0x10
je 0x1002a912
mov ecx, dword [ebp + 0x10]
movzx edx, byte [ecx + 0x17]
cmp edx, 0x20
je 0x1002a912
mov eax, dword [ebp + 0x10]
movzx ecx, byte [eax + 0x17]
cmp ecx, 0x40
je 0x1002a912
push 0xdbf
push 0x100f64f0
push str._instruction__address_width__16____instruction__address_width__32____instruction__address_width__64_
call fcn.100549fe
add esp, 0xc
mov eax, dword [ebp + 0x10]
movzx ecx, byte [eax + 0x17]
cmp ecx, 0x10
jne 0x1002a927
mov dword [ebp - 0x38], 2
jmp 0x1002a949
mov edx, dword [ebp + 0x10]
movzx eax, byte [edx + 0x17]
cmp eax, 0x20
jne 0x1002a93c
mov dword [ebp - 0x34], 3
jmp 0x1002a943
mov dword [ebp - 0x34], 4
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
mov dword [ebp - 8], edx
jmp case.default.0x1002a744
mov dword [ebp - 8], 5
jmp case.default.0x1002a744
mov dword [ebp - 8], 6
jmp case.default.0x1002a744
mov dword [ebp - 8], 7
jmp case.default.0x1002a744
mov dword [ebp - 8], 8
jmp case.default.0x1002a744
mov dword [ebp - 8], 9
jmp case.default.0x1002a744
mov dword [ebp - 8], 0xa
jmp case.default.0x1002a744
mov dword [ebp - 8], 0x13
jmp case.default.0x1002a744
mov dword [ebp - 8], 0xd
jmp case.default.0x1002a744
mov dword [ebp - 8], 0x10
jmp case.default.0x1002a744
mov dword [ebp - 8], 0x11
jmp case.default.0x1002a744
mov dword [ebp - 8], 0x12
cmp dword [ebp - 8], 0
je 0x1002ac0c
mov eax, dword [ebp - 0xc]
mov cl, byte [eax + 9]
and cl, 0x3f
movzx edx, cl
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
sub eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 5
ja case.default.0x1002a9e1
mov ecx, dword [ebp - 0x14]
jmp dword [ecx*4 + 0x1002b51c]
mov edx, dword [ebp - 8]
push edx
push 2
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.10028ef0
add esp, 0x10
movzx edx, al
push edx
mov eax, dword [ebp - 8]
push eax
movzx ecx, byte [ebp - 1]
imul edx, ecx, 0x50
add edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.10029880
add esp, 0x10
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
and ecx, 0x80000000
je 0x1002aa33
mov eax, dword [ebp - 0x3c]
jmp 0x1002b4c9
xor edx, edx
jne case.0x1002a9e1.0
jmp case.default.0x1002a9e1
mov eax, dword [ebp - 8]
push eax
push 4
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.10028ef0
add esp, 0x10
movzx eax, al
push eax
mov ecx, dword [ebp - 8]
push ecx
movzx edx, byte [ebp - 1]
imul eax, edx, 0x50
add eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.10029880
add esp, 0x10
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x40]
and edx, 0x80000000
je 0x1002aa87
mov eax, dword [ebp - 0x40]
jmp 0x1002b4c9
xor eax, eax
jne case.0x1002a9e1.1
jmp case.default.0x1002a9e1
mov ecx, dword [ebp - 8]
push ecx
push 1
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.10028ef0
add esp, 0x10
movzx ecx, al
push ecx
mov edx, dword [ebp - 8]
push edx
movzx eax, byte [ebp - 1]
imul ecx, eax, 0x50
add ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.10029880
add esp, 0x10
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
and eax, 0x80000000
je 0x1002aada
mov eax, dword [ebp - 0x44]
jmp 0x1002b4c9
xor ecx, ecx
jne case.0x1002a9e1.2
jmp case.default.0x1002a9e1
mov edx, dword [ebp - 8]
push edx
push 3
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.10028ef0
add esp, 0x10
movzx edx, al
push edx
mov eax, dword [ebp - 8]
push eax
movzx ecx, byte [ebp - 1]
imul edx, ecx, 0x50
add edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.10029880
add esp, 0x10
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
and ecx, 0x80000000
je 0x1002ab2e
mov eax, dword [ebp - 0x48]
jmp 0x1002b4c9
xor edx, edx
jne case.0x1002a9e1.3
jmp case.default.0x1002a9e1
mov eax, dword [ebp - 8]
push eax
push 9
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.10028ef0
add esp, 0x10
movzx eax, al
push eax
mov ecx, dword [ebp - 8]
push ecx
movzx edx, byte [ebp - 1]
imul eax, edx, 0x50
add eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.10029880
add esp, 0x10
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x4c]
and edx, 0x80000000
je 0x1002ab82
mov eax, dword [ebp - 0x4c]
jmp 0x1002b4c9
xor eax, eax
jne case.0x1002a9e1.5
jmp case.default.0x1002a9e1
mov ecx, dword [ebp - 8]
push ecx
push 8
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.10028ef0
add esp, 0x10
movzx ecx, al
push ecx
mov edx, dword [ebp - 8]
push edx
movzx eax, byte [ebp - 1]
imul ecx, eax, 0x50
add ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.10029880
add esp, 0x10
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
and eax, 0x80000000
je 0x1002abd2
mov eax, dword [ebp - 0x50]
jmp 0x1002b4c9
xor ecx, ecx
jne case.0x1002a9e1.4
jmp case.default.0x1002a9e1
mov edx, dword [ebp - 0xc]
mov al, byte [edx + 0xc]
and al, 1
movzx ecx, al
test ecx, ecx
je 0x1002ac07
movzx edx, byte [ebp - 1]
imul eax, edx, 0x50
mov ecx, dword [ebp + 0x14]
movzx edx, byte [ecx + eax + 0x1c]
or edx, 1
movzx eax, byte [ebp - 1]
imul ecx, eax, 0x50
mov eax, dword [ebp + 0x14]
mov byte [eax + ecx + 0x1c], dl
jmp 0x1002b16b
mov ecx, dword [ebp - 0xc]
mov dl, byte [ecx]
and dl, 0x3f
movzx eax, dl
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
sub ecx, 0x17
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 9
ja case.0x1002ac30.4
mov edx, dword [ebp - 0x18]
jmp dword [edx*4 + 0x1002b534]
push 0
movzx eax, byte [ebp - 1]
imul ecx, eax, 0x50
add ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.10029960
add esp, 0x10
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
and ecx, 0x80000000
je 0x1002ac6a
mov eax, dword [ebp - 0x54]
jmp 0x1002b4c9
xor edx, edx
jne case.0x1002ac30.0
jmp case.0x1002ac30.4
push 7
movzx eax, byte [ebp - 1]
imul ecx, eax, 0x50
add ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.10029960
add esp, 0x10
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
and ecx, 0x80000000
je 0x1002aca6
mov eax, dword [ebp - 0x58]
jmp 0x1002b4c9
xor edx, edx
jne case.0x1002ac30.1
movzx eax, byte [ebp - 1]
imul ecx, eax, 0x50
mov edx, dword [ebp + 0x14]
mov dword [edx + ecx + 0x28], 4
jmp case.0x1002ac30.4
push 8
movzx eax, byte [ebp - 1]
imul ecx, eax, 0x50
add ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.10029960
add esp, 0x10
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
and ecx, 0x80000000
je 0x1002acf4
mov eax, dword [ebp - 0x5c]
jmp 0x1002b4c9
xor edx, edx
jne case.0x1002ac30.2
movzx eax, byte [ebp - 1]
imul ecx, eax, 0x50
mov edx, dword [ebp + 0x14]
mov dword [edx + ecx + 0x28], 4
jmp case.0x1002ac30.4
push 9
movzx eax, byte [ebp - 1]
imul ecx, eax, 0x50
add ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.10029960
add esp, 0x10
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
and ecx, 0x80000000
je 0x1002ad42
mov eax, dword [ebp - 0x60]
jmp 0x1002b4c9
xor edx, edx
jne case.0x1002ac30.3
movzx eax, byte [ebp - 1]
imul ecx, eax, 0x50
mov edx, dword [ebp + 0x14]
mov dword [edx + ecx + 0x28], 4
jmp case.0x1002ac30.4
mov eax, 0x18
imul ecx, eax, 0
mov edx, dword [ebp + 0x10]
movzx eax, byte [edx + ecx + 0x120]
cmp eax, 0x10
je 0x1002ada4
mov ecx, 0x18
imul edx, ecx, 0
mov eax, dword [ebp + 0x10]
movzx ecx, byte [eax + edx + 0x120]
cmp ecx, 0x20
je 0x1002ada4
push 0xe3e
push 0x100f6678
push str._instruction__raw.imm_0_.size__16____instruction__raw.imm_0_.size__32_
call fcn.100549fe
add esp, 0xc
mov eax, 0x18
shl eax, 0
mov ecx, dword [ebp + 0x10]
movzx edx, byte [ecx + eax + 0x120]
cmp edx, 0x10
je 0x1002add3
push 0xe3f
push 0x100f67c0
push str.instruction__raw.imm_1_.size__16
call fcn.100549fe
add esp, 0xc
movzx ecx, byte [ebp - 1]
imul edx, ecx, 0x50
mov eax, dword [ebp + 0x14]
mov dword [eax + edx + 0x20], 3
mov ecx, 0x18
imul edx, ecx, 0
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + edx + 0x118]
movzx edx, byte [ebp - 1]
imul eax, edx, 0x50
mov edx, dword [ebp + 0x14]
mov dword [edx + eax + 0x2c], ecx
mov eax, 0x18
shl eax, 0
mov ecx, dword [ebp + 0x10]
mov dx, word [ecx + eax + 0x118]
movzx eax, byte [ebp - 1]
imul ecx, eax, 0x50
mov eax, dword [ebp + 0x14]
mov word [eax + ecx + 0x28], dx
jmp case.0x1002ac30.4
movzx ecx, byte [ebp - 1]
imul edx, ecx, 0x50
mov eax, dword [ebp + 0x14]
mov byte [eax + edx + 8], 0
push 0
movzx ecx, byte [ebp - 1]
imul edx, ecx, 0x50
add edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.10029960
add esp, 0x10
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x64]
and edx, 0x80000000
je 0x1002ae6e
mov eax, dword [ebp - 0x64]
jmp 0x1002b4c9
xor eax, eax
jne 0x1002ae3b
movzx ecx, byte [ebp - 1]
imul edx, ecx, 0x50
mov eax, dword [ebp + 0x14]
mov dword [eax + edx + 0x28], 2
jmp case.0x1002ac30.4
mov ecx, dword [ebp + 0x10]
movzx edx, byte [ecx + 0x108]
test edx, edx
jne 0x1002aeae
push 0xe4c
push 0x100f68b0
push str.instruction__raw.disp.size
call fcn.100549fe
add esp, 0xc
movzx ecx, byte [ebp - 1]
imul edx, ecx, 0x50
mov eax, dword [ebp + 0x14]
mov dword [eax + edx + 0x20], 2
movzx ecx, byte [ebp - 1]
imul edx, ecx, 0x50
mov eax, dword [ebp + 0x14]
mov dword [eax + edx + 0x28], 1
movzx ecx, byte [ebp - 1]
imul edx, ecx, 0x50
mov eax, dword [ebp + 0x14]
mov byte [eax + edx + 0x40], 1
movzx ecx, byte [ebp - 1]
imul edx, ecx, 0x50
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov esi, dword [ecx + 0x100]
mov ecx, dword [ecx + 0x104]
mov dword [eax + edx + 0x48], esi
mov dword [eax + edx + 0x4c], ecx
jmp case.0x1002ac30.4
movzx edx, byte [ebp - 1]
imul eax, edx, 0x50
mov ecx, dword [ebp + 0x14]
mov byte [ecx + eax + 8], 0
push 0
movzx edx, byte [ebp - 1]
imul eax, edx, 0x50
add eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.10029960
add esp, 0x10
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
and eax, 0x80000000
je 0x1002af45
mov eax, dword [ebp - 0x68]
jmp 0x1002b4c9
xor ecx, ecx
jne 0x1002af13
movzx edx, byte [ebp - 1]
imul eax, edx, 0x50
mov ecx, dword [ebp + 0x14]
mov dword [ecx + eax + 0x28], 3
movzx edx, byte [ebp - 1]
imul eax, edx, 0x50
mov ecx, dword [ebp + 0x14]
cmp dword [ecx + eax + 0x20], 0
je 0x1002afc7
mov edx, dword [ebp + 0x10]
cmp dword [edx + 0xc], 4
je 0x1002af7e
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0xc], 5
jne 0x1002afc2
mov ecx, dword [ebp + 0x10]
movzx edx, byte [ecx + 0x108]
cmp edx, 8
jne 0x1002afc2
movzx eax, byte [ebp - 1]
imul ecx, eax, 0x50
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 0x19]
cdq
mov esi, dword [ebp + 0x14]
push edx
push eax
mov eax, dword [esi + ecx + 0x4c]
push eax
mov ecx, dword [esi + ecx + 0x48]
push ecx
call fcn.10047270
movzx ecx, byte [ebp - 1]
imul ecx, ecx, 0x50
mov esi, dword [ebp + 0x14]
mov dword [esi + ecx + 0x48], eax
mov dword [esi + ecx + 0x4c], edx
jmp 0x1002b16b
mov edx, dword [ebp - 0xc]
mov al, byte [edx]
and al, 0x3f
mov byte [ebp - 0x6c], al
cmp byte [ebp - 0x6c], 0x1b
je 0x1002b00f
cmp byte [ebp - 0x6c], 0x1c
je 0x1002afe2
jmp 0x1002b143
movzx ecx, byte [ebp - 2]
imul edx, ecx, 0x18
mov eax, dword [ebp + 0x10]
movzx ecx, byte [eax + edx + 0x111]
test ecx, ecx
jne 0x1002b00f
push 0xe6f
push 0x100f6990
push str.instruction__raw.imm_imm_id_.is_relative
call fcn.100549fe
add esp, 0xc
movzx eax, byte [ebp - 2]
test eax, eax
je 0x1002b037
movzx ecx, byte [ebp - 2]
cmp ecx, 1
je 0x1002b037
push 0xe72
push 0x100f6a90
push str._imm_id__0____imm_id__1_
call fcn.100549fe
add esp, 0xc
movzx eax, byte [ebp - 1]
imul ecx, eax, 0x50
mov edx, dword [ebp + 0x14]
mov dword [edx + ecx + 0x20], 4
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + 4]
mov edx, dword [ebp - 0xc]
movzx eax, word [edx + ecx*2 + 2]
shl eax, 3
movzx ecx, byte [ebp - 1]
imul edx, ecx, 0x50
mov ecx, dword [ebp + 0x14]
mov word [ecx + edx + 0x10], ax
mov edx, dword [ebp - 0xc]
mov al, byte [edx + 9]
and al, 0x3f
movzx ecx, al
cmp ecx, 5
jne 0x1002b0d2
movzx edx, byte [ebp - 2]
imul eax, edx, 0x18
mov ecx, dword [ebp + 0x10]
movzx edx, byte [ecx + eax + 0x120]
cmp edx, 8
je 0x1002b0a8
push 0xe78
push 0x100f6b78
push str.instruction__raw.imm_imm_id_.size__8
call fcn.100549fe
add esp, 0xc
movzx ecx, byte [ebp - 2]
imul edx, ecx, 0x18
mov eax, dword [ebp + 0x10]
movzx eax, byte [eax + edx + 0x118]
and eax, 0xf
movzx ecx, byte [ebp - 1]
imul ecx, ecx, 0x50
cdq
mov esi, dword [ebp + 0x14]
mov dword [esi + ecx + 0x30], eax
mov dword [esi + ecx + 0x34], edx
jmp 0x1002b0fc
movzx edx, byte [ebp - 2]
imul eax, edx, 0x18
movzx ecx, byte [ebp - 1]
imul edx, ecx, 0x50
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov edi, dword [esi + eax + 0x118]
mov eax, dword [esi + eax + 0x11c]
mov dword [ecx + edx + 0x30], edi
mov dword [ecx + edx + 0x34], eax
movzx ecx, byte [ebp - 2]
imul edx, ecx, 0x18
movzx eax, byte [ebp - 1]
imul ecx, eax, 0x50
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov dl, byte [esi + edx + 0x110]
mov byte [eax + ecx + 0x28], dl
movzx eax, byte [ebp - 2]
imul ecx, eax, 0x18
movzx edx, byte [ebp - 1]
imul eax, edx, 0x50
mov edx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov cl, byte [esi + ecx + 0x111]
mov byte [edx + eax + 0x29], cl
mov dl, byte [ebp - 2]
add dl, 1
mov byte [ebp - 2], dl
movzx eax, byte [ebp - 1]
imul ecx, eax, 0x50
mov edx, dword [ebp + 0x14]
cmp dword [edx + ecx + 0x20], 4
je 0x1002b16b
push 0xe86
push 0x100f6c70
push str.operands_i_.type__ZYDIS_OPERAND_TYPE_IMMEDIATE
call fcn.100549fe
add esp, 0xc
movzx ecx, byte [ebp - 1]
imul edx, ecx, 0x50
mov eax, dword [ebp + 0x14]
cmp dword [eax + edx + 0x20], 2
jne 0x1002b404
mov ecx, dword [ebp - 0xc]
mov dl, byte [ecx + 0xc]
shr dl, 1
and dl, 1
movzx eax, dl
test eax, eax
jne 0x1002b1c6
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x20]
and edx, 0
mov eax, dword [ecx + 0x24]
and eax, 0x20
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x7c]
or ecx, dword [ebp - 0x78]
je 0x1002b1c6
movzx edx, byte [ebp - 1]
imul eax, edx, 0x50
mov ecx, dword [ebp + 0x14]
mov dword [ecx + eax + 0x2c], 0xc7
jmp 0x1002b404
mov edx, dword [ebp - 0xc]
mov al, byte [edx + 0xc]
shr al, 1
and al, 1
movzx ecx, al
test ecx, ecx
jne 0x1002b211
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x20]
and eax, 0
mov ecx, dword [edx + 0x24]
and ecx, 0x40
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], ecx
mov edx, dword [ebp - 0x84]
or edx, dword [ebp - 0x80]
je 0x1002b211
movzx eax, byte [ebp - 1]
imul ecx, eax, 0x50
mov edx, dword [ebp + 0x14]
mov dword [edx + ecx + 0x2c], 0xc8
jmp 0x1002b404
mov eax, dword [ebp - 0xc]
mov cl, byte [eax + 0xc]
shr cl, 1
and cl, 1
movzx edx, cl
test edx, edx
jne 0x1002b266
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x20]
and ecx, 0
mov edx, dword [eax + 0x24]
and edx, 0x80
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x8c]
or eax, dword [ebp - 0x88]
je 0x1002b266
movzx ecx, byte [ebp - 1]
imul edx, ecx, 0x50
mov eax, dword [ebp + 0x14]
mov dword [eax + edx + 0x2c], 0xc9
jmp 0x1002b404
mov ecx, dword [ebp - 0xc]
mov dl, byte [ecx + 0xc]
shr dl, 1
and dl, 1
movzx eax, dl
test eax, eax
jne 0x1002b2ba
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x20]
and edx, 0
mov eax, dword [ecx + 0x24]
and eax, 0x100
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x94]
or ecx, dword [ebp - 0x90]
je 0x1002b2ba
movzx edx, byte [ebp - 1]
imul eax, edx, 0x50
mov ecx, dword [ebp + 0x14]
mov dword [ecx + eax + 0x2c], 0xc6
jmp 0x1002b404
mov edx, dword [ebp - 0xc]
mov al, byte [edx + 0xc]
shr al, 1
and al, 1
movzx ecx, al
test ecx, ecx
jne 0x1002b30e
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x20]
and eax, 0
mov ecx, dword [edx + 0x24]
and ecx, 0x200
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], ecx
mov edx, dword [ebp - 0x9c]
or edx, dword [ebp - 0x98]
je 0x1002b30e
movzx eax, byte [ebp - 1]
imul ecx, eax, 0x50
mov edx, dword [ebp + 0x14]
mov dword [edx + ecx + 0x2c], 0xca
jmp 0x1002b404
mov eax, dword [ebp - 0xc]
mov cl, byte [eax + 0xc]
shr cl, 1
and cl, 1
movzx edx, cl
test edx, edx
jne 0x1002b363
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x20]
and ecx, 0
mov edx, dword [eax + 0x24]
and edx, 0x400
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0xa4]
or eax, dword [ebp - 0xa0]
je 0x1002b363
movzx ecx, byte [ebp - 1]
imul edx, ecx, 0x50
mov eax, dword [ebp + 0x14]
mov dword [eax + edx + 0x2c], 0xcb
jmp 0x1002b404
movzx ecx, byte [ebp - 1]
imul edx, ecx, 0x50
mov eax, dword [ebp + 0x14]
cmp dword [eax + edx + 0x2c], 0
jne 0x1002b404
movzx ecx, byte [ebp - 1]
imul edx, ecx, 0x50
mov eax, dword [ebp + 0x14]
cmp dword [eax + edx + 0x30], 0x39
je 0x1002b3de
movzx ecx, byte [ebp - 1]
imul edx, ecx, 0x50
mov eax, dword [ebp + 0x14]
cmp dword [eax + edx + 0x30], 0x3a
je 0x1002b3de
movzx ecx, byte [ebp - 1]
imul edx, ecx, 0x50
mov eax, dword [ebp + 0x14]
cmp dword [eax + edx + 0x30], 0x29
je 0x1002b3de
movzx ecx, byte [ebp - 1]
imul edx, ecx, 0x50
mov eax, dword [ebp + 0x14]
cmp dword [eax + edx + 0x30], 0x2a
je 0x1002b3de
movzx ecx, byte [ebp - 1]
imul edx, ecx, 0x50
mov eax, dword [ebp + 0x14]
cmp dword [eax + edx + 0x30], 0x19
je 0x1002b3de
movzx ecx, byte [ebp - 1]
imul edx, ecx, 0x50
mov eax, dword [ebp + 0x14]
cmp dword [eax + edx + 0x30], 0x1a
jne 0x1002b3f2
movzx ecx, byte [ebp - 1]
imul edx, ecx, 0x50
mov eax, dword [ebp + 0x14]
mov dword [eax + edx + 0x2c], 0xc8
jmp 0x1002b404
movzx ecx, byte [ebp - 1]
imul edx, ecx, 0x50
mov eax, dword [ebp + 0x14]
mov dword [eax + edx + 0x2c], 0xc9
mov ecx, dword [ebp - 0xc]
push ecx
movzx edx, byte [ebp - 1]
imul eax, edx, 0x50
add eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.100290f0
add esp, 0x10
mov eax, dword [ebp - 0xc]
add eax, 0xd
mov dword [ebp - 0xc], eax
jmp 0x1002a52a
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + 0x34], 2
jne 0x1002b4c4
movzx edx, byte [ebp + 0x18]
cmp edx, 1
jge 0x1002b45e
push 0xecc
push 0x100f6d80
push str.operand_count___1
call fcn.100549fe
add esp, 0xc
mov ecx, 0x50
imul edx, ecx, 0
mov eax, dword [ebp + 0x14]
mov cl, byte [eax + edx + 8]
mov byte [ebp - 0x70], cl
cmp byte [ebp - 0x70], 2
je 0x1002b47e
cmp byte [ebp - 0x70], 3
je 0x1002b4b4
jmp 0x1002b4c4
mov edx, 0x50
imul eax, edx, 0
mov ecx, dword [ebp + 0x14]
cmp dword [ecx + eax + 0x20], 2
jne 0x1002b4a2
mov edx, 0x50
imul eax, edx, 0
mov ecx, dword [ebp + 0x14]
mov byte [ecx + eax + 8], 8
jmp 0x1002b4b2
mov edx, 0x50
imul eax, edx, 0
mov ecx, dword [ebp + 0x14]
mov byte [ecx + eax + 8], 9
jmp 0x1002b4c4
mov edx, 0x50
imul eax, edx, 0
mov ecx, dword [ebp + 0x14]
mov byte [ecx + eax + 8], 9
mov eax, 0x100000
pop edi
pop esi
mov esp, ebp
pop ebp
ret