Function at 0x10021a40
Capabilities:
Encrypt data using speck
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov dword [ebp - 4], 0
xor eax, eax
mov byte [ebp - 0x31], al
lea ecx, [ebp - 0x1ce]
push ecx
lea ecx, [ebp - 0x31]
call fcn.100213f0
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], 0
jmp 0x10021a7c
mov edx, dword [ebp - 0x80]
add edx, 1
mov dword [ebp - 0x80], edx
cmp dword [ebp - 0x80], 0xb
jae 0x10021ad5
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x84]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 0x118], edx
mov eax, dword [ebp - 0x118]
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 - 0x11c], eax
mov ecx, dword [ebp - 0x11c]
mov dx, word [ebp - 0x98]
mov word [ecx], dx
jmp 0x10021a73
mov eax, 0xb
shl eax, 1
mov ecx, dword [ebp - 0x84]
lea edx, [ecx + eax + 2]
mov dword [ebp - 0x120], edx
xor eax, eax
mov ecx, dword [ebp - 0x120]
mov word [ecx], ax
mov edx, dword [ebp - 0x84]
add edx, 2
mov dword [ebp - 0x124], edx
push 0
push 0
push 0
mov eax, dword [ebp - 0x124]
push eax
call fcn.100212a0
call eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x10021b29
cmp dword [ebp - 4], 1
jne 0x10021b35
call fcn.10022bf0
xor al, al
jmp 0x10022bc9
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 - 0x1e8]
push edx
lea ecx, [ebp - 0x2d]
call fcn.100214a0
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], 0
jmp 0x10021bc1
mov eax, dword [ebp - 0x88]
add eax, 1
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0xb
jae 0x10021c23
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x8c]
lea eax, [edx + ecx*2 + 2]
mov dword [ebp - 0x128], eax
mov ecx, dword [ebp - 0x128]
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 - 0x12c], ecx
mov edx, dword [ebp - 0x12c]
mov ax, word [ebp - 0x9a]
mov word [edx], ax
jmp 0x10021bb2
mov ecx, 0xb
shl ecx, 1
mov edx, dword [ebp - 0x8c]
lea eax, [edx + ecx + 2]
mov dword [ebp - 0x130], eax
xor ecx, ecx
mov edx, dword [ebp - 0x130]
mov word [edx], cx
mov eax, dword [ebp - 0x8c]
add eax, 2
mov dword [ebp - 0x134], 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 - 0x134]
push ecx
call fcn.10021330
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 - 0x202]
push eax
lea ecx, [ebp - 0x2e]
call fcn.10021550
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x90], 0
jmp 0x10021f3d
mov ecx, dword [ebp - 0x90]
add ecx, 1
mov dword [ebp - 0x90], ecx
cmp dword [ebp - 0x90], 0xb
jae 0x10021f96
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x60]
lea ecx, [eax + edx*2 + 2]
mov dword [ebp - 0x138], ecx
mov edx, dword [ebp - 0x138]
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 - 0x13c], edx
mov eax, dword [ebp - 0x13c]
mov cx, word [ebp - 0x9c]
mov word [eax], cx
jmp 0x10021f2e
mov edx, 0xb
shl edx, 1
mov eax, dword [ebp - 0x60]
lea ecx, [eax + edx + 2]
mov dword [ebp - 0x180], ecx
xor edx, edx
mov eax, dword [ebp - 0x180]
mov word [eax], dx
mov ecx, dword [ebp - 0x60]
add ecx, 2
mov dword [ebp - 0x17c], 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 - 0x17c]
push edx
call fcn.10021300
call eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x10021ff6
cmp dword [ebp - 4], 1
jne 0x10021ffb
jmp 0x100229f9
lea eax, [ebp - 0x44]
push eax
push 0
push 0
call fcn.10021270
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.10021390
call eax
cmp dword [ebp - 4], 0
jl 0x100220a6
cmp dword [ebp - 4], 1
jne 0x100220ab
jmp 0x100229f9
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 0x100220ce
cmp dword [ebp - 4], 1
jne 0x100220d3
jmp 0x100229f9
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 0x100220f4
cmp dword [ebp - 4], 1
jne 0x100220f9
jmp 0x100229f9
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 0x1002211c
cmp dword [ebp - 4], 1
jne 0x10022121
jmp 0x100229f9
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 0x10022140
cmp dword [ebp - 4], 1
jne 0x10022145
jmp 0x100229f9
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 0x10022166
cmp dword [ebp - 4], 1
jne 0x1002216b
jmp 0x100229f9
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.10021240
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 0x100222ca
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 0x100222ca
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 0x10022250
movzx edx, word [ebp - 0x1c]
and edx, 0x80000003
jns 0x1002222c
dec edx
or edx, 0xfffffffc
inc edx
test edx, edx
jne 0x10022250
movzx eax, word [ebp - 0xc]
cmp eax, 0x1d
jle 0x10022250
mov ecx, 1
mov word [ebp - 0xc], cx
mov dx, word [ebp - 8]
add dx, 1
mov word [ebp - 8], dx
jmp 0x100222ac
movzx eax, word [ebp - 8]
cmp eax, 2
jne 0x1002228e
movzx ecx, word [ebp - 0x1c]
and ecx, 0x80000003
jns 0x1002226a
dec ecx
or ecx, 0xfffffffc
inc ecx
test ecx, ecx
je 0x1002228e
movzx edx, word [ebp - 0xc]
cmp edx, 0x1c
jle 0x1002228e
mov eax, 1
mov word [ebp - 0xc], ax
mov cx, word [ebp - 8]
add cx, 1
mov word [ebp - 8], cx
jmp 0x100222ac
movzx edx, word [ebp - 0xc]
cmp edx, 0x1f
jle 0x100222ac
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 0x100222ca
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 - 0x256]
push eax
lea ecx, [ebp - 0x2f]
call fcn.10021600
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], 0
jmp 0x100222f3
mov ecx, dword [ebp - 0x64]
add ecx, 1
mov dword [ebp - 0x64], ecx
cmp dword [ebp - 0x64], 0x1b
jae 0x10022343
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x68]
lea ecx, [eax + edx*2 + 2]
mov dword [ebp - 0x178], ecx
mov edx, dword [ebp - 0x178]
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 - 0x174], edx
mov eax, dword [ebp - 0x174]
mov cx, word [ebp - 0x9e]
mov word [eax], cx
jmp 0x100222ea
mov edx, 0x1b
shl edx, 1
mov eax, dword [ebp - 0x68]
lea ecx, [eax + edx + 2]
mov dword [ebp - 0x16c], ecx
xor edx, edx
mov eax, dword [ebp - 0x16c]
mov word [eax], dx
mov ecx, dword [ebp - 0x68]
add ecx, 2
mov dword [ebp - 0x168], 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 - 0x168]
push edx
push 0x30
lea eax, [ebp - 0x1b4]
push eax
call fcn.10022e00
add esp, 0x24
lea ecx, [ebp - 0x1b4]
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 0x10022649
xor edx, edx
mov byte [ebp - 0x95], dl
mov byte [ebp - 0xbc], 0x6a
xor eax, eax
mov byte [ebp - 0xbb], al
mov ecx, 0x3a
mov word [ebp - 0xba], cx
mov edx, 0x3e
mov word [ebp - 0xb8], dx
mov eax, 0x5a
mov word [ebp - 0xb6], ax
mov ecx, 0x39
mov word [ebp - 0xb4], cx
xor edx, edx
mov word [ebp - 0xb2], dx
mov dword [ebp - 0x7c], 0
jmp 0x10022440
mov eax, dword [ebp - 0x7c]
add eax, 1
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 4
jae 0x10022491
mov ecx, dword [ebp - 0x7c]
lea edx, [ebp + ecx*2 - 0xba]
mov dword [ebp - 0x184], edx
mov eax, dword [ebp - 0x184]
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 - 0x140], ecx
mov edx, dword [ebp - 0x140]
mov ax, word [ebp - 0xa0]
mov word [edx], ax
jmp 0x10022437
mov ecx, 4
shl ecx, 1
lea edx, [ebp + ecx - 0xba]
mov dword [ebp - 0x144], edx
xor eax, eax
mov ecx, dword [ebp - 0x144]
mov word [ecx], ax
lea edx, [ebp - 0xba]
mov dword [ebp - 0x170], edx
mov eax, dword [ebp - 0x170]
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], 0x5f
xor ecx, ecx
mov byte [ebp - 0xaf], cl
mov edx, 0xf
mov word [ebp - 0xae], dx
mov eax, 0xb
mov word [ebp - 0xac], ax
mov ecx, 0x6e
mov word [ebp - 0xaa], cx
mov edx, 0x12
mov word [ebp - 0xa8], dx
xor eax, eax
mov word [ebp - 0xa6], ax
mov dword [ebp - 0x78], 0
jmp 0x10022549
mov ecx, dword [ebp - 0x78]
add ecx, 1
mov dword [ebp - 0x78], ecx
cmp dword [ebp - 0x78], 4
jae 0x1002259a
mov edx, dword [ebp - 0x78]
lea eax, [ebp + edx*2 - 0xae]
mov dword [ebp - 0x148], eax
mov ecx, dword [ebp - 0x148]
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 - 0x14c], edx
mov eax, dword [ebp - 0x14c]
mov cx, word [ebp - 0xa2]
mov word [eax], cx
jmp 0x10022540
mov edx, 4
shl edx, 1
lea eax, [ebp + edx - 0xae]
mov dword [ebp - 0x150], eax
xor ecx, ecx
mov edx, dword [ebp - 0x150]
mov word [edx], cx
lea eax, [ebp - 0xae]
mov dword [ebp - 0x154], eax
mov ecx, dword [ebp - 0x154]
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 0x10022649
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, 0x50
mov word [ebp - 0x114], ax
mov ecx, 0x54
mov word [ebp - 0x112], cx
mov edx, 0x25
mov word [ebp - 0x110], dx
mov eax, 0x64
mov word [ebp - 0x10e], ax
mov ecx, 0x4d
mov word [ebp - 0x10c], cx
xor edx, edx
mov word [ebp - 0x10a], dx
xor eax, eax
mov word [ebp - 0x108], ax
mov dword [ebp - 0xc0], 0x12
mov ecx, dword [ebp - 0xc0]
push ecx
push 0x40
push 0
push 0
call fcn.100213c0
call eax
mov dword [ebp - 0x70], eax
mov edx, dword [ebp + 0x18]
push edx
lea eax, [ebp - 0x114]
push eax
mov ecx, dword [ebp - 0xc0]
push ecx
mov edx, dword [ebp - 0x70]
push edx
call fcn.10022e00
add esp, 0x10
mov eax, dword [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [edx + 0x20]
call ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x100226f7
cmp dword [ebp - 4], 1
jne 0x100226fc
jmp 0x100229f9
lea edx, [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ecx + 0x44]
call eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x1002271d
cmp dword [ebp - 4], 1
jne 0x10022722
jmp 0x100229f9
lea ecx, [ebp - 0x4c]
push ecx
push 0
mov edx, dword [ebp - 0x50]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [eax + 0x30]
call edx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x10022745
cmp dword [ebp - 4], 1
jne 0x1002274a
jmp 0x100229f9
mov eax, 0x4c3d624d
xor eax, 0x5f524f54
xor eax, 0x5f524f54
mov dword [ebp - 0xe4], eax
mov ecx, 0xfd6b
movzx eax, cx
cdq
xor eax, 0x5f52
movzx eax, ax
cdq
xor eax, 0x5f52
mov word [ebp - 0xe0], ax
mov edx, 0x49a3
movzx eax, dx
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 ecx, 1
imul edx, ecx, 0
mov byte [ebp + edx - 0xdc], al
mov eax, 0xb7
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov ecx, 1
shl ecx, 0
mov byte [ebp + ecx - 0xdc], al
mov eax, 9
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov edx, 1
shl edx, 1
mov byte [ebp + edx - 0xdc], al
mov eax, 0xcb
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov ecx, 1
imul edx, ecx, 3
mov byte [ebp + edx - 0xdc], al
mov eax, 0x3c
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov ecx, 1
shl ecx, 2
mov byte [ebp + ecx - 0xdc], al
mov eax, 0xd3
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov edx, 1
imul ecx, edx, 5
mov byte [ebp + ecx - 0xdc], al
mov eax, 0xf0
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov edx, 1
imul ecx, edx, 6
mov byte [ebp + ecx - 0xdc], al
mov eax, 0x47
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov edx, 1
imul ecx, edx, 7
mov byte [ebp + ecx - 0xdc], al
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0xe4]
push eax
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [edx]
call ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x100228b9
cmp dword [ebp - 4], 1
jne 0x100228be
jmp 0x100229f9
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ecx + 0x2c]
call eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x100228df
cmp dword [ebp - 4], 1
jne 0x100228e4
jmp 0x100229f9
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [eax + 0x34]
call edx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x10022905
cmp dword [ebp - 4], 1
jne 0x1002290a
jmp 0x100229f9
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [edx + 0x3c]
call ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x1002292b
cmp dword [ebp - 4], 1
jne 0x10022930
jmp 0x100229f9
lea edx, [ebp - 0x5c]
push edx
push 0x100356ac
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ecx + 0x1c]
call eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x10022956
cmp dword [ebp - 4], 1
jne 0x1002295b
jmp 0x100229f9
lea ecx, [ebp - 0x44]
push ecx
push 0
push 0
call fcn.10021270
call eax
lea edx, [ebp - 0x94]
push edx
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x44]
mov dword [eax], ecx
mov edx, dword [ebp - 0x40]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x3c]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x38]
mov dword [eax + 0xc], edx
push 3
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x44]
mov dword [eax], ecx
mov edx, dword [ebp - 0x40]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x3c]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x38]
mov dword [eax + 0xc], edx
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x44]
mov dword [eax], ecx
mov edx, dword [ebp - 0x40]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x3c]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x38]
mov dword [eax + 0xc], edx
push 2
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x5c]
push ecx
mov edx, dword [eax + 0x44]
call edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x44]
push eax
push 0
push 0
call fcn.10021390
call eax
xor ecx, ecx
jne 0x10021b8c
cmp dword [ebp - 0x70], 0
je 0x10022a0e
mov edx, dword [ebp - 0x70]
push edx
push 0
push 0
call fcn.10021360
call eax
cmp dword [ebp - 0x10], 0
je 0x10022a22
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ecx + 8]
call eax
cmp dword [ebp - 0x4c], 0
je 0x10022a36
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [edx + 8]
call ecx
cmp dword [ebp - 0x20], 0
je 0x10022a4a
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [eax + 8]
call edx
cmp dword [ebp - 0x50], 0
je 0x10022a5e
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x50]
push edx
mov eax, dword [ecx + 8]
call eax
cmp dword [ebp - 0x54], 0
je 0x10022a72
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [edx + 8]
call ecx
cmp dword [ebp - 0x28], 0
je 0x10022a86
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [eax + 8]
call edx
cmp dword [ebp - 0x58], 0
je 0x10022a9a
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ecx + 8]
call eax
cmp dword [ebp - 0x14], 0
je 0x10022aae
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [edx + 8]
call ecx
cmp dword [ebp - 0x5c], 0
je 0x10022ac2
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x5c]
push ecx
mov edx, dword [eax + 8]
call edx
cmp dword [ebp - 0x24], 0
je 0x10022ad6
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ecx + 8]
call eax
cmp dword [ebp - 0x94], 0
je 0x10022af3
mov ecx, dword [ebp - 0x94]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x94]
push eax
mov ecx, dword [edx + 8]
call ecx
xor edx, edx
mov byte [ebp - 0x30], dl
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x30]
call fcn.10021770
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x6c], 0
jmp 0x10022b1c
mov ecx, dword [ebp - 0x6c]
add ecx, 1
mov dword [ebp - 0x6c], ecx
cmp dword [ebp - 0x6c], 0xb
jae 0x10022b6c
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x74]
lea ecx, [eax + edx*2 + 2]
mov dword [ebp - 0x158], ecx
mov edx, dword [ebp - 0x158]
movzx eax, word [edx]
mov ecx, dword [ebp - 0x74]
movsx edx, byte [ecx]
xor eax, edx
mov word [ebp - 0xa4], ax
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x74]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 0x15c], edx
mov eax, dword [ebp - 0x15c]
mov cx, word [ebp - 0xa4]
mov word [eax], cx
jmp 0x10022b13
mov edx, 0xb
shl edx, 1
mov eax, dword [ebp - 0x74]
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 - 0x74]
add ecx, 2
mov dword [ebp - 0x164], ecx
push 0
mov edx, dword [ebp - 0x164]
push edx
call fcn.100212d0
call eax
cmp dword [ebp - 4], 0
jne 0x10022bb9
mov dword [ebp - 0xc4], 1
jmp 0x10022bc3
mov dword [ebp - 0xc4], 0
mov al, byte [ebp - 0xc4]
mov esp, ebp
pop ebp
ret 0x14