Function at 0x1006a960
Capabilities:
Encrypt data using speck

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov dword [ebp - 4], 0
xor eax, eax
mov byte [ebp - 0x31], al
lea ecx, [ebp - 0x1ca]
push ecx
lea ecx, [ebp - 0x31]
call fcn.1006a490
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], 0
jmp 0x1006a99c
mov edx, dword [ebp - 0x80]
add edx, 1
mov dword [ebp - 0x80], edx
cmp dword [ebp - 0x80], 0xb
jae 0x1006a9f5
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x84]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 0x108], edx
mov eax, dword [ebp - 0x108]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x84]
movsx eax, byte [edx]
xor ecx, eax
mov word [ebp - 0x98], cx
mov ecx, dword [ebp - 0x80]
mov edx, dword [ebp - 0x84]
lea eax, [edx + ecx*2 + 2]
mov dword [ebp - 0x10c], eax
mov ecx, dword [ebp - 0x10c]
mov dx, word [ebp - 0x98]
mov word [ecx], dx
jmp 0x1006a993
mov eax, 0xb
shl eax, 1
mov ecx, dword [ebp - 0x84]
lea edx, [ecx + eax + 2]
mov dword [ebp - 0x110], edx
xor eax, eax
mov ecx, dword [ebp - 0x110]
mov word [ecx], ax
mov edx, dword [ebp - 0x84]
add edx, 2
mov dword [ebp - 0x114], edx
push 0
push 0
push 0
mov eax, dword [ebp - 0x114]
push eax
call fcn.1006a340
call eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x1006aa49
cmp dword [ebp - 4], 1
jne 0x1006aa50
xor al, al
jmp 0x1006babb
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x70], 0
xor ecx, ecx
mov byte [ebp - 0x2d], cl
lea edx, [ebp - 0x1e4]
push edx
lea ecx, [ebp - 0x2d]
call fcn.1006a540
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], 0
jmp 0x1006aadc
mov eax, dword [ebp - 0x88]
add eax, 1
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0xb
jae 0x1006ab3e
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x8c]
lea eax, [edx + ecx*2 + 2]
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x118]
movzx edx, word [ecx]
mov eax, dword [ebp - 0x8c]
movsx ecx, byte [eax]
xor edx, ecx
mov word [ebp - 0x9a], dx
mov edx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x8c]
lea ecx, [eax + edx*2 + 2]
mov dword [ebp - 0x11c], ecx
mov edx, dword [ebp - 0x11c]
mov ax, word [ebp - 0x9a]
mov word [edx], ax
jmp 0x1006aacd
mov ecx, 0xb
shl ecx, 1
mov edx, dword [ebp - 0x8c]
lea eax, [edx + ecx + 2]
mov dword [ebp - 0x120], eax
xor ecx, ecx
mov edx, dword [ebp - 0x120]
mov word [edx], cx
mov eax, dword [ebp - 0x8c]
add eax, 2
mov dword [ebp - 0x124], eax
push 0
push 0
push 0
push 3
push 6
push 0
push 0
push 0xffffffffffffffff
push 0
push 0
mov ecx, dword [ebp - 0x124]
push ecx
call fcn.1006a3d0
call eax
mov dword [ebp - 4], eax
mov edx, 0x2faba4c7
xor edx, 0x5f524f54
xor edx, 0x5f524f54
mov dword [ebp - 0xd4], edx
mov eax, 0x4da9
movzx eax, ax
cdq
xor eax, 0x5f52
movzx eax, ax
cdq
xor eax, 0x5f52
mov word [ebp - 0xd0], ax
mov ecx, 0x4013
movzx eax, cx
cdq
xor eax, 0x5f52
movzx eax, ax
cdq
xor eax, 0x5f52
mov word [ebp - 0xce], ax
mov eax, 0x96
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov edx, 1
imul ecx, edx, 0
mov byte [ebp + ecx - 0xcc], al
mov eax, 0x97
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov edx, 1
shl edx, 0
mov byte [ebp + edx - 0xcc], al
mov eax, 0x20
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov ecx, 1
shl ecx, 1
mov byte [ebp + ecx - 0xcc], al
mov eax, 0xcc
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov edx, 1
imul ecx, edx, 3
mov byte [ebp + ecx - 0xcc], al
mov eax, 0x3f
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov edx, 1
shl edx, 2
mov byte [ebp + edx - 0xcc], al
mov eax, 0xd4
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov ecx, 1
imul edx, ecx, 5
mov byte [ebp + edx - 0xcc], al
mov eax, 0xf
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov ecx, 1
imul edx, ecx, 6
mov byte [ebp + edx - 0xcc], al
mov eax, 0x85
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov ecx, 1
imul edx, ecx, 7
mov byte [ebp + edx - 0xcc], al
mov eax, 0xf87369f
xor eax, 0x5f524f54
xor eax, 0x5f524f54
mov dword [ebp - 0xf4], eax
mov ecx, 0xa4e5
movzx eax, cx
cdq
xor eax, 0x5f52
movzx eax, ax
cdq
xor eax, 0x5f52
mov word [ebp - 0xf0], ax
mov edx, 0x4cfc
movzx eax, dx
cdq
xor eax, 0x5f52
movzx eax, ax
cdq
xor eax, 0x5f52
mov word [ebp - 0xee], ax
mov eax, 0xbd
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov ecx, 1
imul edx, ecx, 0
mov byte [ebp + edx - 0xec], al
mov eax, 0x3e
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov ecx, 1
shl ecx, 0
mov byte [ebp + ecx - 0xec], al
mov eax, 0x73
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov edx, 1
shl edx, 1
mov byte [ebp + edx - 0xec], al
mov eax, 0xe6
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov ecx, 1
imul edx, ecx, 3
mov byte [ebp + edx - 0xec], al
mov eax, 0x15
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov ecx, 1
shl ecx, 2
mov byte [ebp + ecx - 0xec], al
mov eax, 0x45
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov edx, 1
imul ecx, edx, 5
mov byte [ebp + ecx - 0xec], al
mov eax, 0x72
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov edx, 1
imul ecx, edx, 6
mov byte [ebp + ecx - 0xec], al
mov eax, 0xdd
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov edx, 1
imul ecx, edx, 7
mov byte [ebp + ecx - 0xec], al
xor edx, edx
mov byte [ebp - 0x2e], dl
lea eax, [ebp - 0x1fe]
push eax
lea ecx, [ebp - 0x2e]
call fcn.1006a5f0
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x90], 0
jmp 0x1006ae58
mov ecx, dword [ebp - 0x90]
add ecx, 1
mov dword [ebp - 0x90], ecx
cmp dword [ebp - 0x90], 0xb
jae 0x1006aeb1
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x60]
lea ecx, [eax + edx*2 + 2]
mov dword [ebp - 0x128], ecx
mov edx, dword [ebp - 0x128]
movzx eax, word [edx]
mov ecx, dword [ebp - 0x60]
movsx edx, byte [ecx]
xor eax, edx
mov word [ebp - 0x9c], ax
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x60]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 0x12c], edx
mov eax, dword [ebp - 0x12c]
mov cx, word [ebp - 0x9c]
mov word [eax], cx
jmp 0x1006ae49
mov edx, 0xb
shl edx, 1
mov eax, dword [ebp - 0x60]
lea ecx, [eax + edx + 2]
mov dword [ebp - 0x170], ecx
xor edx, edx
mov eax, dword [ebp - 0x170]
mov word [eax], dx
mov ecx, dword [ebp - 0x60]
add ecx, 2
mov dword [ebp - 0x16c], ecx
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0xd4]
push eax
push 1
push 0
lea ecx, [ebp - 0xf4]
push ecx
push 0
mov edx, dword [ebp - 0x16c]
push edx
call fcn.1006a3a0
call eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x1006af11
cmp dword [ebp - 4], 1
jne 0x1006af16
jmp 0x1006b8eb
lea eax, [ebp - 0x44]
push eax
push 0
push 0
call fcn.1006a310
call eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x44]
mov dword [ecx], edx
mov eax, dword [ebp - 0x40]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x3c]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x38]
mov dword [ecx + 0xc], eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x44]
mov dword [ecx], edx
mov eax, dword [ebp - 0x40]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x3c]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x38]
mov dword [ecx + 0xc], eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x44]
mov dword [ecx], edx
mov eax, dword [ebp - 0x40]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x3c]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x38]
mov dword [ecx + 0xc], eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x44]
mov dword [ecx], edx
mov eax, dword [ebp - 0x40]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x3c]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x38]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [edx + 0x28]
call ecx
mov dword [ebp - 4], eax
lea edx, [ebp - 0x44]
push edx
push 0
push 0
call fcn.1006a430
call eax
cmp dword [ebp - 4], 0
jl 0x1006afc1
cmp dword [ebp - 4], 1
jne 0x1006afc6
jmp 0x1006b8eb
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [edx + 0x24]
call ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x1006afe9
cmp dword [ebp - 4], 1
jne 0x1006afee
jmp 0x1006b8eb
lea edx, [ebp - 0x54]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ecx + 0x24]
call eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x1006b00f
cmp dword [ebp - 4], 1
jne 0x1006b014
jmp 0x1006b8eb
lea ecx, [ebp - 0x28]
push ecx
push 1
mov edx, dword [ebp - 0x54]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [eax + 0x28]
call edx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x1006b037
cmp dword [ebp - 4], 1
jne 0x1006b03c
jmp 0x1006b8eb
push 1
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ecx + 0x4c]
call eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x1006b05b
cmp dword [ebp - 4], 1
jne 0x1006b060
jmp 0x1006b8eb
lea ecx, [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [eax + 0x28]
call edx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x1006b081
cmp dword [ebp - 4], 1
jne 0x1006b086
jmp 0x1006b8eb
xor eax, eax
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x100], eax
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xf8], eax
lea ecx, [ebp - 0x104]
push ecx
push 0
push 0
call fcn.1006a2e0
call eax
mov dx, word [ebp - 0xfc]
mov word [ebp - 0x18], dx
mov ax, word [ebp - 0xfe]
mov word [ebp - 0xc], ax
movzx ecx, word [ebp - 0xfa]
add ecx, dword [ebp + 0x18]
mov word [ebp - 0x2c], cx
mov dx, word [ebp - 0x102]
mov word [ebp - 8], dx
mov ax, word [ebp - 0x104]
mov word [ebp - 0x1c], ax
movzx ecx, word [ebp - 0x2c]
cmp ecx, 0x3b
jle 0x1006b1e5
movzx edx, word [ebp - 0x2c]
sub edx, 0x3c
mov word [ebp - 0x2c], dx
movzx eax, word [ebp - 0x18]
add eax, 1
mov word [ebp - 0x18], ax
movzx ecx, word [ebp - 0x18]
cmp ecx, 0x17
jle 0x1006b1e5
xor edx, edx
mov word [ebp - 0x18], dx
movzx eax, word [ebp - 0xc]
add eax, 1
mov word [ebp - 0xc], ax
movzx ecx, word [ebp - 8]
cmp ecx, 2
jne 0x1006b16b
movzx edx, word [ebp - 0x1c]
and edx, 0x80000003
jns 0x1006b147
dec edx
or edx, 0xfffffffc
inc edx
test edx, edx
jne 0x1006b16b
movzx eax, word [ebp - 0xc]
cmp eax, 0x1d
jle 0x1006b16b
mov ecx, 1
mov word [ebp - 0xc], cx
mov dx, word [ebp - 8]
add dx, 1
mov word [ebp - 8], dx
jmp 0x1006b1c7
movzx eax, word [ebp - 8]
cmp eax, 2
jne 0x1006b1a9
movzx ecx, word [ebp - 0x1c]
and ecx, 0x80000003
jns 0x1006b185
dec ecx
or ecx, 0xfffffffc
inc ecx
test ecx, ecx
je 0x1006b1a9
movzx edx, word [ebp - 0xc]
cmp edx, 0x1c
jle 0x1006b1a9
mov eax, 1
mov word [ebp - 0xc], ax
mov cx, word [ebp - 8]
add cx, 1
mov word [ebp - 8], cx
jmp 0x1006b1c7
movzx edx, word [ebp - 0xc]
cmp edx, 0x1f
jle 0x1006b1c7
mov eax, 1
mov word [ebp - 0xc], ax
mov cx, word [ebp - 8]
add cx, 1
mov word [ebp - 8], cx
movzx edx, word [ebp - 8]
cmp edx, 0xc
jle 0x1006b1e5
mov ax, word [ebp - 0x1c]
add ax, 1
mov word [ebp - 0x1c], ax
mov ecx, 1
mov word [ebp - 8], cx
xor edx, edx
mov byte [ebp - 0x2f], dl
lea eax, [ebp - 0x252]
push eax
lea ecx, [ebp - 0x2f]
call fcn.1006a6a0
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], 0
jmp 0x1006b20e
mov ecx, dword [ebp - 0x64]
add ecx, 1
mov dword [ebp - 0x64], ecx
cmp dword [ebp - 0x64], 0x1b
jae 0x1006b25e
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x68]
lea ecx, [eax + edx*2 + 2]
mov dword [ebp - 0x168], ecx
mov edx, dword [ebp - 0x168]
movzx eax, word [edx]
mov ecx, dword [ebp - 0x68]
movsx edx, byte [ecx]
xor eax, edx
mov word [ebp - 0x9e], ax
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x68]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 0x164], edx
mov eax, dword [ebp - 0x164]
mov cx, word [ebp - 0x9e]
mov word [eax], cx
jmp 0x1006b205
mov edx, 0x1b
shl edx, 1
mov eax, dword [ebp - 0x68]
lea ecx, [eax + edx + 2]
mov dword [ebp - 0x160], ecx
xor edx, edx
mov eax, dword [ebp - 0x160]
mov word [eax], dx
mov ecx, dword [ebp - 0x68]
add ecx, 2
mov dword [ebp - 0x15c], ecx
movzx edx, word [ebp - 0xf8]
push edx
movzx eax, word [ebp - 0x2c]
push eax
movzx ecx, word [ebp - 0x18]
push ecx
movzx edx, word [ebp - 0xc]
push edx
movzx eax, word [ebp - 8]
push eax
movzx ecx, word [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x15c]
push edx
push 0x30
lea eax, [ebp - 0x1b0]
push eax
call fcn.1006bc50
add esp, 0x24
lea ecx, [ebp - 0x1b0]
push ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [eax + 0x3c]
call edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [edx + 0x2c]
call ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 0x10], 0
je 0x1006b564
xor edx, edx
mov byte [ebp - 0x95], dl
mov byte [ebp - 0xbc], 0x26
xor eax, eax
mov byte [ebp - 0xbb], al
mov ecx, 0x76
mov word [ebp - 0xba], cx
mov edx, 0x72
mov word [ebp - 0xb8], dx
mov eax, 0x16
mov word [ebp - 0xb6], ax
mov ecx, 0x75
mov word [ebp - 0xb4], cx
xor edx, edx
mov word [ebp - 0xb2], dx
mov dword [ebp - 0x7c], 0
jmp 0x1006b35b
mov eax, dword [ebp - 0x7c]
add eax, 1
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 4
jae 0x1006b3ac
mov ecx, dword [ebp - 0x7c]
lea edx, [ebp + ecx*2 - 0xba]
mov dword [ebp - 0x174], edx
mov eax, dword [ebp - 0x174]
movzx ecx, word [eax]
movsx edx, byte [ebp - 0xbc]
xor ecx, edx
mov word [ebp - 0xa0], cx
mov eax, dword [ebp - 0x7c]
lea ecx, [ebp + eax*2 - 0xba]
mov dword [ebp - 0x130], ecx
mov edx, dword [ebp - 0x130]
mov ax, word [ebp - 0xa0]
mov word [edx], ax
jmp 0x1006b352
mov ecx, 4
shl ecx, 1
lea edx, [ebp + ecx - 0xba]
mov dword [ebp - 0x134], edx
xor eax, eax
mov ecx, dword [ebp - 0x134]
mov word [ecx], ax
lea edx, [ebp - 0xba]
mov dword [ebp - 0x138], edx
mov eax, dword [ebp - 0x138]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [edx + 0x70]
call ecx
mov dword [ebp - 4], eax
push 3
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [eax + 0x30]
call edx
mov dword [ebp - 4], eax
xor eax, eax
mov byte [ebp - 0x96], al
mov byte [ebp - 0xb0], 0x23
xor ecx, ecx
mov byte [ebp - 0xaf], cl
mov edx, 0x73
mov word [ebp - 0xae], dx
mov eax, 0x77
mov word [ebp - 0xac], ax
mov ecx, 0x12
mov word [ebp - 0xaa], cx
mov edx, 0x6e
mov word [ebp - 0xa8], dx
xor eax, eax
mov word [ebp - 0xa6], ax
mov dword [ebp - 0x78], 0
jmp 0x1006b464
mov ecx, dword [ebp - 0x78]
add ecx, 1
mov dword [ebp - 0x78], ecx
cmp dword [ebp - 0x78], 4
jae 0x1006b4b5
mov edx, dword [ebp - 0x78]
lea eax, [ebp + edx*2 - 0xae]
mov dword [ebp - 0x13c], eax
mov ecx, dword [ebp - 0x13c]
movzx edx, word [ecx]
movsx eax, byte [ebp - 0xb0]
xor edx, eax
mov word [ebp - 0xa2], dx
mov ecx, dword [ebp - 0x78]
lea edx, [ebp + ecx*2 - 0xae]
mov dword [ebp - 0x140], edx
mov eax, dword [ebp - 0x140]
mov cx, word [ebp - 0xa2]
mov word [eax], cx
jmp 0x1006b45b
mov edx, 4
shl edx, 1
lea eax, [ebp + edx - 0xae]
mov dword [ebp - 0x144], eax
xor ecx, ecx
mov edx, dword [ebp - 0x144]
mov word [edx], cx
lea eax, [ebp - 0xae]
mov dword [ebp - 0x148], eax
mov ecx, dword [ebp - 0x148]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [eax + 0x28]
call edx
mov dword [ebp - 4], eax
push 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ecx + 0x48]
call eax
mov dword [ebp - 4], eax
push 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [edx + 0x40]
call ecx
mov dword [ebp - 4], eax
mov dword [ebp - 0x48], 0
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ecx + 0x9c]
call eax
mov dword [ebp - 4], eax
cmp dword [ebp - 0x48], 0
je 0x1006b564
push 0
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [edx + 0x30]
call ecx
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x48]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [str.PT_dM]
mov dword [ebp - 0x180], eax
mov ecx, dword [0x1007ea98]
mov dword [ebp - 0x17c], ecx
mov edx, dword [0x1007ea9c]
mov dword [ebp - 0x178], edx
mov dword [ebp - 0xc0], 0x11
mov eax, dword [ebp - 0xc0]
push eax
push 0x40
push 0
push 0
call fcn.1006a460
call eax
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp + 0x18]
push ecx
lea edx, [ebp - 0x180]
push edx
mov eax, dword [ebp - 0xc0]
push eax
mov ecx, dword [ebp - 0x70]
push ecx
call fcn.1006bc50
add esp, 0x10
mov edx, dword [ebp - 0x70]
push edx
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ecx + 0x20]
call eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x1006b5e7
cmp dword [ebp - 4], 1
jne 0x1006b5ec
jmp 0x1006b8eb
lea ecx, [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [eax + 0x44]
call edx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x1006b60d
cmp dword [ebp - 4], 1
jne 0x1006b612
jmp 0x1006b8eb
lea eax, [ebp - 0x4c]
push eax
push 0
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [edx + 0x30]
call ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x1006b635
cmp dword [ebp - 4], 1
jne 0x1006b63a
jmp 0x1006b8eb
mov edx, 0x4c3d624d
xor edx, 0x5f524f54
xor edx, 0x5f524f54
mov dword [ebp - 0xe4], edx
mov eax, 0xfd6b
movzx eax, ax
cdq
xor eax, 0x5f52
movzx eax, ax
cdq
xor eax, 0x5f52
mov word [ebp - 0xe0], ax
mov ecx, 0x49a3
movzx eax, cx
cdq
xor eax, 0x5f52
movzx eax, ax
cdq
xor eax, 0x5f52
mov word [ebp - 0xde], ax
mov eax, 0xb9
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov edx, 1
imul ecx, edx, 0
mov byte [ebp + ecx - 0xdc], al
mov eax, 0xb7
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov edx, 1
shl edx, 0
mov byte [ebp + edx - 0xdc], al
mov eax, 9
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov ecx, 1
shl ecx, 1
mov byte [ebp + ecx - 0xdc], al
mov eax, 0xcb
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov edx, 1
imul ecx, edx, 3
mov byte [ebp + ecx - 0xdc], al
mov eax, 0x3c
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov edx, 1
shl edx, 2
mov byte [ebp + edx - 0xdc], al
mov eax, 0xd3
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov ecx, 1
imul edx, ecx, 5
mov byte [ebp + edx - 0xdc], al
mov eax, 0xf0
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov ecx, 1
imul edx, ecx, 6
mov byte [ebp + edx - 0xdc], al
mov eax, 0x47
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov ecx, 1
imul edx, ecx, 7
mov byte [ebp + edx - 0xdc], al
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0xe4]
push ecx
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [eax]
call edx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x1006b7ab
cmp dword [ebp - 4], 1
jne 0x1006b7b0
jmp 0x1006b8eb
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [edx + 0x2c]
call ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x1006b7d1
cmp dword [ebp - 4], 1
jne 0x1006b7d6
jmp 0x1006b8eb
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ecx + 0x34]
call eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x1006b7f7
cmp dword [ebp - 4], 1
jne 0x1006b7fc
jmp 0x1006b8eb
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [eax + 0x3c]
call edx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x1006b81d
cmp dword [ebp - 4], 1
jne 0x1006b822
jmp 0x1006b8eb
lea eax, [ebp - 0x5c]
push eax
push 0x1007eaa0
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [edx + 0x1c]
call ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x1006b848
cmp dword [ebp - 4], 1
jne 0x1006b84d
jmp 0x1006b8eb
lea edx, [ebp - 0x44]
push edx
push 0
push 0
call fcn.1006a310
call eax
lea eax, [ebp - 0x94]
push eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x44]
mov dword [ecx], edx
mov eax, dword [ebp - 0x40]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x3c]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x38]
mov dword [ecx + 0xc], eax
push 3
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x44]
mov dword [ecx], edx
mov eax, dword [ebp - 0x40]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x3c]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x38]
mov dword [ecx + 0xc], eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x44]
mov dword [ecx], edx
mov eax, dword [ebp - 0x40]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x3c]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x38]
mov dword [ecx + 0xc], eax
push 2
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x5c]
push edx
mov eax, dword [ecx + 0x44]
call eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x44]
push ecx
push 0
push 0
call fcn.1006a430
call eax
xor edx, edx
jne 0x1006aaa7
cmp dword [ebp - 0x70], 0
je 0x1006b900
mov eax, dword [ebp - 0x70]
push eax
push 0
push 0
call fcn.1006a400
call eax
cmp dword [ebp - 0x10], 0
je 0x1006b914
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [edx + 8]
call ecx
cmp dword [ebp - 0x4c], 0
je 0x1006b928
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [eax + 8]
call edx
cmp dword [ebp - 0x20], 0
je 0x1006b93c
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ecx + 8]
call eax
cmp dword [ebp - 0x50], 0
je 0x1006b950
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [edx + 8]
call ecx
cmp dword [ebp - 0x54], 0
je 0x1006b964
mov edx, dword [ebp - 0x54]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [eax + 8]
call edx
cmp dword [ebp - 0x28], 0
je 0x1006b978
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ecx + 8]
call eax
cmp dword [ebp - 0x58], 0
je 0x1006b98c
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [edx + 8]
call ecx
cmp dword [ebp - 0x14], 0
je 0x1006b9a0
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [eax + 8]
call edx
cmp dword [ebp - 0x5c], 0
je 0x1006b9b4
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x5c]
push edx
mov eax, dword [ecx + 8]
call eax
cmp dword [ebp - 0x24], 0
je 0x1006b9c8
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [edx + 8]
call ecx
cmp dword [ebp - 0x94], 0
je 0x1006b9e5
mov edx, dword [ebp - 0x94]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x94]
push ecx
mov edx, dword [eax + 8]
call edx
xor eax, eax
mov byte [ebp - 0x30], al
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x30]
call fcn.1006a810
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x6c], 0
jmp 0x1006ba0e
mov edx, dword [ebp - 0x6c]
add edx, 1
mov dword [ebp - 0x6c], edx
cmp dword [ebp - 0x6c], 0xb
jae 0x1006ba5e
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x74]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 0x14c], edx
mov eax, dword [ebp - 0x14c]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x74]
movsx eax, byte [edx]
xor ecx, eax
mov word [ebp - 0xa4], cx
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x74]
lea eax, [edx + ecx*2 + 2]
mov dword [ebp - 0x150], eax
mov ecx, dword [ebp - 0x150]
mov dx, word [ebp - 0xa4]
mov word [ecx], dx
jmp 0x1006ba05
mov eax, 0xb
shl eax, 1
mov ecx, dword [ebp - 0x74]
lea edx, [ecx + eax + 2]
mov dword [ebp - 0x154], edx
xor eax, eax
mov ecx, dword [ebp - 0x154]
mov word [ecx], ax
mov edx, dword [ebp - 0x74]
add edx, 2
mov dword [ebp - 0x158], edx
push 0
mov eax, dword [ebp - 0x158]
push eax
call fcn.1006a370
call eax
cmp dword [ebp - 4], 0
jne 0x1006baab
mov dword [ebp - 0xc4], 1
jmp 0x1006bab5
mov dword [ebp - 0xc4], 0
mov al, byte [ebp - 0xc4]
mov esp, ebp
pop ebp
ret 0x14