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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, ecx
mov dword [esp + 0x14], edx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, esi
mov ecx, dword [eax + 0x5c]
mov dword [esp + 0x60], ecx
mov ecx, dword [eax + 0xc0]
mov dword [esp + 0x6c], ecx
mov ecx, dword [eax + 0x64]
mov dword [esp + 0x2c], ecx
mov ecx, dword [eax + 0xbc]
mov dword [esp + 0x70], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x74], eax
mov dword [esp + 0xc], esi
push edi
lea edx, [esi + ecx]
mov edi, dword [ebp + 8]
mov dword [esp + 0x1c], edx
add edx, 0xfffffff8
mov dword [esp + 0x4c], edx
mov edx, dword [eax + 4]
sub dword [esp + 0x10], edx
add dword [esp + 0x10], ecx
mov ecx, dword [eax + 0xb8]
mov dword [esp + 0x2c], edx
mov edx, 1
shl edx, cl
mov ecx, dword [eax + 0x10]
mov eax, dword [esp + 0x10]
sub dword [esp + 0x10], edx
sub eax, ecx
cmp eax, edx
mov dword [esp + 0x24], ebx
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x10]
cmovbe eax, ecx
cmp dword [edx + 0x18], 0
cmovne eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0xc]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
cmova ecx, eax
mov eax, dword [esp + 0x2c]
add eax, ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x40], eax
mov eax, dword [edx + 8]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x3c]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x3c]
add eax, ecx
mov dword [esp + 0x54], eax
mov eax, dword [edi]
mov dword [esp + 0x34], eax
mov eax, dword [edi + 4]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x48], eax
cmp ecx, dword [esp + 0x10]
jne 0x10020df0
push dword [ebp + 0x10]
push esi
push dword [ebp + 8]
push edi
push edx
call fcn.10020bd0
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, dword [esp + 0x4c]
jae 0x1002180d
mov ecx, 0x40
mov eax, 0x40
sub ecx, dword [esp + 0x74]
sub eax, dword [esp + 0x70]
mov dword [esp + 0x18], ecx
mov ecx, 0x20
sub ecx, dword [esp + 0x74]
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x14]
add eax, 0xfffffffc
mov dword [esp + 0x44], ecx
mov dword [esp + 0x38], eax
nop dword [eax + eax]
cmp eax, 4
ja case.0x10020e35.0
jmp dword [eax*4 + 0x10021828]
push 0xcf1bbcdc
push 0xbb000000
push dword [esi + 4]
push dword [esi]
call fcn.10071fd0
mov ecx, dword [esp + 0x18]
call fcn.100950f0
jmp 0x10020e87
push 0xcf1bbcdc
push 0xbf9b0000
jmp 0x10020e46
push 0xcf1bbcdc
push 0xbfa56300
jmp 0x10020e46
push 0xcf1bbcdc
push 0xb7a56463
jmp 0x10020e46
imul eax, dword [esi], 0x9e3779b1
shr eax, cl
mov ecx, dword [esp + 0x30]
push 0xcf1bbcdc
mov dword [esp + 0x54], eax
push 0xb7a56463
mov eax, dword [ecx + eax*4]
cmp eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
cmovb ecx, dword [esp + 0x44]
push dword [esi + 4]
mov dword [esp + 0x6c], eax
add eax, ecx
push dword [esi]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x7c], eax
call fcn.10071fd0
mov ecx, dword [esp + 0x58]
call fcn.100950f0
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx + eax*4]
lea ecx, [ecx + eax*4]
mov edi, dword [esp + 0x28]
cmp edx, edi
mov eax, dword [esp + 0x2c]
cmovb eax, dword [esp + 0x3c]
mov dword [esp + 0x74], edx
add edx, eax
mov eax, esi
mov dword [esp + 0x78], edx
sub eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
sub eax, dword [esp + 0x34]
inc eax
mov dword [esp + 0x5c], eax
cmp dword [esp + 0x5c], edi
mov eax, dword [esp + 0x2c]
cmovb eax, dword [esp + 0x3c]
add eax, dword [esp + 0x5c]
mov edi, dword [esp + 0x14]
mov dword [ecx], edi
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x50]
mov dword [ecx + eax*4], edi
sub edi, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
inc edi
cmp edi, dword [esp + 0x34]
mov edi, dword [esp + 0x20]
sbb ecx, ecx
sub eax, dword [esp + 0x5c]
dec eax
inc ecx
cmp eax, 3
sbb eax, eax
inc eax
test eax, ecx
je 0x10021069
mov eax, dword [esp + 0x70]
lea ecx, [esi + 1]
mov dword [esp + 0x50], ecx
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x10021069
mov edx, dword [esp + 0x1c]
mov eax, edx
mov ecx, dword [esp + 0x28]
cmp dword [esp + 0x5c], ecx
lea ecx, [esi + 5]
push dword [esp + 0x40]
cmovb eax, dword [esp + 0x58]
push eax
push edx
mov edx, dword [esp + 0x7c]
lea edx, [edx + 4]
call fcn.1001b670
mov esi, dword [esp + 0x5c]
lea ecx, [edi + 0xc]
mov edx, dword [esp + 0x30]
add esp, 0xc
mov dword [esp + 0x5c], ecx
lea ebx, [eax + 4]
mov eax, esi
sub eax, dword [esp + 0x24]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x1c]
add eax, 0xffffffe0
cmp esi, eax
mov eax, dword [esp + 0x6c]
ja 0x1002101d
mov edi, dword [ecx]
movups xmm0, xmmword [edx]
movups xmmword [edi], xmm0
mov edi, dword [esp + 0x20]
cmp eax, 0x10
jbe 0x10021034
mov ecx, dword [ecx]
add eax, 0xfffffff0
movups xmm0, xmmword [edx + 0x10]
add ecx, 0x10
lea edi, [ecx + eax]
mov dword [esp + 0x78], edi
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x5c], edi
mov edi, dword [esp + 0x20]
movups xmmword [ecx], xmm0
cmp eax, 0x10
jle 0x10021030
mov eax, dword [esp + 0x78]
add ecx, 0x10
add edx, 0x20
nop dword [eax]
movups xmm0, xmmword [edx]
lea edx, [edx + 0x20]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [edx - 0x10]
movups xmmword [ecx + 0x10], xmm0
add ecx, 0x20
cmp ecx, eax
jb 0x10021000
lea ecx, [edi + 0xc]
jmp 0x10021034
mov eax, dword [esp + 0x1c]
mov ecx, dword [ecx]
add eax, 0xffffffe0
push eax
push esi
call fcn.100161b0
add esp, 8
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x6c]
add dword [ecx], edx
cmp edx, 0xffff
jbe 0x10021054
mov eax, dword [edi + 4]
sub eax, dword [edi]
sar eax, 3
mov dword [edi + 0x24], 1
mov dword [edi + 0x28], eax
mov eax, dword [edi + 4]
mov word [eax + 4], dx
mov eax, dword [edi + 4]
mov dword [eax], 1
jmp 0x10021478
mov ecx, dword [esp + 0x74]
cmp ecx, dword [esp + 0x10]
jbe 0x100211e1
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x100211e1
mov eax, dword [edx + 4]
cmp eax, dword [esi + 4]
jne 0x100211e1
cmp ecx, dword [esp + 0x28]
lea ecx, [esi + 8]
mov eax, dword [esp + 0x40]
cmovb eax, dword [esp + 0x68]
push dword [esp + 0x40]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x20]
cmovb eax, dword [esp + 0x58]
add edx, 8
push eax
push dword [esp + 0x24]
call fcn.1001b670
mov edx, dword [esp + 0x30]
add esp, 0xc
lea ebx, [eax + 8]
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x74]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x70]
cmp eax, dword [esp + 0x78]
sbb ecx, ecx
neg ecx
cmp edx, esi
sbb eax, eax
neg eax
test eax, ecx
je 0x10021110
mov edi, dword [esp + 0x78]
nop dword [eax + eax]
mov al, byte [esi - 1]
dec edi
cmp al, byte [edi]
jne 0x1002110c
dec esi
inc ebx
cmp dword [esp + 0x70], edi
sbb ecx, ecx
neg ecx
cmp edx, esi
sbb eax, eax
neg eax
test eax, ecx
jne 0x100210f0
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x34]
lea ecx, [edi + 0xc]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x34], eax
mov eax, esi
sub eax, edx
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x1c]
add eax, 0xffffffe0
cmp esi, eax
mov eax, dword [esp + 0x74]
ja 0x100211a1
mov edi, dword [ecx]
movups xmm0, xmmword [edx]
movups xmmword [edi], xmm0
mov edi, dword [esp + 0x20]
cmp eax, 0x10
jbe 0x100211b8
mov ecx, dword [ecx]
add eax, 0xfffffff0
movups xmm0, xmmword [edx + 0x10]
add ecx, 0x10
lea edi, [ecx + eax]
mov dword [esp + 0x78], edi
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x5c], edi
mov edi, dword [esp + 0x20]
movups xmmword [ecx], xmm0
cmp eax, 0x10
jle 0x100211b4
mov eax, dword [esp + 0x78]
add ecx, 0x10
add edx, 0x20
movups xmm0, xmmword [edx]
lea edx, [edx + 0x20]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [edx - 0x10]
movups xmmword [ecx + 0x10], xmm0
add ecx, 0x20
cmp ecx, eax
jb 0x10021184
lea ecx, [edi + 0xc]
jmp 0x100211b8
mov eax, dword [esp + 0x1c]
mov ecx, dword [ecx]
add eax, 0xffffffe0
push eax
push esi
call fcn.100161b0
add esp, 8
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x74]
add dword [ecx], edx
cmp edx, 0xffff
jbe 0x100211d8
mov eax, dword [edi + 4]
sub eax, dword [edi]
sar eax, 3
mov dword [edi + 0x24], 1
mov dword [edi + 0x28], eax
mov ecx, dword [esp + 0x6c]
jmp 0x10021469
mov ecx, dword [esp + 0x10]
cmp dword [esp + 0x60], ecx
jbe 0x100217eb
mov eax, dword [esp + 0x6c]
mov eax, dword [eax]
cmp eax, dword [esi]
jne 0x100217eb
push 0xcf1bbcdc
lea ebx, [esi + 1]
push 0xb7a56463
push dword [ebx + 4]
mov dword [esp + 0x7c], ebx
push dword [ebx]
call fcn.10071fd0
mov ecx, dword [esp + 0x58]
call fcn.100950f0
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x2c]
lea ecx, [ecx + eax*4]
mov eax, dword [ecx]
cmp eax, dword [esp + 0x28]
mov dword [esp + 0x78], eax
cmovb edx, dword [esp + 0x3c]
add edx, eax
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x5c], edx
mov dword [ecx], eax
mov ecx, dword [esp + 0x78]
cmp ecx, dword [esp + 0x10]
jbe 0x10021308
mov eax, dword [edx]
cmp eax, dword [ebx]
jne 0x10021308
mov eax, dword [edx + 4]
cmp eax, dword [ebx + 4]
jne 0x10021308
cmp ecx, dword [esp + 0x28]
lea ecx, [esi + 9]
mov eax, dword [esp + 0x40]
cmovb eax, dword [esp + 0x68]
push dword [esp + 0x40]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x20]
cmovb eax, dword [esp + 0x58]
add edx, 8
push eax
push dword [esp + 0x24]
call fcn.1001b670
mov esi, dword [esp + 0x7c]
add esp, 0xc
mov edx, dword [esp + 0x24]
lea ebx, [eax + 8]
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x78]
inc eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x74]
cmp eax, dword [esp + 0x5c]
sbb ecx, ecx
neg ecx
cmp edx, esi
sbb eax, eax
neg eax
test eax, ecx
je 0x1002139d
nop
mov ecx, dword [esp + 0x5c]
lea eax, [esi - 1]
dec ecx
mov dword [esp + 0x78], eax
mov al, byte [eax]
mov dword [esp + 0x5c], ecx
cmp al, byte [ecx]
jne 0x1002139d
mov eax, dword [esp + 0x74]
inc ebx
mov esi, dword [esp + 0x78]
cmp eax, ecx
sbb ecx, ecx
neg ecx
cmp edx, esi
sbb eax, eax
neg eax
test eax, ecx
jne 0x100212d0
jmp 0x1002139d
mov ebx, dword [esp + 0x40]
mov eax, ebx
mov ecx, dword [esp + 0x60]
cmp ecx, dword [esp + 0x28]
lea ecx, [esi + 4]
mov edx, dword [esp + 0x6c]
cmovb eax, dword [esp + 0x68]
push ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x7c], eax
lea edx, [edx + 4]
mov eax, ebx
cmovb eax, dword [esp + 0x58]
push eax
push ebx
call fcn.1001b670
mov edx, dword [esp + 0x30]
add esp, 0xc
lea ebx, [eax + 4]
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x60]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x6c]
cmp dword [esp + 0x78], eax
sbb ecx, ecx
neg ecx
cmp edx, esi
sbb eax, eax
neg eax
test eax, ecx
je 0x1002139d
mov edi, dword [esp + 0x7c]
add edi, dword [esp + 0x60]
lea eax, [esi - 1]
mov dword [esp + 0x7c], eax
lea ecx, [edi - 1]
mov al, byte [eax]
mov edi, ecx
cmp al, byte [ecx]
jne 0x10021399
mov esi, dword [esp + 0x7c]
inc ebx
cmp dword [esp + 0x78], edi
sbb ecx, ecx
neg ecx
cmp edx, esi
sbb eax, eax
neg eax
test eax, ecx
jne 0x10021370
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x34]
lea ecx, [edi + 0xc]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x34], eax
mov eax, esi
sub eax, edx
mov dword [esp + 0x60], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x1c]
add eax, 0xffffffe0
cmp esi, eax
mov eax, dword [esp + 0x74]
ja 0x1002142e
mov edi, dword [ecx]
movups xmm0, xmmword [edx]
movups xmmword [edi], xmm0
mov edi, dword [esp + 0x20]
cmp eax, 0x10
jbe 0x10021445
mov ecx, dword [ecx]
add eax, 0xfffffff0
movups xmm0, xmmword [edx + 0x10]
add ecx, 0x10
lea edi, [ecx + eax]
mov dword [esp + 0x7c], edi
mov edi, dword [esp + 0x60]
mov dword [esp + 0x60], edi
mov edi, dword [esp + 0x20]
movups xmmword [ecx], xmm0
cmp eax, 0x10
jle 0x10021441
mov eax, dword [esp + 0x7c]
add ecx, 0x10
add edx, 0x20
movups xmm0, xmmword [edx]
lea edx, [edx + 0x20]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [edx - 0x10]
movups xmmword [ecx + 0x10], xmm0
add ecx, 0x20
cmp ecx, eax
jb 0x10021411
lea ecx, [edi + 0xc]
jmp 0x10021445
mov eax, dword [esp + 0x1c]
mov ecx, dword [ecx]
add eax, 0xffffffe0
push eax
push esi
call fcn.100161b0
add esp, 8
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x74]
add dword [ecx], edx
cmp edx, 0xffff
jbe 0x10021465
mov eax, dword [edi + 4]
sub eax, dword [edi]
sar eax, 3
mov dword [edi + 0x24], 1
mov dword [edi + 0x28], eax
mov ecx, dword [esp + 0x50]
mov eax, dword [edi + 4]
add ecx, 3
mov word [eax + 4], dx
mov eax, dword [edi + 4]
mov dword [eax], ecx
lea ecx, [ebx - 3]
cmp ecx, 0xffff
jbe 0x10021495
mov eax, dword [edi + 4]
sub eax, dword [edi]
sar eax, 3
mov dword [edi + 0x24], 2
mov dword [edi + 0x28], eax
mov eax, dword [edi + 4]
add esi, ebx
mov ebx, esi
mov dword [esp + 0x24], ebx
mov word [eax + 6], cx
add dword [edi + 4], 8
mov eax, dword [esp + 0x4c]
cmp esi, eax
ja 0x100217fb
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
push 0xcf1bbcdc
push 0xb7a56463
push dword [eax + ecx + 6]
push dword [eax + ecx + 2]
call fcn.10071fd0
mov ecx, dword [esp + 0x58]
call fcn.100950f0
mov ebx, dword [esp + 0x64]
mov ecx, dword [esp + 0x14]
push 0xcf1bbcdc
add ecx, 2
push 0xb7a56463
mov dword [ebx + eax*4], ecx
push dword [esi + 2]
push dword [esi - 2]
call fcn.10071fd0
mov ecx, dword [esp + 0x58]
call fcn.100950f0
mov edx, dword [esp + 0x2c]
mov ecx, eax
mov eax, esi
sub eax, edx
mov dword [esp + 0x7c], eax
add eax, 0xfffffffe
mov dword [ebx + ecx*4], eax
mov ebx, esi
mov eax, dword [esp + 0x38]
cmp eax, 4
ja case.0x1002152b.0
jmp dword [eax*4 + 0x1002183c]
push 0xcf1bbcdc
push 0xbb000000
mov ecx, dword [esp + 0x1c]
push dword [ecx + edx + 6]
push dword [ecx + edx + 2]
call fcn.10071fd0
mov ecx, dword [esp + 0x18]
call fcn.100950f0
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
add ecx, 2
mov dword [edi + eax*4], ecx
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x44]
jmp switch.0x100215ff
mov ecx, dword [esp + 0x14]
push 0xcf1bbcdc
push 0xbf9b0000
push dword [ecx + edx + 6]
push dword [ecx + edx + 2]
call fcn.10071fd0
mov ecx, dword [esp + 0x18]
call fcn.100950f0
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
add ecx, 2
mov dword [ebx + eax*4], ecx
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x44]
jmp switch.0x100215ff
push 0xcf1bbcdc
push 0xbfa56300
jmp 0x1002153c
push 0xcf1bbcdc
push 0xb7a56463
jmp 0x1002153c
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
add edx, 2
mov ebx, dword [esp + 0x30]
imul eax, dword [edx + ecx], 0x9e3779b1
mov ecx, dword [esp + 0x44]
shr eax, cl
mov dword [ebx + eax*4], edx
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x24]
cmp eax, 4
ja case.0x100215ff.0
jmp dword [eax*4 + 0x10021850]
push 0xcf1bbcdc
push 0xbb000000
push dword [esi + 3]
push dword [esi - 1]
call fcn.10071fd0
mov ecx, dword [esp + 0x18]
call fcn.100950f0
mov edx, eax
jmp 0x10021655
push 0xcf1bbcdc
push 0xbf9b0000
jmp 0x10021610
push 0xcf1bbcdc
push 0xbfa56300
jmp 0x10021610
push 0xcf1bbcdc
push 0xb7a56463
jmp 0x10021610
imul edx, dword [esi - 1], 0x9e3779b1
shr edx, cl
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x7c]
dec eax
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0x2c]
mov eax, esi
sub eax, ecx
mov edx, eax
mov dword [esp + 0x7c], eax
sub edx, dword [esp + 0x48]
cmp edx, dword [esp + 0x28]
jae 0x1002167d
mov ecx, dword [esp + 0x3c]
sub eax, dword [esp + 0x10]
add ecx, edx
cmp eax, dword [esp + 0x48]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x78], ecx
sbb ecx, ecx
sub eax, edx
inc ecx
dec eax
cmp eax, 3
sbb eax, eax
inc eax
test eax, ecx
je 0x100217f5
mov ecx, dword [esp + 0x78]
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x100217f5
cmp edx, dword [esp + 0x28]
lea edx, [ecx + 4]
mov ebx, dword [esp + 0x1c]
lea ecx, [esi + 4]
push dword [esp + 0x40]
mov eax, ebx
cmovb eax, dword [esp + 0x58]
push eax
push ebx
call fcn.1001b670
mov ecx, dword [esp + 0x54]
add esp, 0xc
lea ebx, [eax + 4]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x1c]
add eax, 0xffffffe0
mov dword [esp + 0x34], ecx
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x78], ebx
cmp esi, eax
ja 0x10021701
movups xmm0, xmmword [esi]
movups xmmword [ecx], xmm0
jmp 0x1002170d
push eax
push esi
mov edx, esi
call fcn.100161b0
add esp, 8
mov eax, dword [edi + 4]
xor ecx, ecx
mov word [eax + 4], cx
lea ecx, [ebx - 3]
mov eax, dword [edi + 4]
mov dword [eax], 1
cmp ecx, 0xffff
jbe 0x1002173c
mov eax, dword [edi + 4]
sub eax, dword [edi]
sar eax, 3
mov dword [edi + 0x24], 2
mov dword [edi + 0x28], eax
mov eax, dword [edi + 4]
mov word [eax + 6], cx
add dword [edi + 4], 8
mov eax, dword [esp + 0x38]
cmp eax, 4
ja case.0x10021750.0
jmp dword [eax*4 + 0x10021864]
push 0xcf1bbcdc
push 0xbb000000
push dword [esi + 4]
push dword [esi]
call fcn.10071fd0
mov ecx, dword [esp + 0x18]
call fcn.100950f0
jmp 0x100217a6
push 0xcf1bbcdc
push 0xbf9b0000
jmp 0x10021761
push 0xcf1bbcdc
push 0xbfa56300
jmp 0x10021761
push 0xcf1bbcdc
push 0xb7a56463
jmp 0x10021761
imul eax, dword [esi], 0x9e3779b1
mov ecx, dword [esp + 0x44]
shr eax, cl
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x7c]
push 0xcf1bbcdc
push 0xb7a56463
mov dword [ecx + eax*4], ebx
push dword [esi + 4]
push dword [esi]
call fcn.10071fd0
mov ecx, dword [esp + 0x58]
call fcn.100950f0
mov ecx, dword [esp + 0x64]
add esi, dword [esp + 0x78]
mov dword [ecx + eax*4], ebx
mov ebx, esi
mov dword [esp + 0x24], ebx
cmp esi, dword [esp + 0x4c]
jbe 0x10021661
jmp 0x10021809
mov eax, esi
sub eax, ebx
sar eax, 8
inc eax
add esi, eax
mov eax, dword [esp + 0x4c]
cmp esi, eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x44]
jb 0x10020e30
mov eax, dword [esp + 0x48]
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x34]
pop edi
pop esi
mov dword [edx + 4], eax
mov eax, dword [esp + 0x14]
sub eax, ebx
mov dword [edx], ecx
pop ebx
mov esp, ebp
pop ebp
ret