Function at 0x100a3b50
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x10001850]
xor eax, esp
mov dword [esp + 0x18], eax
mov edx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], edx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x10], ecx
mov byte [esp + 0x1c], dl
mov ebx, dword [edi + 0x88]
test ebx, ebx
jne 0x100a3bbb
mov edx, str.ERROR:
mov ecx, 0x100e9268
call fcn.10015c40
mov edx, str.EncodeInstruction___called_without_calling_Init__
mov ecx, eax
call fcn.10015c40
push eax
call fcn.1001a500
add esp, 4
cmp byte [0x100ea58c], 0
je 0x100a3ce5
jmp 0x100a3e02
mov eax, dword [edi + 0x8c]
test eax, eax
js 0x100a3d01
cmp dword [edi + 0x1c], 0x10
lea esi, [edi + 8]
jb 0x100a3bd6
mov eax, dword [esi]
jmp 0x100a3bd8
mov eax, esi
mov edx, dword [edi + 0x8c]
mov al, byte [edx + eax]
mov byte [esp + 0x18], al
cmp ecx, 1
jne 0x100a3c26
movzx ecx, al
mov eax, dword [edi + 0x84]
cmp byte [ecx + eax], 1
jne 0x100a3c22
mov edx, str.WARNING:
mov ecx, 0x100e9268
call fcn.10015c40
mov edx, str.EncodeInstruction___called_for_two_ADD_instructions_in_a_row
mov ecx, eax
call fcn.10015c40
push eax
call fcn.1001a500
add esp, 4
call fcn.10094970
mov ecx, dword [esp + 0x10]
mov eax, dword [ebp + 0xc]
mov edx, dword [esp + 0x18]
cmp eax, 0xff
ja 0x100a3c86
push dword [esp + 0x1c]
push eax
push ecx
mov ecx, dword [edi + 0x88]
push edx
call fcn.100a36d0
movzx ecx, ax
mov eax, 0x100
cmp cx, ax
je 0x100a3c82
cmp dword [esi + 0x14], 0x10
jb 0x100a3c5b
mov esi, dword [esi]
mov eax, dword [edi + 0x8c]
mov byte [esi + eax], cl
mov dword [edi + 0x8c], 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.100af3ad
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [esp + 0x18]
push dword [esp + 0x1c]
mov ebx, dword [edi + 0x88]
mov ecx, ebx
push 0
push dword [esp + 0x18]
push edx
call fcn.100a36d0
movzx edx, ax
mov eax, 0x100
cmp dx, ax
je 0x100a3cf9
cmp dword [esi + 0x14], 0x10
jb 0x100a3cb5
mov ecx, dword [esi]
jmp 0x100a3cb7
mov ecx, esi
mov eax, dword [edi + 0x8c]
mov byte [ecx + eax], dl
lea edx, [esp + 0x1c]
mov ecx, dword [ebp + 0xc]
mov dword [edi + 0x8c], 0xffffffff
call fcn.100a8020
lea edx, [esp + 0x21]
mov ecx, esi
push eax
sub edx, eax
push edx
call fcn.1002c6f0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.100af3ad
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 0xc]
cmp eax, 0xff
ja 0x100a3d5e
cmp cl, 3
jne 0x100a3d18
movzx edx, dl
add edx, 3
jmp 0x100a3d1b
movzx edx, cl
movzx esi, al
cmp esi, dword [ebx + 4]
jg 0x100a3d5e
mov eax, dword [ebx + 8]
mov eax, dword [eax + edx*4]
movzx eax, word [eax + esi*2]
mov esi, 0x100
cmp ax, si
je 0x100a3d63
push eax
lea ecx, [edi + 8]
call fcn.1007dbf0
mov eax, dword [edi + 0x18]
mov ecx, dword [esp + 0x24]
dec eax
mov dword [edi + 0x8c], eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100af3ad
mov esp, ebp
pop ebp
ret 0xc
mov esi, 0x100
cmp cl, 3
jne 0x100a3d74
mov eax, dword [esp + 0x14]
movzx edx, al
add edx, 3
jmp 0x100a3d77
movzx edx, cl
cmp dword [ebx + 4], 0
jl 0x100a3dba
mov eax, dword [ebx + 8]
mov eax, dword [eax + edx*4]
movzx eax, word [eax]
cmp ax, si
je 0x100a3dba
push eax
lea ecx, [edi + 8]
call fcn.1007dbf0
mov eax, dword [edi + 0x18]
lea edx, [esp + 0x1c]
mov ecx, dword [ebp + 0xc]
dec eax
mov dword [edi + 0x8c], eax
call fcn.100a8020
lea edx, [esp + 0x21]
push eax
sub edx, eax
lea ecx, [edi + 8]
push edx
jmp 0x100a3ce0
push ecx
push ecx
mov edx, str.ERROR:
mov ecx, 0x100e9268
call fcn.10015c40
mov edx, str.No_matching_opcode_found_for_inst
mov ecx, eax
call fcn.10015c40
add esp, 4
mov ecx, eax
call fcn.10050e60
mov edx, str.__mode
mov ecx, eax
call fcn.10015c40
mov dl, byte [esp + 0x14]
mov ecx, eax
call fcn.10015eb0
mov edx, str.__size_0
jmp 0x100a3b99
mov ecx, 0x100e9268
call fcn.1002d2f0
push 1
call fcn.100b18e2
int3