Function at 0x10227330
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 0x1022735f
mov edx, dword [eax + 4]
mov dword [esp + 0x28], edx
jmp 0x10227367
mov dword [esp + 0x28], 0
mov eax, dword [esi]
cmp eax, 7
je 0x102273f8
cmp eax, 8
je 0x102273eb
cmp eax, 9
je 0x102273de
cmp eax, 0xa
je 0x10227390
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 0x10227c5b
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 0x10228037
sub dword [esp + 0x14], 1
jns 0x102273b0
jmp 0x10227c5b
mov eax, dword [esp + 0x60]
mov dword [esp + 0x1c], eax
jmp 0x102277a5
mov eax, dword [esp + 0x60]
mov dword [esp + 0x1c], eax
jmp 0x102276c0
mov eax, dword [esp + 0x60]
mov dword [esp + 0x1c], eax
mov dword [esi], 7
cmp dword [esi + 0xc0], 0
jne 0x10227424
push esi
call fcn.102269b0
add esp, 4
test eax, eax
jne 0x10227400
lea ecx, [eax + 2]
jmp 0x10227c70
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 0x1022747a
cmp ebx, eax
je 0x102275cf
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 0x10227456
mov ecx, dword [ebp]
and ecx, dword [0x102a36bc]
mov ebx, dword [esp + 0x34]
movzx eax, cl
lea ebx, [ebx + eax*4]
mov al, byte [ebx]
cmp al, 8
jbe 0x102274be
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 + 0x102a3660]
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 + 0x102a2048]
mov ecx, ebx
mov edx, dword [edx*8 + 0x102a204c]
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 0x102275f9
mov ecx, dword [ebp + 4]
cmp ecx, eax
jae 0x10227566
nop word [eax + eax]
mov edx, dword [ebp + 8]
cmp edx, dword [ebp + 0x10]
je 0x102275f3
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 0x10227540
mov edx, dword [esp + 0x24]
sub ecx, dword [esp + 0x24]
mov eax, dword [ebp]
mov edx, dword [edx*4 + 0x102a3680]
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 0x102275fb
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 0x10227f66
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.102272a0
add esp, 0xc
test eax, eax
je 0x10227f95
mov edx, dword [esp + 0x38]
jmp 0x102274d1
xor eax, eax
mov edx, eax
jmp 0x1022758b
xor edx, edx
mov eax, dword [esp + 0x34]
movzx eax, ah
mov dword [esp + 0x24], eax
test eax, eax
je 0x1022767e
mov ecx, dword [ebp + 4]
cmp ecx, eax
jae 0x1022763b
mov dword [esp + 0x20], edx
mov edx, dword [ebp + 8]
cmp edx, dword [ebp + 0x10]
je 0x10227676
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 0x10227611
mov edi, dword [esp + 0x24]
sub ecx, edi
mov eax, dword [ebp]
mov esi, dword [edi*4 + 0x102a3680]
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 0x1022758f
mov ecx, dword [esp + 0x1c]
jmp 0x10227680
mov edx, dword [esp + 0x20]
xor eax, eax
jmp 0x10227668
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 0x102277a5
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 0x102277fd
cmp dword [esi + 0xbc], 0
je 0x10227930
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 0x100]
mov dword [esp + 0x34], eax
cmp edx, 0xf
jae 0x1022771b
mov ebx, dword [esi + 0x18]
mov edi, dword [esi + 0x10]
cmp edi, ebx
je 0x102277d9
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 0x102276f5
mov ebx, dword [ebp]
and ebx, dword [0x102a36bc]
mov ecx, dword [esp + 0x34]
movzx eax, bl
lea edi, [ecx + eax*4]
mov al, byte [edi]
cmp al, 8
jbe 0x10227759
shr dword [ebp], 8
add edx, 0xfffffff8
movzx eax, al
mov dword [esi + 0xc], edx
shr ebx, 8
mov ecx, dword [eax*4 + 0x102a3660]
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 0x10227fb2
test ecx, ecx
jne 0x102276d3
cmp dword [esi + 0x60], 0
jle 0x10227c65
mov ecx, dword [esi + 0x218]
mov dword [esi], 9
test ecx, ecx
js 0x10227949
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 0x10227bd6
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x3c]
push eax
push ebp
push ecx
call fcn.102272a0
add esp, 0xc
test eax, eax
je 0x10227fd7
mov ecx, dword [esp + 0x3c]
jmp 0x1022776c
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 0x10227930
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 0x10227886
mov ebx, dword [esi + 0x18]
nop word [eax + eax]
mov edi, dword [esi + 0x10]
cmp edi, ebx
je 0x1022790f
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 0x10227860
mov ebx, dword [ebp]
and ebx, dword [0x102a36bc]
mov ecx, dword [esp + 0x34]
movzx eax, bl
lea edi, [ecx + eax*4]
mov al, byte [edi]
cmp al, 8
jbe 0x102278c4
shr dword [ebp], 8
add edx, 0xfffffff8
movzx eax, al
mov dword [esi + 0xc], edx
shr ebx, 8
mov ecx, dword [eax*4 + 0x102a3660]
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 0x10227fb2
test ecx, ecx
je 0x1022779b
mov al, byte [esp + 0x12]
jmp 0x10227812
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x40]
push eax
push ebp
push ecx
call fcn.102272a0
add esp, 0xc
test eax, eax
je 0x10227fd7
mov ebx, dword [esp + 0x40]
jmp 0x102278d7
push esi
call fcn.10226f80
add esp, 4
test eax, eax
jne 0x102276c0
lea ecx, [eax + 2]
jmp 0x10227c70
cmp dword [esi + 0xc4], 0
lea ebx, [esi + 0xc4]
jne 0x10227969
push esi
call fcn.10226c90
add esp, 4
test eax, eax
je 0x10227fd7
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 0x102279d2
mov ebx, ecx
cmp ebx, eax
je 0x10227a80
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 0x102279a8
lea ebx, [esi + 0xc4]
mov ecx, dword [ebp]
and ecx, dword [0x102a36bc]
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 0x10227a1a
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 + 0x102a3660]
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 0x10227b04
mov eax, dword [esi + 0x48]
mov dword [esi + 0x218], ebx
mov dword [esp + 0x34], eax
cmp ebx, 3
jg 0x10227aab
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 0x10227bd6
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.102272a0
add esp, 0xc
test eax, eax
je 0x10227fd7
mov ebx, dword [esp + 0x44]
jmp 0x10227a2d
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 0x10227bdc
mov dword [esi + 0x218], 0x7fffffff
jmp 0x10227bdc
movzx eax, byte [esi + ebx + 0x284]
mov dword [esp + 0x34], eax
test eax, eax
je 0x10227bbb
cmp eax, 0x18
ja 0x10227b73
mov ecx, dword [esi + 0xc]
cmp ecx, eax
jae 0x10227b48
mov edx, dword [esi + 0x10]
cmp edx, dword [esi + 0x18]
je 0x10227b6f
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 0x10227b24
mov eax, dword [eax*4 + 0x102a3680]
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 0x10227b82
xor eax, eax
jmp 0x10227b82
lea ecx, [esp + 0x2c]
push ecx
push eax
push ebp
call fcn.10228590
add esp, 0xc
test eax, eax
jne 0x10227bc3
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 0x10227fc1
mov dword [esi + 0x18], ecx
mov dword [esi + 0x14], ecx
lea ecx, [edx + 2]
jmp 0x10227c70
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 0x10227bf0
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 0x10227ec0
cmp ebx, 0x7ffffffc
jg 0x10228028
sub ebx, ecx
mov dword [esp + 0x30], ebx
lea eax, [ebx - 1]
cmp eax, dword [esp + 0x28]
jge 0x10227c88
sub ecx, dword [esp + 0x34]
add ecx, dword [esp + 0x28]
push edx
push ecx
push esi
call fcn.102252d0
add esp, 0xc
test eax, eax
je 0x10227fec
push edi
push esi
call fcn.10223df0
add esp, 8
add edi, eax
mov dword [esp + 0x18], edi
cmp edi, dword [esi + 0x40]
jge 0x10227fe1
cmp dword [esi + 0x60], 0
jg 0x10227400
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 0x10228019
mov ecx, dword [esi + 0x25c]
cmp dword [ecx + 0x7c], 0
je 0x10227cef
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 0x10227cf1
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 + 0x102a3680]
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 0x10227d65
mov eax, dword [esp + 0x34]
cmp byte [eax + edi], 0
jne 0x10227dfa
mov eax, dword [esi + 0x25c]
mov al, byte [eax + 0xc0]
mov byte [esp + 0x13], al
cmp al, 1
jbe 0x10227dfa
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 0x10227dec
mov al, byte [eax + edi]
test al, al
je 0x10227dec
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 0x10227e58
sub ebx, eax
inc dl
cmp dl, dh
jb 0x10227da0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x34]
cmp byte [ebx + edi], 0
je 0x10228019
mov eax, dword [ebx + 0xa4]
test eax, eax
je 0x1022800a
mov ebx, dword [esp + 0x20]
cmp edx, dword [ebx + 0xc]
jge 0x10227ffb
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 0x10227e85
push edi
mov edi, dword [esp + 0x1c]
push ecx
lea eax, [edx + edi]
push eax
call fcn.101f6470
add edi, ebx
add esp, 0xc
sub dword [esi + 0x60], ebx
mov dword [esp + 0x18], edi
jmp 0x10227c52
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 + 0x102a3680]
and ecx, ebx
mov dword [esp + 0x34], eax
imul ecx, edi
mov dword [esp + 0x24], edx
add ecx, dword [eax + edi*4 + 0x20]
jmp 0x10227dfa
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.1022cd80
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x10227eb2
cmp dword [esi + 0x218], 0x78
jle 0x10227ffb
add edi, ebx
sub dword [esi + 0x60], ebx
mov dword [esp + 0x18], edi
jmp 0x10227c52
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 0x10227f13
cmp eax, edx
jg 0x10227398
mov edx, dword [esi + 0x40]
cmp eax, edx
jge 0x10227398
cmp ebx, edx
jge 0x10227398
mov edi, eax
mov dword [esp + 0x18], edi
cmp ecx, 0x10
jle 0x10227c5b
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
add edx, 0x10
add ebx, 0x10
cmp ecx, 0x20
jle 0x10227f5b
lea eax, [ecx - 0x10]
push eax
push edx
push ebx
call fcn.101f6470
add esp, 0xc
jmp 0x10227c5b
movups xmm0, xmmword [edx]
movups xmmword [ebx], xmm0
jmp 0x10227c5b
lea eax, [ecx + edx]
mov dword [ebp + 0x10], eax
lea eax, [edx + 1]
cmp eax, 0x1c
jbe 0x10227f79
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 0x10227c6b
lea eax, [ecx + edx]
mov dword [esi + 0x18], eax
lea eax, [edx + 1]
cmp eax, 0x1c
jbe 0x10227fd4
add ecx, 0xffffffe5
add ecx, edx
mov dword [esi + 0x14], ecx
mov ecx, 2
jmp 0x10227c70
mov dword [esi], 0xf
jmp 0x10227c6b
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 0x10227c6b