Function at 0x10299d80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x4c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x5c]
push edi
mov eax, dword [esi + 0x260]
lea ebp, [esi + 8]
mov edi, dword [esi + 0x34]
mov ecx, dword [esi + 4]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ecx
test eax, eax
je 0x10299daf
mov edx, dword [eax + 4]
mov dword [esp + 0x28], edx
jmp 0x10299db7
mov dword [esp + 0x28], 0
mov eax, dword [esi]
cmp eax, 7
je 0x10299e48
cmp eax, 8
je 0x10299e3b
cmp eax, 9
je 0x10299e2e
cmp eax, 0xa
je 0x10299de0
pop edi
pop esi
mov ecx, 0xffffffe1
pop ebp
mov eax, ecx
pop ebx
add esp, 0x4c
ret
mov eax, dword [esp + 0x60]
mov dword [esp + 0x1c], eax
mov edx, dword [esi + 0x40]
sub edx, edi
sub ecx, 1
mov dword [esp + 0x14], ecx
js 0x1029a6ab
nop word [eax + eax]
mov ecx, dword [esi + 0x64]
mov eax, edi
sub eax, dword [esi + 0x218]
and eax, dword [esi + 0x44]
mov al, byte [eax + ecx]
mov byte [ecx + edi], al
inc edi
mov dword [esp + 0x18], edi
sub edx, 1
je 0x1029aa87
sub dword [esp + 0x14], 1
jns 0x10299e00
jmp 0x1029a6ab
mov eax, dword [esp + 0x60]
mov dword [esp + 0x1c], eax
jmp 0x1029a1f5
mov eax, dword [esp + 0x60]
mov dword [esp + 0x1c], eax
jmp 0x1029a110
mov eax, dword [esp + 0x60]
mov dword [esp + 0x1c], eax
mov dword [esi], 7
cmp dword [esi + 0xc0], 0
jne 0x10299e74
push esi
call fcn.10299400
add esp, 4
test eax, eax
jne 0x10299e50
lea ecx, [eax + 2]
jmp 0x1029a6c0
mov eax, dword [ebp]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 4]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x10]
mov ecx, eax
sub ecx, ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x50], ecx
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x30]
mov edx, ecx
cmp ecx, 0xf
jae 0x10299eca
cmp ebx, eax
je 0x1029a01f
movzx eax, byte [ebx]
mov ecx, edx
shl eax, cl
add edx, 8
or dword [ebp], eax
inc ebx
mov eax, dword [ebp + 0x10]
mov dword [ebp + 4], edx
mov dword [ebp + 8], ebx
cmp edx, 0xf
jb 0x10299ea6
mov ecx, dword [ebp]
and ecx, dword [0x10306adc]
mov ebx, dword [esp + 0x34]
movzx eax, cl
lea ebx, [ebx + eax*4]
mov al, byte [ebx]
cmp al, 8
jbe 0x10299f0e
shr dword [ebp], 8
add edx, 0xfffffff8
movzx eax, al
shr ecx, 8
mov dword [ebp + 4], edx
mov dword [esp + 0x38], ecx
mov ecx, dword [eax*4 + 0x10306a80]
movzx eax, word [ebx + 2]
and ecx, dword [esp + 0x38]
add ecx, eax
mov al, byte [ebx + ecx*4]
lea ebx, [ebx + ecx*4]
movzx ecx, al
sub edx, ecx
shr dword [ebp], cl
mov dword [ebp + 4], edx
movzx edx, word [ebx + 2]
mov dword [esp + 0x38], edx
mov ebx, dword [edx*8 + 0x10305468]
mov ecx, ebx
mov edx, dword [edx*8 + 0x1030546c]
mov eax, edx
shrd ecx, eax, 0x10
mov dword [esp + 0x34], ebx
movsx eax, cl
mov ecx, ebx
mov dword [esi + 0x218], eax
mov eax, edx
shrd ecx, eax, 0x18
mov eax, dword [esi + 0x78]
movzx ecx, cl
mov dword [esi + 0xb8], ecx
movzx ebx, dx
mov dword [esp + 0x58], edx
mov al, byte [ecx + eax]
mov byte [esi + 0x21c], al
mov eax, dword [esp + 0x34]
movzx eax, al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x24], eax
test eax, eax
je 0x1029a049
mov ecx, dword [ebp + 4]
cmp ecx, eax
jae 0x10299fb6
nop word [eax + eax]
mov edx, dword [ebp + 8]
cmp edx, dword [ebp + 0x10]
je 0x1029a043
movzx eax, byte [edx]
shl eax, cl
add ecx, 8
or dword [ebp], eax
lea eax, [edx + 1]
mov dword [ebp + 4], ecx
mov dword [ebp + 8], eax
cmp ecx, dword [esp + 0x24]
jb 0x10299f90
mov edx, dword [esp + 0x24]
sub ecx, dword [esp + 0x24]
mov eax, dword [ebp]
mov edx, dword [edx*4 + 0x10306aa0]
and edx, eax
mov dword [ebp + 4], ecx
mov ecx, dword [esp + 0x24]
shr eax, cl
mov dword [ebp], eax
mov eax, 1
test eax, eax
jne 0x1029a04b
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x48]
mov dword [ebp], eax
mov eax, dword [esp + 0x30]
mov dword [ebp + 4], eax
mov dword [ebp + 8], ecx
test edx, edx
jne 0x1029a9b6
mov eax, dword [esp + 0x18]
mov dword [ebp + 0x10], ecx
mov dword [esi + 0x14], ecx
mov ecx, 2
pop edi
mov dword [esi + 0x34], eax
mov eax, ecx
mov dword [esi + 4], ebx
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
mov ebx, dword [esp + 0x34]
lea eax, [esp + 0x38]
push eax
push ebp
push ebx
call fcn.10299cf0
add esp, 0xc
test eax, eax
je 0x1029a9e5
mov edx, dword [esp + 0x38]
jmp 0x10299f21
xor eax, eax
mov edx, eax
jmp 0x10299fdb
xor edx, edx
mov eax, dword [esp + 0x34]
movzx eax, ah
mov dword [esp + 0x24], eax
test eax, eax
je 0x1029a0ce
mov ecx, dword [ebp + 4]
cmp ecx, eax
jae 0x1029a08b
mov dword [esp + 0x20], edx
mov edx, dword [ebp + 8]
cmp edx, dword [ebp + 0x10]
je 0x1029a0c6
movzx eax, byte [edx]
shl eax, cl
add ecx, 8
or dword [ebp], eax
lea eax, [edx + 1]
mov edx, dword [esp + 0x20]
mov dword [ebp + 4], ecx
mov dword [ebp + 8], eax
cmp ecx, dword [esp + 0x24]
jb 0x1029a061
mov edi, dword [esp + 0x24]
sub ecx, edi
mov eax, dword [ebp]
mov esi, dword [edi*4 + 0x10306aa0]
and esi, eax
mov dword [ebp + 4], ecx
mov ecx, edi
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x18]
shr eax, cl
mov dword [ebp], eax
mov eax, 1
test eax, eax
je 0x10299fdf
mov ecx, dword [esp + 0x1c]
jmp 0x1029a0d0
mov edx, dword [esp + 0x20]
xor eax, eax
jmp 0x1029a0b8
xor ecx, ecx
movzx eax, word [esp + 0x5a]
mov ebx, ecx
add eax, ecx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x214], eax
dec dword [esi + 0xc0]
add ecx, edx
mov dword [esp + 0x14], ecx
je 0x1029a1f5
sub dword [esi + 0x60], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], ebx
nop dword [eax]
nop dword [eax + eax]
cmp dword [esi + 0xb4], 0
mov dword [esi], 8
je 0x1029a24d
cmp dword [esi + 0xbc], 0
je 0x1029a380
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 0x100]
mov dword [esp + 0x34], eax
cmp edx, 0xf
jae 0x1029a16b
mov ebx, dword [esi + 0x18]
mov edi, dword [esi + 0x10]
cmp edi, ebx
je 0x1029a229
movzx eax, byte [edi]
mov ecx, edx
shl eax, cl
add edx, 8
or dword [ebp], eax
lea eax, [edi + 1]
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], eax
cmp edx, 0xf
jb 0x1029a145
mov ebx, dword [ebp]
and ebx, dword [0x10306adc]
mov ecx, dword [esp + 0x34]
movzx eax, bl
lea edi, [ecx + eax*4]
mov al, byte [edi]
cmp al, 8
jbe 0x1029a1a9
shr dword [ebp], 8
add edx, 0xfffffff8
movzx eax, al
mov dword [esi + 0xc], edx
shr ebx, 8
mov ecx, dword [eax*4 + 0x10306a80]
movzx eax, word [edi + 2]
and ecx, ebx
add ecx, eax
mov al, byte [edi + ecx*4]
lea edi, [edi + ecx*4]
movzx ecx, al
sub edx, ecx
shr dword [ebp], cl
mov dword [esi + 0xc], edx
movzx ecx, word [edi + 2]
mov dword [esp + 0x3c], ecx
mov edi, dword [esp + 0x18]
mov eax, dword [esi + 0x64]
mov byte [edi + eax], cl
inc edi
mov ecx, dword [esp + 0x14]
dec dword [esi + 0xbc]
dec ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ecx
cmp edi, dword [esi + 0x40]
je 0x1029aa02
test ecx, ecx
jne 0x1029a123
cmp dword [esi + 0x60], 0
jle 0x1029a6b5
mov ecx, dword [esi + 0x218]
mov dword [esi], 9
test ecx, ecx
js 0x1029a399
xor eax, eax
test ecx, ecx
sete al
mov dword [esi + 0xb8], eax
mov eax, dword [esi + 0x48]
dec eax
mov dword [esi + 0x48], eax
and eax, 3
mov eax, dword [esi + eax*4 + 0x4c]
jmp 0x1029a626
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x3c]
push eax
push ebp
push ecx
call fcn.10299cf0
add esp, 0xc
test eax, eax
je 0x1029aa27
mov ecx, dword [esp + 0x3c]
jmp 0x1029a1bc
mov ecx, dword [esi + 0x64]
lea eax, [edi - 1]
and eax, dword [esi + 0x44]
mov bl, byte [eax + ecx]
lea eax, [edi - 2]
and eax, dword [esi + 0x44]
mov al, byte [eax + ecx]
cmp dword [esi + 0xbc], 0
je 0x1029a380
mov ecx, dword [esi + 0x70]
movzx eax, al
mov byte [esp + 0x12], bl
movzx edx, byte [eax + ecx + 0x100]
movzx eax, bl
movzx eax, byte [eax + ecx]
or edx, eax
mov eax, dword [esi + 0x74]
movzx ecx, byte [edx + eax]
mov eax, dword [esi + 0x7c]
mov edx, dword [esi + 0xc]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x34], eax
cmp edx, 0xf
jae 0x1029a2d6
mov ebx, dword [esi + 0x18]
nop word [eax + eax]
mov edi, dword [esi + 0x10]
cmp edi, ebx
je 0x1029a35f
movzx eax, byte [edi]
mov ecx, edx
shl eax, cl
add edx, 8
or dword [ebp], eax
lea eax, [edi + 1]
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], eax
cmp edx, 0xf
jb 0x1029a2b0
mov ebx, dword [ebp]
and ebx, dword [0x10306adc]
mov ecx, dword [esp + 0x34]
movzx eax, bl
lea edi, [ecx + eax*4]
mov al, byte [edi]
cmp al, 8
jbe 0x1029a314
shr dword [ebp], 8
add edx, 0xfffffff8
movzx eax, al
mov dword [esi + 0xc], edx
shr ebx, 8
mov ecx, dword [eax*4 + 0x10306a80]
movzx eax, word [edi + 2]
and ecx, ebx
add ecx, eax
mov al, byte [edi + ecx*4]
lea edi, [edi + ecx*4]
movzx ecx, al
sub edx, ecx
shr dword [ebp], cl
mov dword [esi + 0xc], edx
movzx ebx, word [edi + 2]
mov dword [esp + 0x40], ebx
mov edi, dword [esp + 0x18]
mov eax, dword [esi + 0x64]
mov ecx, dword [esp + 0x14]
dec ecx
mov dword [esp + 0x14], ecx
mov byte [edi + eax], bl
inc edi
dec dword [esi + 0xbc]
mov dword [esp + 0x18], edi
cmp edi, dword [esi + 0x40]
je 0x1029aa02
test ecx, ecx
je 0x1029a1eb
mov al, byte [esp + 0x12]
jmp 0x1029a262
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x40]
push eax
push ebp
push ecx
call fcn.10299cf0
add esp, 0xc
test eax, eax
je 0x1029aa27
mov ebx, dword [esp + 0x40]
jmp 0x1029a327
push esi
call fcn.102999d0
add esp, 4
test eax, eax
jne 0x1029a110
lea ecx, [eax + 2]
jmp 0x1029a6c0
cmp dword [esi + 0xc4], 0
lea ebx, [esi + 0xc4]
jne 0x1029a3b9
push esi
call fcn.102996e0
add esp, 4
test eax, eax
je 0x1029aa27
mov eax, dword [esi + 0x9c]
movzx ecx, byte [esi + 0x21c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ebp]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x18]
mov edx, eax
mov dword [esp + 0x34], ecx
mov ecx, dword [esi + 0x10]
sub edx, ecx
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x4c], ecx
cmp edx, 0xf
jae 0x1029a422
mov ebx, ecx
cmp ebx, eax
je 0x1029a4d0
movzx eax, byte [ebx]
mov ecx, edx
shl eax, cl
add edx, 8
or dword [ebp], eax
inc ebx
mov eax, dword [esi + 0x18]
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], ebx
cmp edx, 0xf
jb 0x1029a3f8
lea ebx, [esi + 0xc4]
mov ecx, dword [ebp]
and ecx, dword [0x10306adc]
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x34]
movzx eax, cl
lea ebx, [ebx + eax*4]
mov al, byte [ebx]
cmp al, 8
jbe 0x1029a46a
shr dword [ebp], 8
add edx, 0xfffffff8
movzx eax, al
shr ecx, 8
mov dword [esi + 0xc], edx
mov dword [esp + 0x44], ecx
mov ecx, dword [eax*4 + 0x10306a80]
movzx eax, word [ebx + 2]
and ecx, dword [esp + 0x44]
add ecx, eax
mov al, byte [ebx + ecx*4]
lea ebx, [ebx + ecx*4]
movzx ecx, al
sub edx, ecx
shr dword [ebp], cl
mov dword [esi + 0xc], edx
movzx ebx, word [ebx + 2]
mov dword [esp + 0x44], ebx
mov eax, dword [esp + 0x30]
dec dword [eax]
mov dword [esi + 0xb8], 0
test ebx, 0xfffffff0
jne 0x1029a554
mov eax, dword [esi + 0x48]
mov dword [esi + 0x218], ebx
mov dword [esp + 0x34], eax
cmp ebx, 3
jg 0x1029a4fb
mov ecx, ebx
mov edx, 1
sar edx, cl
mov ecx, eax
sub eax, ebx
mov dword [esi + 0xb8], edx
dec eax
and eax, 3
sub ecx, edx
mov eax, dword [esi + eax*4 + 0x4c]
mov dword [esi + 0x48], ecx
jmp 0x1029a626
lea eax, [esp + 0x44]
push eax
lea ebx, [esi + 0xc4]
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x38]
push ebp
push ebx
call fcn.10299cf0
add esp, 0xc
test eax, eax
je 0x1029aa27
mov ebx, dword [esp + 0x44]
jmp 0x1029a47d
cmp ebx, 0xa
mov ecx, 0xa
mov eax, 4
mov edx, 0x605142
cmovge eax, ecx
mov ecx, ebx
sub ecx, eax
xor eax, eax
shl ecx, 2
sar edx, cl
and edx, 0xf
cmp ebx, 0xa
setl al
add eax, 2
add eax, dword [esp + 0x34]
and eax, 3
mov eax, dword [esi + eax*4 + 0x4c]
add eax, 0xfffffffd
add eax, edx
mov dword [esi + 0x218], eax
test eax, eax
jg 0x1029a62c
mov dword [esi + 0x218], 0x7fffffff
jmp 0x1029a62c
movzx eax, byte [esi + ebx + 0x284]
mov dword [esp + 0x34], eax
test eax, eax
je 0x1029a60b
cmp eax, 0x18
ja 0x1029a5c3
mov ecx, dword [esi + 0xc]
cmp ecx, eax
jae 0x1029a598
mov edx, dword [esi + 0x10]
cmp edx, dword [esi + 0x18]
je 0x1029a5bf
movzx eax, byte [edx]
shl eax, cl
add ecx, 8
or dword [ebp], eax
lea eax, [edx + 1]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 0xc], ecx
cmp ecx, eax
jb 0x1029a574
mov eax, dword [eax*4 + 0x10306aa0]
sub ecx, dword [esp + 0x34]
mov edx, dword [ebp]
and eax, edx
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x34]
shr edx, cl
mov dword [esp + 0x2c], eax
mov eax, 1
mov dword [ebp], edx
jmp 0x1029a5d2
xor eax, eax
jmp 0x1029a5d2
lea ecx, [esp + 0x2c]
push ecx
push eax
push ebp
call fcn.1029afe0
add esp, 0xc
test eax, eax
jne 0x1029a613
inc dword [esi + 0xc4]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [ebp], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ecx
test edx, edx
jne 0x1029aa11
mov dword [esi + 0x18], ecx
mov dword [esi + 0x14], ecx
lea ecx, [edx + 2]
jmp 0x1029a6c0
mov dword [esp + 0x2c], 0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + 0xf0]
shl eax, cl
add eax, dword [esi + ebx*4 + 0x4a4]
mov dword [esi + 0x218], eax
mov ecx, dword [esi + 0x3c]
mov eax, dword [esi + 0x38]
cmp ecx, eax
je 0x1029a640
cmp edi, eax
mov ecx, eax
cmovl ecx, edi
mov dword [esi + 0x3c], ecx
mov ebx, dword [esi + 0x218]
mov edx, dword [esi + 0x214]
mov dword [esp + 0x14], edx
mov dword [esp + 0x34], ebx
cmp ebx, ecx
jle 0x1029a910
cmp ebx, 0x7ffffffc
jg 0x1029aa78
sub ebx, ecx
mov dword [esp + 0x30], ebx
lea eax, [ebx - 1]
cmp eax, dword [esp + 0x28]
jge 0x1029a6d8
sub ecx, dword [esp + 0x34]
add ecx, dword [esp + 0x28]
push edx
push ecx
push esi
call fcn.10297d20
add esp, 0xc
test eax, eax
je 0x1029aa3c
push edi
push esi
call fcn.10296840
add esp, 8
add edi, eax
mov dword [esp + 0x18], edi
cmp edi, dword [esi + 0x40]
jge 0x1029aa31
cmp dword [esi + 0x60], 0
jg 0x10299e50
mov dword [esi], 0xe
mov ecx, 1
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
pop edi
mov dword [esi + 0x34], eax
mov eax, ecx
mov dword [esi + 4], ebx
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
mov edi, dword [esp + 0x14]
lea eax, [edi - 4]
cmp eax, 0x1b
ja 0x1029aa69
mov ecx, dword [esi + 0x25c]
cmp dword [ecx + 0x7c], 0
je 0x1029a73f
mov eax, dword [esp + 0x18]
mov edi, dword [esi + 0x64]
add eax, 0xfffffffe
and eax, dword [esi + 0x44]
mov ebx, dword [esi + 0x70]
movzx eax, byte [eax + edi]
movzx ecx, byte [eax + ebx + 0x100]
mov eax, dword [esp + 0x18]
dec eax
and eax, dword [esi + 0x44]
movzx eax, byte [eax + edi]
mov edi, dword [esp + 0x14]
movzx eax, byte [eax + ebx]
mov ebx, dword [esp + 0x30]
or ecx, eax
mov eax, dword [esi + 0x25c]
mov al, byte [ecx + eax + 0x80]
mov ecx, dword [esi + 0x25c]
jmp 0x1029a741
xor al, al
sub ebx, dword [esp + 0x28]
mov byte [esp + 0x12], al
dec ebx
movzx eax, al
mov edx, dword [ecx + eax*4 + 0xc4]
mov eax, dword [ecx + eax*4 + 0x1c4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], edx
movzx ecx, byte [edx + edi]
mov eax, dword [edx + edi*4 + 0x20]
mov dword [esp + 0x30], eax
mov eax, ebx
sar eax, cl
mov edx, dword [ecx*4 + 0x10306aa0]
and edx, ebx
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0xb8]
add dword [esi + 0x48], eax
mov eax, dword [esp + 0x20]
imul edx, edi
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x30]
add ecx, edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x30], ecx
cmp edx, dword [eax + 0xc]
jge 0x1029a7b5
mov eax, dword [esp + 0x34]
cmp byte [eax + edi], 0
jne 0x1029a84a
mov eax, dword [esi + 0x25c]
mov al, byte [eax + 0xc0]
mov byte [esp + 0x13], al
cmp al, 1
jbe 0x1029a84a
mov ecx, dword [esp + 0x48]
mov eax, 1
mov dh, byte [esp + 0x13]
shl eax, cl
mov ecx, dword [esp + 0x20]
and eax, 0xfffffffe
imul eax, dword [ecx + 0xc]
sub ebx, eax
xor dl, dl
nop dword [eax + eax]
mov eax, dword [esi + 0x25c]
movzx ecx, dl
mov eax, dword [eax + ecx*4 + 0xc4]
mov dword [esp + 0x48], eax
cmp dl, byte [esp + 0x12]
je 0x1029a83c
mov al, byte [eax + edi]
test al, al
je 0x1029a83c
mov ebp, dword [esi + 0x25c]
mov ebp, dword [ebp + ecx*4 + 0x1c4]
movzx ecx, al
mov eax, 1
shl eax, cl
and eax, 0xfffffffe
mov dword [esp + 0x4c], ebp
imul eax, dword [ebp + 0xc]
lea ebp, [esi + 8]
cmp ebx, eax
jl 0x1029a8a8
sub ebx, eax
inc dl
cmp dl, dh
jb 0x1029a7f0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x34]
cmp byte [ebx + edi], 0
je 0x1029aa69
mov eax, dword [ebx + 0xa4]
test eax, eax
je 0x1029aa5a
mov ebx, dword [esp + 0x20]
cmp edx, dword [ebx + 0xc]
jge 0x1029aa4b
mov edx, dword [esi + 0x64]
add ecx, eax
mov eax, dword [esp + 0x20]
mov ebx, edi
movsx eax, word [eax + 0x18]
cmp dword [esp + 0x24], eax
jne 0x1029a8d5
push edi
mov edi, dword [esp + 0x1c]
push ecx
lea eax, [edx + edi]
push eax
call fcn.10266230
add edi, ebx
add esp, 0xc
sub dword [esi + 0x60], ebx
mov dword [esp + 0x18], edi
jmp 0x1029a6a2
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x20], edx
mov edx, ebx
sar edx, cl
mov ecx, dword [ecx*4 + 0x10306aa0]
and ecx, ebx
mov dword [esp + 0x34], eax
imul ecx, edi
mov dword [esp + 0x24], edx
add ecx, dword [eax + edi*4 + 0x20]
jmp 0x1029a84a
push dword [esp + 0x24]
push dword [esp + 0x24]
push edi
mov edi, dword [esp + 0x24]
push ecx
lea eax, [edx + edi]
push eax
call fcn.1029f930
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x1029a902
cmp dword [esi + 0x218], 0x78
jle 0x1029aa4b
add edi, ebx
sub dword [esi + 0x60], ebx
mov dword [esp + 0x18], edi
jmp 0x1029a6a2
mov eax, dword [esi + 0x64]
mov edx, edi
sub edx, ebx
and edx, dword [esi + 0x44]
lea ecx, [eax + edi]
add eax, edx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x30], eax
lea eax, [ecx + edi]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x48]
and eax, 3
mov dword [esi + eax*4 + 0x4c], ebx
lea ebx, [edx + ecx]
mov eax, dword [esp + 0x30]
inc dword [esi + 0x48]
sub dword [esi + 0x60], ecx
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0x24]
movups xmmword [eax], xmm0
mov eax, dword [esp + 0x34]
cmp ebx, edi
jle 0x1029a963
cmp eax, edx
jg 0x10299de8
mov edx, dword [esi + 0x40]
cmp eax, edx
jge 0x10299de8
cmp ebx, edx
jge 0x10299de8
mov edi, eax
mov dword [esp + 0x18], edi
cmp ecx, 0x10
jle 0x1029a6ab
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
add edx, 0x10
add ebx, 0x10
cmp ecx, 0x20
jle 0x1029a9ab
lea eax, [ecx - 0x10]
push eax
push edx
push ebx
call fcn.10266230
add esp, 0xc
jmp 0x1029a6ab
movups xmm0, xmmword [edx]
movups xmmword [ebx], xmm0
jmp 0x1029a6ab
lea eax, [ecx + edx]
mov dword [ebp + 0x10], eax
lea eax, [edx + 1]
cmp eax, 0x1c
jbe 0x1029a9c9
add ecx, 0xffffffe5
add ecx, edx
mov eax, dword [esp + 0x18]
mov dword [esi + 0x14], ecx
mov ecx, 2
pop edi
mov dword [esi + 0x34], eax
mov eax, ecx
mov dword [esi + 4], ebx
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
mov ebx, dword [esp + 0x14]
mov ecx, 2
mov eax, dword [esp + 0x18]
pop edi
mov dword [esi + 0x34], eax
mov eax, ecx
mov dword [esi + 4], ebx
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
mov dword [esi], 0xd
mov dword [esp + 0x14], ecx
jmp 0x1029a6bb
lea eax, [ecx + edx]
mov dword [esi + 0x18], eax
lea eax, [edx + 1]
cmp eax, 0x1c
jbe 0x1029aa24
add ecx, 0xffffffe5
add ecx, edx
mov dword [esi + 0x14], ecx
mov ecx, 2
jmp 0x1029a6c0
mov dword [esi], 0xf
jmp 0x1029a6bb
pop edi
pop esi
mov ecx, 0xffffffee
pop ebp
mov eax, ecx
pop ebx
add esp, 0x4c
ret
pop edi
pop esi
mov ecx, 0xfffffff5
pop ebp
mov eax, ecx
pop ebx
add esp, 0x4c
ret
pop edi
pop esi
mov ecx, 0xffffffed
pop ebp
mov eax, ecx
pop ebx
add esp, 0x4c
ret
pop edi
pop esi
mov ecx, 0xfffffff4
pop ebp
mov eax, ecx
pop ebx
add esp, 0x4c
ret
pop edi
pop esi
mov ecx, 0xfffffff0
pop ebp
mov eax, ecx
pop ebx
add esp, 0x4c
ret
mov dword [esi], 0x10
jmp 0x1029a6bb