Function at 0x1002a300
Capabilities:
Encrypt data using speck
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x300
mov edi, dword [ebp + 8]
call 0x1002a317
pop eax
mov ebx, edx
mov dword [esp + 0xc0], ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x28]
test eax, eax
je 0x1002a411
mov edx, dword [ebx]
lea ecx, [esp + 0x80]
push eax
push dword [ebx + 4]
call fcn.1002d790
add esp, 8
cmp dword [esp + 0x80], 0
je 0x1002a42e
movq xmm0, qword [esp + 0x90]
movsd xmm2, qword [esp + 0x80]
movq xmm1, qword [esp + 0x88]
movq qword [esp + 0x1b0], xmm0
movq qword [esp + 0x1a8], xmm1
movsd qword [esp + 0x1a0], xmm2
mov dword [esp + 0x198], 1
mov dword [esp + 0x19c], 1
movzx eax, byte [0x104ff0b8]
mov eax, dword [0x104ff078]
test eax, eax
jne 0x1002a3c1
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x1002b97d
mov dword [0x104ff078], eax
push 0x20
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x1002b97d
movsd xmm0, qword [esp + 0x1b0]
mov ecx, eax
movsd qword [eax + 0x18], xmm0
movsd xmm0, qword [esp + 0x1a8]
movsd qword [eax + 0x10], xmm0
movsd xmm0, qword [esp + 0x198]
movsd xmm1, qword [esp + 0x1a0]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
jmp 0x1002a5f3
mov ecx, dword [ebx + 0x6c]
test ecx, ecx
je 0x1002a4ad
lock inc dword [ecx - 8]
jle 0x1002ba82
add ecx, 0xfffffff8
jmp 0x1002a5f3
movzx ecx, word [esp + 0x89]
movzx eax, byte [esp + 0x88]
mov word [esp + 0x150], cx
movzx ecx, byte [esp + 0x8b]
cmp al, 0x4b
mov byte [esp + 0x152], cl
mov ecx, dword [esp + 0x8c]
je 0x1002a5f3
mov edx, dword [esp + 0x94]
mov esi, dword [esp + 0x90]
movzx edi, word [esp + 0x150]
mov ebx, dword [esp + 0xc0]
mov ah, byte [esp + 0x152]
mov word [ebx + 9], di
mov byte [ebx + 0xb], ah
mov byte [ebx + 8], al
mov dword [ebx + 0xc], ecx
mov dword [ebx + 0x14], edx
mov dword [ebx + 0x10], esi
mov dword [ebx + 4], 0
mov dword [ebx], 2
jmp 0x1002b481
mov edx, dword [ebx]
lea ecx, [esp + 0x80]
push 0
push dword [ebx + 4]
call fcn.1002d790
add esp, 8
cmp dword [esp + 0x80], 0
je 0x1002a58c
movq xmm0, qword [esp + 0x90]
movsd xmm2, qword [esp + 0x80]
movq xmm1, qword [esp + 0x88]
movq qword [esp + 0x1b0], xmm0
movq qword [esp + 0x1a8], xmm1
movsd qword [esp + 0x1a0], xmm2
mov dword [esp + 0x198], 1
mov dword [esp + 0x19c], 1
movzx eax, byte [0x104ff0b8]
mov eax, dword [0x104ff078]
test eax, eax
jne 0x1002a53f
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x1002baea
mov dword [0x104ff078], eax
push 0x20
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x1002baea
movsd xmm0, qword [esp + 0x1b0]
mov ecx, eax
movsd qword [eax + 0x18], xmm0
movsd xmm0, qword [esp + 0x1a8]
movsd qword [eax + 0x10], xmm0
movsd xmm0, qword [esp + 0x198]
movsd xmm1, qword [esp + 0x1a0]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
jmp 0x1002a5c2
movzx ecx, word [esp + 0x89]
movzx eax, byte [esp + 0x88]
mov word [esp + 0xd0], cx
movzx ecx, byte [esp + 0x8b]
cmp al, 0x4b
mov byte [esp + 0xd2], cl
mov ecx, dword [esp + 0x8c]
jne 0x1002ae2b
lea edx, [ecx + 8]
xor eax, eax
lock cmpxchg dword [ebx + 0x6c], edx
jne 0x1002a5d8
lock inc dword [ecx]
jg 0x1002a5f3
jmp 0x1002ba82
lock dec dword [ecx]
mov esi, eax
jne 0x1002a5e4
call fcn.10021da0
lock inc dword [esi - 8]
jle 0x1002ba82
add esi, 0xfffffff8
mov ecx, esi
mov edx, dword [edi + 0x20]
cmp byte [ebx + 0x70], 0
mov dword [esp + 0x38], ebx
movq xmm0, qword [edi + 0x10]
movq xmm1, qword [edi + 0x28]
movsd xmm2, qword [edi + 0x20]
movsd xmm3, qword [edi + 0x18]
movsd xmm4, qword [edi]
movsd xmm5, qword [edi + 8]
mov eax, edx
setne bl
movq qword [esp + 0x268], xmm1
movsd qword [esp + 0x260], xmm2
movsd qword [esp + 0x258], xmm3
movq qword [esp + 0x250], xmm0
movsd qword [esp + 0x248], xmm5
movsd qword [esp + 0x240], xmm4
mov dword [esp + 0x288], ecx
mov dword [esp + 0x270], 0
mov dword [esp + 0x278], 0
mov dword [esp + 0x284], 0
mov dword [esp + 0x280], 0
shr eax, 0x10
cmp ax, 5
setae bh
and edx, 0xff00
xor eax, eax
cmp edx, 0x800
sete al
xor esi, esi
test bl, bh
lea edx, [eax*8 + 8]
lea eax, [eax*8 + 0xc]
cmove edx, esi
cmove eax, esi
mov esi, dword [edi + 8]
xor ebx, ebx
mov dword [esp + 0x28c], edx
mov dword [esp + 0x290], 0
mov dword [esp + 0x294], eax
mov dword [esp + 0x298], eax
mov dword [esp + 0x1ac], 0
mov dword [esp + 0x1a8], 0x2f
mov dword [esp + 0x19c], 0
add esi, 0xfffffffd
cmp esi, 2
lea esi, [esp + 0x240]
setb bl
add ecx, 8
mov dword [esp + 0x198], ebx
movq qword [esp + 0x1a0], xmm0
mov eax, dword [esp + 0x258]
mov edi, dword [esp + 0x25c]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], 0
mov dword [esp + 0xac], 0
lea ecx, [esp + 0xd0]
lea edx, [esp + 0x80]
call fcn.10028ed0
movzx ecx, byte [esp + 0xd0]
cmp cl, 0x4b
jne 0x1002a7cb
lea ebx, [esp + 0x90]
lea esi, [esp + 0xd0]
lea edi, [esp + 0x80]
nop word [eax + eax]
cmp byte [esp + 0xd1], 0
mov eax, dword [esp + 0x90]
je 0x1002a82c
test eax, eax
jne 0x1002a834
mov ecx, esi
mov edx, edi
call fcn.10028ed0
movzx ecx, byte [esp + 0xd0]
cmp cl, 0x4b
je 0x1002a7a0
mov edx, dword [esp + 0xc0]
movzx eax, byte [esp + 0xd1]
movzx edi, word [esp + 0xd2]
mov esi, dword [esp + 0xd8]
mov byte [edx + 8], cl
mov ecx, dword [esp + 0xd4]
mov byte [edx + 9], al
mov word [edx + 0xa], di
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 0xdc]
mov dword [edx + 0x10], esi
mov dword [edx + 0x14], ecx
mov dword [edx + 4], 0
mov dword [edx], 2
mov ecx, dword [esp + 0x288]
lock dec dword [ecx]
je 0x1002b3f1
jmp 0x1002b3f6
test eax, eax
je 0x1002adde
mov edi, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
mov edx, ebx
cmp dword [edi], 0
je 0x1002a851
mov ebx, dword [edi + 0xc]
mov edi, dword [edi + 4]
jmp 0x1002a860
mov ebx, dword [edi + 4]
cmp ebx, 6
jae 0x1002bafe
add edi, 8
mov dword [esp + 0x150], eax
mov eax, dword [esp + 0x198]
movaps xmm0, xmmword [0x100441f0]
mov dword [esp + 0x154], ecx
mov dword [esp + 0x158], edi
mov dword [esp + 0x15c], ebx
add edi, 0x10
dec ebx
mov dword [esp + 0x160], edx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x14c], 0x2e
mov dword [esp + 0x148], 0
mov dword [esp + 0x60], 0
mov dword [esp + 4], eax
mov eax, dword [esp + 0x19c]
movaps xmmword [esp + 0x170], xmm0
movaps xmmword [esp + 0x120], xmm0
mov dword [esp + 0x104], eax
jmp 0x1002a904
add edi, 0x10
dec ebx
cmp ebx, 0xffffffff
je 0x1002ac0c
lea eax, [edi - 0x10]
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
mov eax, dword [esp + 0x160]
movsd qword [esp + 0x30], xmm1
movsd qword [esp + 0x28], xmm0
mov eax, dword [eax + 0xc]
lea ecx, [esp + 0xd0]
lea esi, [esp + 0x28]
lea edx, [esp + 0x150]
push esi
push dword [eax + 0x20]
call fcn.100249a0
add esp, 8
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xd4]
mov edx, eax
xor edx, 0x2e
or edx, ecx
je 0x1002ac50
lea edx, [esp + 0xd8]
mov dword [esp + 0x158], edi
mov dword [esp + 0x15c], ebx
movsd xmm0, qword [edx]
movq xmm1, qword [edx + 8]
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd0], eax
movq qword [edx + 8], xmm1
movsd qword [edx], xmm0
movsd qword [esp + 0x180], xmm0
movq qword [esp + 0x188], xmm1
movzx eax, word [esp + 0xe0]
cmp eax, 0x71
jle 0x1002aa20
cmp eax, 0x2130
jg 0x1002aa80
add eax, 0xffffff8e
cmp eax, 0x1a
ja 0x1002a900
mov eax, dword [eax*4 + 0x1002c82c]
add eax, dword [esp + 8]
jmp eax
add eax, 0xfffffffd
cmp eax, 0x18
ja 0x1002a900
mov eax, dword [eax*4 + 0x1002c7c8]
add eax, dword [esp + 8]
jmp eax
cmp eax, 0x2131
je 0x1002ab8d
cmp eax, 0x2132
je 0x1002aace
cmp eax, 0x2133
jne 0x1002a900
lea ecx, [esp + 0x28]
lea edx, [esp + 0xd0]
call fcn.100263a0
mov eax, dword [esp + 0x28]
xor eax, 0xb
or eax, dword [esp + 0x2c]
jne 0x1002a900
mov eax, dword [esp + 0x30]
mov dword [esp + 0x290], eax
jmp 0x1002a900
lea ecx, [esp + 0x28]
lea edx, [esp + 0xd0]
call fcn.100263a0
mov eax, dword [esp + 0x28]
xor eax, 0x17
or eax, dword [esp + 0x2c]
jne 0x1002a900
mov eax, dword [esp + 0x30]
mov dword [esp + 0x298], eax
jmp 0x1002a900
mov eax, dword [esp + 4]
or eax, dword [esp + 0x104]
jne 0x1002a900
lea ecx, [esp + 0x28]
lea edx, [esp + 0xd0]
call fcn.100263a0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x104], 0
xor eax, 0x2d
or eax, dword [esp + 0x2c]
jne 0x1002abff
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x19c], 0
mov dword [esp + 0x198], 1
mov dword [esp + 4], 1
mov dword [esp + 0x1a4], ecx
mov dword [esp + 0x1a0], eax
jmp 0x1002a900
mov dword [esp + 4], 0
jmp 0x1002a900
mov eax, dword [esp + 0x160]
cmp dword [eax + 0x14], 0
jne 0x1002ac2c
mov ecx, dword [esp + 0x150]
sub ecx, dword [eax]
mov dword [eax + 0x14], 1
mov dword [eax + 0x18], ecx
movdqa xmm1, xmmword [esp + 0x120]
movd ecx, xmm1
pshufd xmm0, xmm1, 0x55
movd eax, xmm0
xor ecx, 0x2e
or ecx, eax
jne 0x1002ac88
xor ebx, ebx
jmp 0x1002acd6
lea eax, [esp + 0xd8]
movq xmm0, qword [eax]
movq xmm1, qword [eax + 8]
mov eax, dword [esp + 0xc0]
movq qword [esp + 0x180], xmm0
movq qword [esp + 0x188], xmm1
movq qword [eax + 0x10], xmm1
movq qword [eax + 8], xmm0
jmp 0x1002adf0
movzx eax, byte [esp + 0x261]
movdqu xmmword [esp + 0x2d8], xmm1
mov edx, dword [esp + 0x38]
lea esi, [esp + 0x2d8]
lea ecx, [esp + 0x80]
push esi
push dword [esp + 0x290]
push eax
call fcn.10021b60
add esp, 0xc
xor ebx, ebx
cmp byte [esp + 0x80], 0x4b
jne 0x1002accf
mov ebx, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
movdqa xmm1, xmmword [esp + 0x170]
mov dword [esp + 0x270], ebx
mov dword [esp + 0x274], edx
movd ecx, xmm1
pshufd xmm0, xmm1, 0x55
movd eax, xmm0
xor ecx, 0x2e
or ecx, eax
jne 0x1002ad35
cmp dword [esp + 0x60], 0
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x278], 0
je 0x1002ae5c
movzx eax, byte [esp + 0x260]
xor esi, esi
mov dword [esp + 0x120], edx
mov byte [esp + 0x60], al
jmp 0x1002adc1
movzx eax, byte [esp + 0x261]
mov dword [esp + 0x120], edx
movdqu xmmword [esp + 0x2e8], xmm1
mov edx, dword [esp + 0x38]
lea esi, [esp + 0x2e8]
lea ecx, [esp + 0x80]
push esi
push dword [esp + 0x290]
push eax
call fcn.10021b60
add esp, 0xc
xor edi, edi
cmp byte [esp + 0x80], 0x4b
mov esi, dword [esp + 0x84]
mov eax, 0
mov ecx, dword [esp + 0x88]
cmove eax, esi
cmp dword [esp + 0x60], 0
mov dword [esp + 0x278], eax
mov dword [esp + 0x27c], ecx
je 0x1002ae60
movzx edx, byte [esp + 0x260]
test eax, eax
mov dword [esp + 0x104], ecx
cmove esi, eax
mov byte [esp + 0x60], dl
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + 0x20]
mov edx, dword [ecx + 0x24]
mov ecx, dword [esp + 0x74]
sub edx, ecx
jae 0x1002ae12
xor esi, esi
mov cl, 0x13
mov edi, eax
jmp 0x1002b3bd
mov eax, dword [esp + 0xc0]
mov byte [eax + 8], 0x42
mov dword [eax + 0xc], 0
mov dword [eax + 4], 0
mov dword [eax], 2
mov ecx, dword [esp + 0x288]
lock dec dword [ecx]
je 0x1002b3f1
jmp 0x1002b3f6
add eax, ecx
cmp edx, 4
jae 0x1002b164
mov edi, eax
xor esi, esi
mov cl, 0x13
shr edi, 8
jmp 0x1002b18d
mov ah, byte [esp + 0xd2]
movzx edi, word [esp + 0xd0]
mov edx, dword [esp + 0x94]
mov esi, dword [esp + 0x90]
mov byte [esp + 0x152], ah
mov word [esp + 0x150], di
jmp 0x1002a472
xor edi, edi
jmp 0x1002ae64
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x170], eax
mov dword [esp + 4], 0x2f
mov eax, dword [esp + 0x1a8]
xor eax, 0x2f
or eax, dword [esp + 0x1ac]
je 0x1002af12
cmp dword [esp + 0x200], 0
je 0x1002aeac
push dword [esp + 0x1fc]
push 0
push dword [0x104ff078]
call sub.KERNEL32.dll_HeapFree
mov ecx, dword [esp + 0x74]
cmp dword [esp + 0x20c], 0
je 0x1002aece
push dword [esp + 0x208]
push 0
push dword [0x104ff078]
call sub.KERNEL32.dll_HeapFree
mov ecx, dword [esp + 0x74]
cmp dword [esp + 0x218], 0
je 0x1002aef0
push dword [esp + 0x214]
push 0
push dword [0x104ff078]
call sub.KERNEL32.dll_HeapFree
mov ecx, dword [esp + 0x74]
cmp dword [esp + 0x224], 0
je 0x1002af12
push dword [esp + 0x220]
push 0
push dword [0x104ff078]
call sub.KERNEL32.dll_HeapFree
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 4]
movsd xmm0, qword [esp + 0x150]
mov dword [esp + 0x1ac], edi
movq xmm1, qword [esp + 0x158]
mov edi, dword [esp + 0x6c]
movzx edx, byte [esp + 0xc7]
mov dword [esp + 0x1a8], eax
mov eax, dword [esp + 0x120]
mov dword [esp + 0x1b0], ebx
movzx ebx, byte [esp + 0x4e]
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1bc], 0
mov dword [esp + 0x1b8], 0
movsd qword [esp + 0x1c0], xmm0
movsd xmm0, qword [esp + 0x160]
mov eax, dword [esp + 0x48]
movq qword [esp + 0x1c8], xmm1
movsd qword [esp + 0x1d0], xmm0
movsd xmm0, qword [esp + 0x168]
movsd qword [esp + 0x1d8], xmm0
mov dword [esp + 0x1e0], eax
mov eax, dword [esp + 0x144]
movsd xmm0, qword [esp + 0x180]
mov dword [esp + 0x1e4], eax
mov eax, dword [esp + 0xf8]
mov dword [esp + 0x1e8], eax
mov eax, dword [esp + 0xfc]
mov dword [esp + 0x1ec], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1f0], eax
mov eax, dword [esp + 0x104]
mov dword [esp + 0x1f4], eax
movzx eax, byte [esp + 0x60]
mov byte [esp + 0x1f8], al
movzx eax, byte [esp + 0x1b]
mov byte [esp + 0x1f9], al
mov eax, dword [esp + 0x170]
mov word [esp + 0x1fa], ax
mov dword [esp + 0x1fc], esi
mov esi, dword [esp + 0x40]
mov dword [esp + 0x200], esi
mov esi, dword [esp + 0x188]
mov dword [esp + 0x204], edi
mov edi, dword [esp + 0x14]
movsd qword [esp + 0x208], xmm0
movsd xmm0, qword [esp + 0x2a0]
mov dword [esp + 0x210], esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0x214], edi
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x218], esi
mov esi, dword [esp + 0x2a8]
mov dword [esp + 0x21c], edi
movsd qword [esp + 0x220], xmm0
mov edi, dword [esp + 0x100]
mov dword [esp + 0x228], esi
mov dword [esp + 0x22c], ecx
mov esi, dword [esp + 0x11c]
movzx ecx, byte [esp + 0xc4]
mov dword [esp + 0x230], edi
mov dword [esp + 0x234], esi
mov byte [esp + 0x238], cl
movzx ecx, byte [esp + 0x4f]
mov byte [esp + 0x239], dl
movzx edx, byte [esp + 0xc6]
mov byte [esp + 0x23a], cl
movzx ecx, byte [esp + 0xc5]
mov byte [esp + 0x23b], dl
mov byte [esp + 0x23c], cl
mov ecx, dword [esp + 0x14c]
mov byte [esp + 0x23d], bl
mov edx, ecx
xor edx, 0x2e
or edx, dword [esp + 0x148]
jne 0x1002b137
lea eax, [esp + 0x198]
push 0x108
push eax
push dword [esp + 0xc8]
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x1002b481
mov eax, ecx
and al, 0x3f
cmp al, 0xc
je 0x1002b1b1
and ecx, 0x3f
jne 0x1002b1dc
mov edi, dword [esp + 0x70]
shr edi, 8
xor esi, esi
mov cl, 1
xor ebx, ebx
xor edx, edx
mov dword [esp + 8], 0
jmp 0x1002b24a
lea ecx, [eax + 4]
mov dword [esp + 0x44], esi
lea esi, [edx - 4]
mov byte [esp + 0x1b], 4
mov dword [esp + 0xc], ecx
mov ecx, dword [eax]
cmp ecx, 0xffffffef
jbe 0x1002b19e
cmp ecx, 0xffffffff
je 0x1002b2c3
xor edi, edi
mov cl, 0x10
xor esi, esi
shld esi, edi, 8
movzx eax, al
shl edi, 8
or edi, eax
jmp 0x1002b3bd
mov eax, ecx
cmp esi, eax
jae 0x1002b3aa
mov edx, dword [esp + 0xc]
jmp 0x1002b3b7
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x290]
mov esi, dword [eax + 0xc]
mov ecx, dword [eax + 8]
sub esi, ebx
jae 0x1002b1f2
mov al, 0x13
mov dword [esp + 0x87], ecx
mov dword [esp + 0x8b], 0
jmp 0x1002b20f
mov dword [esp + 0x70], eax
xor esi, esi
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 8], 0
xor edx, edx
jmp 0x1002b24a
movzx eax, byte [esp + 0x260]
mov byte [esp + 0x38], al
movzx edi, al
mov eax, dword [esp + 0x70]
mul edi
jno 0x1002b32c
mov al, 0x35
mov dword [esp + 0x38], eax
movzx ecx, byte [esp + 0x8a]
movzx edi, word [esp + 0x88]
movzx eax, byte [esp + 0x87]
xor ebx, ebx
mov esi, 1
shl ecx, 0x10
mov dword [esp + 0x70], eax
or edi, ecx
mov ecx, dword [esp + 0x8b]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x38]
mov eax, edx
movzx ecx, cl
shl edi, 8
shl eax, 8
or ecx, eax
movzx eax, byte [esp + 0x70]
or eax, edi
or esi, ebx
je 0x1002b2a3
mov esi, dword [esp + 0xc0]
mov edi, dword [esp + 8]
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x7c]
shld edi, edx, 8
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
mov dword [esi + 4], 0
mov dword [esi], 2
mov ecx, dword [esp + 0x288]
lock dec dword [ecx]
je 0x1002b3f1
jmp 0x1002b3f6
cmp ecx, 1
jne 0x1002b116
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x280], eax
mov dword [esp + 0x284], ecx
jmp 0x1002b116
cmp esi, 8
jae 0x1002b37f
mov eax, dword [esp + 0xc]
xor esi, esi
mov cl, 0x13
mov dword [esp + 0x2f], eax
movzx eax, byte [esp + 0x32]
movq xmm0, qword [esp + 0x28]
mov byte [esp + 0x8a], al
movzx eax, word [esp + 0x30]
movd ebx, xmm0
mov word [esp + 0x88], ax
movq qword [esp + 0x80], xmm0
mov dword [esp + 0x8b], 0
shufps xmm0, xmm0, 0x55
mov eax, dword [esp + 0x87]
movd edx, xmm0
shld edx, ebx, 8
mov edi, eax
shr edi, 8
jmp 0x1002b18d
mov edx, esi
add ecx, ebx
sub edx, eax
jb 0x1002b1c6
dec edi
cmp edi, 7
ja 0x1002b613
mov ebx, dword [esp + 8]
add ecx, eax
add ebx, dword [edi*4 + 0x1002c8f4]
jmp ebx
mov esi, dword [esp + 0xc]
cmp dword [esi + 4], 0
jne 0x1002b4ef
mov esi, dword [esi]
add eax, 0xc
add edx, 0xfffffff4
mov byte [esp + 0x1b], 8
mov dword [esp + 0xc], eax
mov eax, esi
mov esi, edx
cmp esi, eax
jb 0x1002b1a8
mov edx, dword [esp + 0xc]
cmp eax, 2
jae 0x1002b489
xor esi, esi
mov cl, 0x13
mov edi, edx
shl ebx, 8
movzx eax, cl
or eax, ebx
mov ebx, dword [esp + 0xc0]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], edx
mov dword [ebx + 0x10], edi
mov dword [ebx + 0x14], esi
mov dword [ebx + 4], 0
mov dword [ebx], 2
mov ecx, dword [esp + 0x288]
lock dec dword [ecx]
jne 0x1002b3f6
call fcn.10021da0
mov eax, dword [esp + 0x1a8]
xor eax, 0x2f
or eax, dword [esp + 0x1ac]
je 0x1002b481
cmp dword [esp + 0x200], 0
je 0x1002b427
push dword [esp + 0x1fc]
push 0
push dword [0x104ff078]
call sub.KERNEL32.dll_HeapFree
cmp dword [esp + 0x20c], 0
je 0x1002b445
push dword [esp + 0x208]
push 0
push dword [0x104ff078]
call sub.KERNEL32.dll_HeapFree
cmp dword [esp + 0x218], 0
je 0x1002b463
push dword [esp + 0x214]
push 0
push dword [0x104ff078]
call sub.KERNEL32.dll_HeapFree
cmp dword [esp + 0x224], 0
je 0x1002b481
push dword [esp + 0x220]
push 0
push dword [0x104ff078]
call sub.KERNEL32.dll_HeapFree
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movzx esi, word [edx]
mov dword [esp + 0x100], eax
mov eax, esi
movzx edi, si
add eax, 0xfffffffa
cmp ax, 0xfffc
jae 0x1002b4aa
xor esi, esi
mov cl, 0x11
jmp 0x1002add9
mov eax, dword [esp + 0x100]
add edx, 2
cmp si, 4
mov dword [esp + 0x170], esi
lea eax, [eax - 2]
mov dword [esp + 0xfc], eax
jbe 0x1002b4fa
cmp dword [esp + 0xfc], 0
je 0x1002b776
cmp dword [esp + 0x100], 3
jne 0x1002b55a
mov edx, dword [esp + 0xc]
add edx, 3
jmp 0x1002b3b7
xor edi, edi
mov cl, 0x35
xor esi, esi
jmp 0x1002b18d
mov eax, dword [esp + 0xfc]
cmp ecx, 0xfffffff0
jb 0x1002b694
cmp eax, 8
jae 0x1002b64a
mov dword [esp + 0x87], edx
shr edx, 8
movq xmm0, qword [esp + 0x80]
movdqa xmmword [esp + 0x2c0], xmm0
movdqa xmm1, xmm0
movd eax, xmm0
movzx ebx, byte [esp + 0x2c7]
shufps xmm1, xmm0, 0x55
movd ecx, xmm1
shld ecx, eax, 8
mov eax, edx
mov dword [esp + 0xc], ecx
mov cl, 0x13
mov edx, ebx
jmp 0x1002b6a0
mov edx, dword [esp + 0xc]
cmp byte [edx + 3], 0
je 0x1002b676
mov cl, 0x41
jmp 0x1002b783
movzx eax, byte [esp + 0x38]
movzx ecx, word [esp + 0x84]
mov byte [esp + 0x80], al
movzx eax, byte [esp + 0x86]
mov edx, dword [esp + 0x80]
shl eax, 0x10
or ecx, eax
mov al, 0x17
mov dword [esp + 8], ecx
mov dword [esp + 0x38], eax
jmp 0x1002b213
cmp dword [edx + 4], 0
jne 0x1002b672
mov ecx, dword [edx]
add edx, 8
add eax, 0xfffffff8
jmp 0x1002b6bd
mov cl, 0x35
jmp 0x1002b6a0
movzx eax, byte [edx + 2]
add edx, 4
mov byte [esp + 0x60], al
mov eax, dword [esp + 0x100]
add eax, 0xfffffffc
cmp ecx, 0xfffffff0
jae 0x1002b50a
cmp eax, 4
jae 0x1002b6b5
mov eax, edx
mov cl, 0x13
shr eax, 8
movzx edi, dl
mov edx, dword [esp + 0xc]
shl eax, 8
movd ebx, xmm0
xor esi, esi
jmp 0x1002b197
mov ecx, dword [edx]
add eax, 0xfffffffc
add edx, 4
sub eax, ecx
jb 0x1002b776
test ecx, ecx
mov dword [esp + 0xfc], eax
je 0x1002b776
mov dword [esp + 0x11c], ecx
lea eax, [ecx - 1]
lea ecx, [edx + 1]
mov dword [esp + 0xf8], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x48], ecx
movzx ecx, byte [edx]
test cl, cl
mov byte [esp + 0xc7], cl
je 0x1002b781
cmp word [esp + 0x170], 4
mov byte [esp + 0x4f], 1
jb 0x1002b745
test eax, eax
je 0x1002b788
mov eax, dword [esp + 0xf8]
movzx eax, byte [eax + 1]
test al, al
mov byte [esp + 0x4f], al
je 0x1002b822
mov eax, dword [esp + 0x11c]
mov ecx, dword [esp + 0xf8]
add eax, 0xfffffffe
add ecx, 2
mov dword [esp + 0x48], ecx
test eax, eax
je 0x1002b788
mov ecx, dword [esp + 0x48]
mov edx, eax
dec edx
lea ecx, [ecx + 1]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
je 0x1002b817
cmp eax, 2
jne 0x1002b795
mov edi, dword [esp + 0x48]
xor esi, esi
mov cl, 0x13
add edi, 2
jmp 0x1002add9
xor esi, esi
mov cl, 0x13
mov edi, edx
jmp 0x1002add9
mov cl, 0x1a
jmp 0x1002b3bd
mov edi, dword [esp + 0x48]
xor esi, esi
mov cl, 0x13
jmp 0x1002b3bd
mov edx, dword [esp + 0x48]
lea esi, [eax - 3]
movzx ecx, byte [edx]
mov byte [esp + 4], cl
movzx ecx, byte [edx + 1]
mov byte [esp + 0xc6], cl
lea ecx, [edx + 3]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], esi
movzx edx, byte [edx + 2]
test dl, dl
mov byte [esp + 0xc5], dl
je 0x1002b829
cmp byte [esp + 4], 0
setne byte [esp + 0xc4]
test esi, esi
je 0x1002b817
mov ecx, dword [esp + 0x48]
movzx ecx, byte [ecx + 3]
test cl, cl
mov byte [esp + 0x4e], cl
je 0x1002b830
movzx ecx, byte [esp + 0x4e]
add dword [esp + 0x48], 4
add eax, 0xfffffffc
dec cl
movzx edx, cl
sub eax, edx
mov ecx, edx
mov dword [esp + 0x144], edx
jae 0x1002b837
mov edi, dword [esp + 0x48]
xor esi, esi
mov cl, 0x13
mov edx, edi
jmp 0x1002b3bd
mov edi, ecx
xor esi, esi
mov cl, 0x13
jmp 0x1002b3bd
mov cl, 0x1b
jmp 0x1002b783
mov cl, 0x1c
jmp 0x1002b783
mov cl, 0x1d
jmp 0x1002b783
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x144]
cmp word [esp + 0x170], 4
mov dword [esp + 0x108], 8
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
lea ecx, [ecx + edx]
mov dword [esp + 0x1c], ecx
mov dword [esp], ecx
mov dword [esp + 0x20], eax
ja 0x1002b991
test eax, eax
je 0x1002bac8
mov ecx, dword [esp]
mov dword [esp + 0x40], 0
mov dword [esp + 0x6c], 8
lea edx, [ecx + eax]
mov ecx, dword [esp + 4]
xor esi, esi
mov dword [esp + 0xc], ecx
mov ecx, dword [esp]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 4]
cmp byte [ecx + esi], 0
je 0x1002b8cb
mov ecx, dword [esp + 4]
lea ecx, [ecx + esi + 1]
inc esi
cmp ecx, edx
jne 0x1002b8af
jmp 0x1002ba86
mov ecx, esi
not ecx
add ecx, eax
mov eax, dword [esp + 4]
test esi, esi
lea eax, [eax + esi + 1]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
je 0x1002bdb1
mov eax, dword [esp + 0x40]
cmp eax, dword [esp + 0x10c]
jne 0x1002b91c
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x108]
call fcn.1002f5b0
mov eax, dword [esp + 0x108]
mov ecx, dword [esp + 0x110]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 4]
shl eax, 4
mov dword [ecx + eax + 4], 0
mov dword [ecx + eax], 0x1f
mov ecx, dword [esp + 0x6c]
mov dword [ecx + eax + 8], edx
mov ecx, dword [esp + 0x6c]
mov dword [ecx + eax + 0xc], esi
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 4]
mov ecx, dword [esp + 0x1c]
inc eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x40], eax
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x20]
mov dword [esp], ecx
lea edx, [ecx + eax]
test eax, eax
jne 0x1002b89e
jmp 0x1002bac8
mov ecx, 4
mov edx, 0x20
call fcn.10002ca0
jmp 0x1002c6d3
lea ecx, [esp + 0x80]
lea edx, [esp + 0x1c]
call fcn.1002e530
movzx eax, byte [esp + 0x80]
cmp al, 0x4b
mov dword [esp + 0x10], eax
jne 0x1002ba8f
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x78], eax
mov dword [esp + 0x40], edx
test ecx, ecx
je 0x1002bb17
mov eax, ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp]
lea edx, [ecx + eax]
neg eax
inc ecx
mov dword [esp], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x44], eax
xor ecx, ecx
mov edx, dword [esp]
cmp ecx, 0x3f
movzx eax, byte [edx - 1]
mov byte [esp + 4], al
jne 0x1002ba2c
cmp byte [esp + 4], 2
jae 0x1002bb21
mov dh, byte [esp + 4]
mov eax, 0
and dh, 0x7f
movzx esi, dh
xor edx, edx
shld edx, esi, cl
shl esi, cl
test cl, 0x20
cmovne edx, esi
cmovne esi, eax
or dword [esp + 0x64], edx
or dword [esp + 0x68], esi
cmp byte [esp + 4], 0
jns 0x1002bb94
add ecx, 7
inc dword [esp]
inc dword [esp + 0x44]
jne 0x1002ba11
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0
mov dword [esp], eax
jmp 0x1002bb17
ud2
mov eax, dword [esp + 4]
mov dword [esp], eax
jmp 0x1002bac8
movzx eax, byte [esp + 0x83]
movzx ebx, word [esp + 0x81]
mov esi, dword [esp + 0x8c]
shl eax, 0x10
or ebx, eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov al, 1
mov dword [esp + 8], eax
jmp 0x1002bb45
mov al, 0x13
xor esi, esi
mov dword [esp + 0x78], 2
mov dword [esp + 0x40], 0
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
jmp 0x1002bb45
mov ecx, 4
mov edx, 0x20
call fcn.10002ca0
jmp 0x1002c6d3
mov edx, 5
mov ecx, ebx
push 0x104f501c
call fcn.100038f0
add esp, 4
jmp 0x1002c6d3
mov al, 0x13
xor esi, esi
mov dword [esp + 0x10], eax
jmp 0x1002bb38
mov eax, dword [esp + 0x44]
mov ecx, dword [esp]
not eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov al, 6
mov dword [esp + 0x10], eax
movzx ebx, byte [esp + 4]
mov dword [esp + 8], 0
cmp dword [esp + 0x10c], 0
je 0x1002bb63
push dword [esp + 0x108]
push 0
push dword [0x104ff078]
call sub.KERNEL32.dll_HeapFree
cmp dword [esp + 0x40], 0
mov ecx, dword [esp + 8]
sete al
or cl, al
jne 0x1002bb84
push dword [esp + 0x78]
push 0
push dword [0x104ff078]
call sub.KERNEL32.dll_HeapFree
mov edi, dword [esp]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
jmp 0x1002b3bd
mov ecx, dword [esp]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x68]
not eax
mov dword [esp + 0x20], eax
or ecx, dword [esp + 0x64]
je 0x1002bd8c
cmp dword [esp + 0x6c], 0
je 0x1002c6a3
movzx ecx, byte [esp + 0x1b]
mov eax, edi
mov dword [esp + 0x3c], 0
mov dword [esp + 0x50], 8
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
shl eax, 0x10
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0x60]
or eax, ecx
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x6c]
lea eax, [eax*4]
mov dword [esp + 0xf4], eax
add dword [esp + 0x58], 1
mov dword [esp + 0x44], 0x2e
mov dword [esp + 4], 0
mov dword [esp + 0x14], 0
adc dword [esp + 0x54], 0
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 4]
movzx eax, word [eax + ecx + 2]
lea ecx, [esp + 0x80]
lea edx, [esp + 0x1c]
push eax
push dword [esp + 0xd0]
call fcn.1002e8e0
add esp, 8
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x88]
mov esi, dword [esp + 0x94]
or eax, dword [esp + 0x84]
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
mov dword [esp + 0xc], eax
mov dword [esp], ecx
jne 0x1002bd80
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x24]
cmp word [eax + ecx], 1
mov eax, dword [esp + 0x5c]
cmove edx, dword [esp]
cmove eax, esi
mov esi, dword [esp + 0x14]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x44]
cmove esi, dword [esp + 0xc]
cmove edx, dword [esp + 0x10]
add ecx, 4
mov dword [esp + 0x14], esi
cmp dword [esp + 0xf4], ecx
mov dword [esp + 4], ecx
mov dword [esp + 0x44], edx
jne 0x1002bc2f
mov eax, dword [esp + 0x44]
xor eax, 0x2e
or eax, dword [esp + 0x14]
je 0x1002c6a3
mov eax, dword [esp + 0x3c]
cmp eax, dword [esp + 0x10c]
jne 0x1002bd28
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x108]
call fcn.1002f5b0
mov eax, dword [esp + 0x108]
mov ecx, dword [esp + 0x110]
mov dword [esp + 0x50], eax
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x50]
mov esi, dword [esp + 0x44]
mov eax, ecx
inc ecx
shl eax, 4
mov dword [esp + 0x3c], ecx
mov dword [edx + eax], esi
mov esi, dword [esp + 0x14]
mov dword [edx + eax + 4], esi
mov esi, dword [esp + 0x5c]
mov dword [edx + eax + 0xc], esi
mov esi, dword [esp + 0x24]
mov dword [edx + eax + 8], esi
mov esi, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x110], ecx
cmp esi, dword [esp + 0x68]
sbb edx, dword [esp + 0x64]
jb 0x1002bc0d
mov dword [esp + 0x44], 0
jmp 0x1002bdc9
mov ebx, dword [esp + 0x10]
shr ebx, 8
jmp 0x1002bae0
mov dword [esp + 0x28], 8
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x44], 0
jmp 0x1002bfd0
mov dword [esp + 0x78], 2
mov dword [esp + 0x6c], 0
mov dword [esp + 0x40], 0
cmp word [esp + 0x170], 5
mov dword [esp + 0x28], 8
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
jae 0x1002bfd0
test ebx, ebx
mov eax, 0x2e
mov ecx, 0x1f
cmove ecx, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp], eax
test ecx, ecx
je 0x1002c605
mov eax, dword [esp]
xor edi, edi
mov dword [esp + 0x24], 0
mov dword [esp + 0x5c], 8
add eax, ecx
mov edx, dword [esp + 0x14]
xor esi, esi
mov dword [esp + 0xc], edx
mov edx, dword [esp]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x14]
cmp byte [edx + esi], 0
lea edx, [edx + esi + 1]
je 0x1002be56
inc esi
cmp edx, eax
jne 0x1002be3e
jmp 0x1002c10d
mov eax, esi
mov dword [esp + 0x1c], edx
not eax
add eax, ecx
test esi, esi
mov dword [esp + 0x20], eax
je 0x1002c670
lea ecx, [esp + 0x80]
lea edx, [esp + 0x1c]
push esi
push dword [esp + 0x18]
call fcn.10020bd0
add esp, 8
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x8c]
mov esi, dword [esp + 0x94]
mov dword [esp + 0x68], eax
xor eax, 0x2e
mov dword [esp + 0x64], ecx
mov dword [esp + 0xc], edx
or eax, ecx
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x10], eax
mov dword [esp], ecx
je 0x1002c68d
lea eax, [esp + 0x98]
mov ecx, dword [esp + 0x24]
movsd xmm1, qword [eax + 0x10]
movq xmm0, qword [eax + 0x18]
movsd xmm2, qword [eax]
cmp ecx, dword [esp + 0x2c]
movsd qword [esp + 0xe0], xmm1
movq xmm1, qword [eax + 8]
movq qword [esp + 0xe8], xmm0
movsd qword [esp + 0xd0], xmm2
movq qword [esp + 0xd8], xmm1
jne 0x1002bf31
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x28]
call fcn.10020f10
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x24], ecx
imul edx, dword [esp + 0x24], 0x38
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x64]
mov dword [eax + edx + 4], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + edx], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + edx + 8], ecx
mov ecx, dword [esp + 0xc]
mov dword [eax + edx + 0xc], ecx
mov ecx, dword [esp]
mov dword [eax + edx + 0x14], esi
mov dword [eax + edx + 0x10], ecx
movsd xmm0, qword [esp + 0xd0]
movq xmm1, qword [esp + 0xd8]
movsd qword [eax + edx + 0x18], xmm0
movq qword [eax + edx + 0x20], xmm1
movsd xmm0, qword [esp + 0xe0]
movsd qword [eax + edx + 0x28], xmm0
movq xmm0, qword [esp + 0xe8]
movq qword [eax + edx + 0x30], xmm0
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
inc eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1c]
test ecx, ecx
mov dword [esp], eax
lea eax, [eax + ecx]
jne 0x1002be2d
jmp 0x1002c605
lea ecx, [esp + 0x80]
lea edx, [esp + 0x1c]
call fcn.1002e530
movzx eax, byte [esp + 0x80]
cmp al, 0x4b
mov dword [esp + 0x10], eax
jne 0x1002c0c7
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], edx
test ecx, ecx
je 0x1002c103
mov eax, ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 4], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp]
lea edx, [ecx + eax]
neg eax
inc ecx
mov dword [esp], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
xor ecx, ecx
mov edx, dword [esp]
cmp ecx, 0x3f
movzx eax, byte [edx - 1]
mov byte [esp + 0x120], al
jne 0x1002c071
cmp byte [esp + 0x120], 2
jae 0x1002c119
movzx eax, byte [esp + 0x120]
xor ebx, ebx
mov dh, al
and dh, 0x7f
movzx esi, dh
mov edx, 0
shld ebx, esi, cl
shl esi, cl
test cl, 0x20
cmovne ebx, esi
cmovne esi, edx
or dword [esp + 0x68], ebx
or dword [esp + 4], esi
test al, al
jns 0x1002c145
add ecx, 7
inc dword [esp]
inc dword [esp + 0xc]
jne 0x1002c050
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0
mov dword [esp], eax
jmp 0x1002c103
movzx eax, byte [esp + 0x83]
movzx ebx, word [esp + 0x81]
mov esi, dword [esp + 0x8c]
shl eax, 0x10
or ebx, eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov al, 1
mov dword [esp + 8], eax
jmp 0x1002c62e
mov al, 0x13
xor esi, esi
mov dword [esp + 0x10], eax
jmp 0x1002c130
mov eax, dword [esp + 0x14]
mov dword [esp], eax
jmp 0x1002c605
mov eax, dword [esp + 0xc]
mov ecx, dword [esp]
not eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov al, 6
mov dword [esp + 0x10], eax
movzx ebx, byte [esp + 0x120]
mov dword [esp + 8], 0
jmp 0x1002c62e
mov ecx, dword [esp]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 4]
not eax
mov dword [esp + 0x20], eax
or ecx, dword [esp + 0x68]
je 0x1002c56e
cmp dword [esp + 0x5c], 0
je 0x1002c6bc
movzx eax, byte [esp + 0x1b]
movzx ebx, byte [esp + 0x60]
shl edi, 0x10
mov dword [esp + 0xc8], 0
mov dword [esp + 0x138], 8
mov dword [esp + 0x140], 0
mov dword [esp + 0x13c], 0
shl eax, 8
or eax, edi
or ebx, eax
mov eax, dword [esp + 0x5c]
lea eax, [eax*4]
mov dword [esp + 0x120], eax
add dword [esp + 0x140], 1
pxor xmm0, xmm0
mov dword [esp + 0x64], 0x2e
mov dword [esp + 0xcc], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x58], 0
movdqa xmmword [esp + 0x2b0], xmm0
adc dword [esp + 0x13c], 0
xor edi, edi
jmp 0x1002c26a
add edi, 4
cmp dword [esp + 0x120], edi
je 0x1002c481
mov eax, dword [esp + 0x14]
movzx eax, word [eax + edi + 2]
lea ecx, [esp + 0x80]
lea edx, [esp + 0x1c]
push eax
push ebx
call fcn.1002e8e0
add esp, 8
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x88]
mov esi, dword [esp + 0x94]
or eax, dword [esp + 0x84]
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
mov dword [esp + 0xc], eax
mov dword [esp], ecx
jne 0x1002c61f
mov eax, dword [esp + 0x14]
movzx ecx, word [eax + edi]
dec ecx
cmp ecx, 4
ja 0x1002c25a
mov ecx, dword [ecx*4 + 0x1002c898]
mov eax, dword [esp]
add ecx, dword [esp + 8]
shr eax, 8
jmp ecx
mov eax, dword [esp + 0x64]
xor eax, 0x2e
or eax, dword [esp + 0xcc]
je 0x1002c6bc
mov eax, dword [esp + 0xc8]
cmp eax, dword [esp + 0x2c]
jne 0x1002c4c8
mov edx, dword [esp + 0xc8]
lea ecx, [esp + 0x28]
call fcn.10020f10
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x138], eax
mov dword [esp + 0xc8], ecx
mov ecx, dword [esp + 0xc8]
mov edx, dword [esp + 0x138]
mov esi, dword [esp + 0xcc]
movdqa xmm0, xmmword [esp + 0x2b0]
imul eax, ecx, 0x38
inc ecx
mov dword [edx + eax + 4], esi
mov esi, dword [esp + 0x64]
mov dword [esp + 0xc8], ecx
mov dword [edx + eax], esi
mov esi, dword [esp + 0x194]
mov dword [edx + eax + 8], esi
mov esi, dword [esp + 0xf4]
mov dword [edx + eax + 0xc], esi
mov esi, dword [esp + 0xb8]
mov dword [edx + eax + 0x14], esi
mov esi, dword [esp + 0xbc]
mov dword [edx + eax + 0x10], esi
mov esi, dword [esp + 0x50]
mov dword [edx + eax + 0x1c], esi
mov esi, dword [esp + 0x54]
mov dword [edx + eax + 0x18], esi
mov esi, dword [esp + 0x58]
mov dword [edx + eax + 0x24], esi
mov esi, dword [esp + 0x3c]
mov dword [edx + eax + 0x20], esi
mov esi, dword [esp + 0x140]
movdqu xmmword [edx + eax + 0x28], xmm0
mov edx, dword [esp + 0x13c]
mov dword [esp + 0x30], ecx
cmp esi, dword [esp + 4]
sbb edx, dword [esp + 0x68]
jb 0x1002c1c1
xor edi, edi
mov dword [esp + 4], 0x2e
mov dword [esp + 0x120], 0
movsd xmm0, qword [esp + 0x108]
mov eax, dword [esp + 0x11c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x110]
mov esi, dword [esp + 0x78]
movsd qword [esp + 0x180], xmm0
movq xmm0, qword [esp + 0x28]
mov dword [esp + 0x2a8], ecx
add dword [esp + 0xf8], eax
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x188], edx
movq qword [esp + 0x2a0], xmm0
pxor xmm0, xmm0
movdqa xmmword [esp + 0x150], xmm0
movdqa xmmword [esp + 0x160], xmm0
mov eax, dword [esp + 0x1a8]
xor eax, 0x2f
or eax, dword [esp + 0x1ac]
jne 0x1002ae8a
jmp 0x1002af12
mov al, 0x13
xor esi, esi
mov dword [esp + 0x14], 2
mov dword [esp + 0x24], 0
mov dword [esp + 0x10], eax
jmp 0x1002c626
mov ebx, dword [esp + 0x10]
shr ebx, 8
mov dword [esp + 8], 0
cmp dword [esp + 0x2c], 0
je 0x1002c646
push dword [esp + 0x28]
push 0
push dword [0x104ff078]
call sub.KERNEL32.dll_HeapFree
cmp dword [esp + 0x24], 0
mov ecx, dword [esp + 8]
sete al
or cl, al
jne 0x1002bae0
push dword [esp + 0x14]
push 0
push dword [0x104ff078]
call sub.KERNEL32.dll_HeapFree
jmp 0x1002bae0
mov dword [esp + 0x24], 0
mov dword [esp + 0x14], 2
mov dword [esp + 0x5c], 0
jmp 0x1002c583
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x24], 0
mov dword [esp + 0x14], 2
jmp 0x1002c623
mov edx, 0x2b
mov ecx, str.called__Option::unwrap____on_a__None__value_rustc_d5c2e9c342b358556da91d61ed4133f6f50fc0c3library_alloc_srccollections_btree_navigate.rsIndex_out_of_bounds
push 0x104f5e4c
call fcn.10003c10
add esp, 4
jmp 0x1002c6d3
mov edx, 0x2b
mov ecx, str.called__Option::unwrap____on_a__None__value_rustc_d5c2e9c342b358556da91d61ed4133f6f50fc0c3library_alloc_srccollections_btree_navigate.rsIndex_out_of_bounds
push 0x104f5e3c
call fcn.10003c10
add esp, 4
ud2