Function at 0x1021dae0
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 0x1021db0f
mov edx, dword [eax + 4]
mov dword [esp + 0x28], edx
jmp 0x1021db17
mov dword [esp + 0x28], 0
mov eax, dword [esi]
cmp eax, 7
je 0x1021dba8
cmp eax, 8
je 0x1021db9b
cmp eax, 9
je 0x1021db8e
cmp eax, 0xa
je 0x1021db40
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 0x1021e40b
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 0x1021e7e7
sub dword [esp + 0x14], 1
jns 0x1021db60
jmp 0x1021e40b
mov eax, dword [esp + 0x60]
mov dword [esp + 0x1c], eax
jmp 0x1021df55
mov eax, dword [esp + 0x60]
mov dword [esp + 0x1c], eax
jmp 0x1021de70
mov eax, dword [esp + 0x60]
mov dword [esp + 0x1c], eax
mov dword [esi], 7
cmp dword [esi + 0xc0], 0
jne 0x1021dbd4
push esi
call fcn.1021d160
add esp, 4
test eax, eax
jne 0x1021dbb0
lea ecx, [eax + 2]
jmp 0x1021e420
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 0x1021dc2a
cmp ebx, eax
je 0x1021dd7f
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 0x1021dc06
mov ecx, dword [ebp]
and ecx, dword [0x1029969c]
mov ebx, dword [esp + 0x34]
movzx eax, cl
lea ebx, [ebx + eax*4]
mov al, byte [ebx]
cmp al, 8
jbe 0x1021dc6e
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 + 0x10299640]
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 + 0x10298028]
mov ecx, ebx
mov edx, dword [edx*8 + 0x1029802c]
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 0x1021dda9
mov ecx, dword [ebp + 4]
cmp ecx, eax
jae 0x1021dd16
nop word [eax + eax]
mov edx, dword [ebp + 8]
cmp edx, dword [ebp + 0x10]
je 0x1021dda3
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 0x1021dcf0
mov edx, dword [esp + 0x24]
sub ecx, dword [esp + 0x24]
mov eax, dword [ebp]
mov edx, dword [edx*4 + 0x10299660]
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 0x1021ddab
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 0x1021e716
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.1021da50
add esp, 0xc
test eax, eax
je 0x1021e745
mov edx, dword [esp + 0x38]
jmp 0x1021dc81
xor eax, eax
mov edx, eax
jmp 0x1021dd3b
xor edx, edx
mov eax, dword [esp + 0x34]
movzx eax, ah
mov dword [esp + 0x24], eax
test eax, eax
je 0x1021de2e
mov ecx, dword [ebp + 4]
cmp ecx, eax
jae 0x1021ddeb
mov dword [esp + 0x20], edx
mov edx, dword [ebp + 8]
cmp edx, dword [ebp + 0x10]
je 0x1021de26
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 0x1021ddc1
mov edi, dword [esp + 0x24]
sub ecx, edi
mov eax, dword [ebp]
mov esi, dword [edi*4 + 0x10299660]
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 0x1021dd3f
mov ecx, dword [esp + 0x1c]
jmp 0x1021de30
mov edx, dword [esp + 0x20]
xor eax, eax
jmp 0x1021de18
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 0x1021df55
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 0x1021dfad
cmp dword [esi + 0xbc], 0
je 0x1021e0e0
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 0x100]
mov dword [esp + 0x34], eax
cmp edx, 0xf
jae 0x1021decb
mov ebx, dword [esi + 0x18]
mov edi, dword [esi + 0x10]
cmp edi, ebx
je 0x1021df89
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 0x1021dea5
mov ebx, dword [ebp]
and ebx, dword [0x1029969c]
mov ecx, dword [esp + 0x34]
movzx eax, bl
lea edi, [ecx + eax*4]
mov al, byte [edi]
cmp al, 8
jbe 0x1021df09
shr dword [ebp], 8
add edx, 0xfffffff8
movzx eax, al
mov dword [esi + 0xc], edx
shr ebx, 8
mov ecx, dword [eax*4 + 0x10299640]
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 0x1021e762
test ecx, ecx
jne 0x1021de83
cmp dword [esi + 0x60], 0
jle 0x1021e415
mov ecx, dword [esi + 0x218]
mov dword [esi], 9
test ecx, ecx
js 0x1021e0f9
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 0x1021e386
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x3c]
push eax
push ebp
push ecx
call fcn.1021da50
add esp, 0xc
test eax, eax
je 0x1021e787
mov ecx, dword [esp + 0x3c]
jmp 0x1021df1c
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 0x1021e0e0
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 0x1021e036
mov ebx, dword [esi + 0x18]
nop word [eax + eax]
mov edi, dword [esi + 0x10]
cmp edi, ebx
je 0x1021e0bf
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 0x1021e010
mov ebx, dword [ebp]
and ebx, dword [0x1029969c]
mov ecx, dword [esp + 0x34]
movzx eax, bl
lea edi, [ecx + eax*4]
mov al, byte [edi]
cmp al, 8
jbe 0x1021e074
shr dword [ebp], 8
add edx, 0xfffffff8
movzx eax, al
mov dword [esi + 0xc], edx
shr ebx, 8
mov ecx, dword [eax*4 + 0x10299640]
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 0x1021e762
test ecx, ecx
je 0x1021df4b
mov al, byte [esp + 0x12]
jmp 0x1021dfc2
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x40]
push eax
push ebp
push ecx
call fcn.1021da50
add esp, 0xc
test eax, eax
je 0x1021e787
mov ebx, dword [esp + 0x40]
jmp 0x1021e087
push esi
call fcn.1021d730
add esp, 4
test eax, eax
jne 0x1021de70
lea ecx, [eax + 2]
jmp 0x1021e420
cmp dword [esi + 0xc4], 0
lea ebx, [esi + 0xc4]
jne 0x1021e119
push esi
call fcn.1021d440
add esp, 4
test eax, eax
je 0x1021e787
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 0x1021e182
mov ebx, ecx
cmp ebx, eax
je 0x1021e230
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 0x1021e158
lea ebx, [esi + 0xc4]
mov ecx, dword [ebp]
and ecx, dword [0x1029969c]
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 0x1021e1ca
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 + 0x10299640]
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 0x1021e2b4
mov eax, dword [esi + 0x48]
mov dword [esi + 0x218], ebx
mov dword [esp + 0x34], eax
cmp ebx, 3
jg 0x1021e25b
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 0x1021e386
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.1021da50
add esp, 0xc
test eax, eax
je 0x1021e787
mov ebx, dword [esp + 0x44]
jmp 0x1021e1dd
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 0x1021e38c
mov dword [esi + 0x218], 0x7fffffff
jmp 0x1021e38c
movzx eax, byte [esi + ebx + 0x284]
mov dword [esp + 0x34], eax
test eax, eax
je 0x1021e36b
cmp eax, 0x18
ja 0x1021e323
mov ecx, dword [esi + 0xc]
cmp ecx, eax
jae 0x1021e2f8
mov edx, dword [esi + 0x10]
cmp edx, dword [esi + 0x18]
je 0x1021e31f
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 0x1021e2d4
mov eax, dword [eax*4 + 0x10299660]
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 0x1021e332
xor eax, eax
jmp 0x1021e332
lea ecx, [esp + 0x2c]
push ecx
push eax
push ebp
call fcn.1021ed40
add esp, 0xc
test eax, eax
jne 0x1021e373
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 0x1021e771
mov dword [esi + 0x18], ecx
mov dword [esi + 0x14], ecx
lea ecx, [edx + 2]
jmp 0x1021e420
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 0x1021e3a0
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 0x1021e670
cmp ebx, 0x7ffffffc
jg 0x1021e7d8
sub ebx, ecx
mov dword [esp + 0x30], ebx
lea eax, [ebx - 1]
cmp eax, dword [esp + 0x28]
jge 0x1021e438
sub ecx, dword [esp + 0x34]
add ecx, dword [esp + 0x28]
push edx
push ecx
push esi
call fcn.1021ba80
add esp, 0xc
test eax, eax
je 0x1021e79c
push edi
push esi
call fcn.1021a5a0
add esp, 8
add edi, eax
mov dword [esp + 0x18], edi
cmp edi, dword [esi + 0x40]
jge 0x1021e791
cmp dword [esi + 0x60], 0
jg 0x1021dbb0
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 0x1021e7c9
mov ecx, dword [esi + 0x25c]
cmp dword [ecx + 0x7c], 0
je 0x1021e49f
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 0x1021e4a1
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 + 0x10299660]
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 0x1021e515
mov eax, dword [esp + 0x34]
cmp byte [eax + edi], 0
jne 0x1021e5aa
mov eax, dword [esi + 0x25c]
mov al, byte [eax + 0xc0]
mov byte [esp + 0x13], al
cmp al, 1
jbe 0x1021e5aa
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 0x1021e59c
mov al, byte [eax + edi]
test al, al
je 0x1021e59c
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 0x1021e608
sub ebx, eax
inc dl
cmp dl, dh
jb 0x1021e550
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x34]
cmp byte [ebx + edi], 0
je 0x1021e7c9
mov eax, dword [ebx + 0xa4]
test eax, eax
je 0x1021e7ba
mov ebx, dword [esp + 0x20]
cmp edx, dword [ebx + 0xc]
jge 0x1021e7ab
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 0x1021e635
push edi
mov edi, dword [esp + 0x1c]
push ecx
lea eax, [edx + edi]
push eax
call fcn.101ecd90
add edi, ebx
add esp, 0xc
sub dword [esi + 0x60], ebx
mov dword [esp + 0x18], edi
jmp 0x1021e402
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 + 0x10299660]
and ecx, ebx
mov dword [esp + 0x34], eax
imul ecx, edi
mov dword [esp + 0x24], edx
add ecx, dword [eax + edi*4 + 0x20]
jmp 0x1021e5aa
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.10223530
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x1021e662
cmp dword [esi + 0x218], 0x78
jle 0x1021e7ab
add edi, ebx
sub dword [esi + 0x60], ebx
mov dword [esp + 0x18], edi
jmp 0x1021e402
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 0x1021e6c3
cmp eax, edx
jg 0x1021db48
mov edx, dword [esi + 0x40]
cmp eax, edx
jge 0x1021db48
cmp ebx, edx
jge 0x1021db48
mov edi, eax
mov dword [esp + 0x18], edi
cmp ecx, 0x10
jle 0x1021e40b
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
add edx, 0x10
add ebx, 0x10
cmp ecx, 0x20
jle 0x1021e70b
lea eax, [ecx - 0x10]
push eax
push edx
push ebx
call fcn.101ecd90
add esp, 0xc
jmp 0x1021e40b
movups xmm0, xmmword [edx]
movups xmmword [ebx], xmm0
jmp 0x1021e40b
lea eax, [ecx + edx]
mov dword [ebp + 0x10], eax
lea eax, [edx + 1]
cmp eax, 0x1c
jbe 0x1021e729
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 0x1021e41b
lea eax, [ecx + edx]
mov dword [esi + 0x18], eax
lea eax, [edx + 1]
cmp eax, 0x1c
jbe 0x1021e784
add ecx, 0xffffffe5
add ecx, edx
mov dword [esi + 0x14], ecx
mov ecx, 2
jmp 0x1021e420
mov dword [esi], 0xf
jmp 0x1021e41b
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 0x1021e41b