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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xf4
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x18]
lea ebx, [edx + 0x70]
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0x14]
push edi
push dword [ebp + 0x1c]
mov edi, dword [edx + 0xc]
add edi, dword [edx + 4]
mov dword [esp + 0x68], eax
mov dword [esp + 0x3c], eax
add eax, esi
mov dword [esp + 0x38], eax
add eax, 0xfffffff8
push edx
mov dword [esp + 0x58], edx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x68], eax
call fcn.00493c30
mov dword [esp + 0xa0], eax
mov ecx, 0xfff
mov eax, dword [edx + 0xcc]
xorps xmm0, xmm0
cmp eax, ecx
movaps xmmword [esp + 0xd8], xmm0
movups xmmword [esp + 0xbc], xmm0
cmovb ecx, eax
mov dword [esp + 0x104], 0
xor eax, eax
mov dword [esp + 0xa8], ecx
cmp dword [edx + 0xc8], 3
mov ecx, 0x520a78
push esi
setne al
mov dword [esp + 0x100], 0
add eax, 3
mov dword [esp + 0x104], 0
mov dword [esp + 0x60], eax
mov eax, dword [edx + 0x1c]
mov dword [esp + 0xa0], eax
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x68], eax
mov eax, dword [edx + 0xd4]
test eax, eax
push 0
cmovne ecx, eax
mov eax, dword [ecx + 0x10]
movups xmm0, xmmword [ecx]
mov dword [esp + 0x100], eax
lea eax, [esp + 0xf0]
push eax
movups xmmword [esp + 0xf4], xmm0
call fcn.00493410
push 0
push esi
mov esi, dword [esp + 0x80]
push esi
push ebx
call fcn.004934f0
xor ebx, ebx
add esp, 0x24
cmp esi, edi
sete bl
add ebx, esi
mov dword [esp + 0x24], ebx
cmp ebx, dword [esp + 0x60]
jae 0x491bc9
mov edi, dword [esp + 0x3c]
nop dword [eax]
push dword [esp + 0x54]
mov esi, ebx
mov eax, 0
sub esi, dword [esp + 0x3c]
sete al
push eax
push dword [esp + 0x60]
lea eax, [esp + 0xa0]
push dword [esp + 0x40]
push ebx
push eax
push dword [esp + 0x68]
push edi
call dword [esp + 0xb8]
mov dword [esp + 0x38], eax
mov ecx, ebx
mov eax, dword [esp + 0x54]
sub ecx, dword [esp + 0x84]
sub eax, ebx
push eax
push ecx
lea eax, [esp + 0x40]
mov dword [esp + 0xc4], ecx
push eax
lea eax, [esp + 0x10c]
push edi
push eax
call fcn.00493300
mov ebx, dword [esp + 0x4c]
add esp, 0x34
test ebx, ebx
jne 0x4910b8
mov ebx, dword [esp + 0x24]
inc ebx
mov dword [esp + 0x24], ebx
jmp 0x491bbf
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
mov dword [edi + 8], 0
mov dword [edi + 0xc], esi
cmp dword [edx + 0x38], 1
jne 0x4910db
lea eax, [esi + 1]
bsr ecx, eax
shl ecx, 8
jmp 0x491128
cmp esi, 0x20000
jne 0x4910fb
push 0
push edx
push 0x1ffff
call fcn.00493250
add esp, 0xc
lea ecx, [eax + 0x100]
jmp 0x491128
cmp esi, 0x3f
jbe 0x491108
bsr ecx, esi
add ecx, 0x13
jmp 0x49110f
movzx ecx, byte [esi + 0x520a90]
mov eax, dword [edx + 4]
mov eax, dword [eax + ecx*4]
movzx ecx, byte [ecx + 0x520920]
inc eax
bsr eax, eax
sub ecx, eax
shl ecx, 8
add ecx, dword [edx + 0x2c]
mov eax, dword [esp + 0x58]
mov dword [edi], ecx
movq xmm0, qword [eax]
movq qword [edi + 0x10], xmm0
mov eax, dword [eax + 8]
mov dword [edi + 0x18], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + ebx*8 - 4]
cmp ecx, dword [esp + 0xa0]
jbe 0x491182
mov edx, dword [eax + ebx*8 - 8]
xor esi, esi
movaps xmm2, xmmword [esp + 0xd0]
xor ebx, ebx
mov dword [esp + 0xc0], esi
mov edi, ecx
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xb8], edx
movups xmm1, xmmword [esp + 0xb4]
jmp 0x49184a
lea ecx, [edi + 0x28]
mov edx, 1
mov edi, dword [esp + 0x54]
nop
lea eax, [edx + esi]
mov dword [ecx - 0xc], 0x40000000
inc edx
mov dword [ecx - 4], 0
mov dword [ecx], eax
lea ecx, [ecx + 0x1c]
cmp edx, edi
jb 0x491190
mov edi, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x40], eax
test ebx, ebx
je 0x4912e2
nop dword [eax]
mov ebx, dword [esp + 0x3c]
mov ecx, dword [ebx + eax*8]
mov ebx, dword [ebx + eax*8 + 4]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x30], ebx
cmp edx, ebx
ja 0x4912d3
lea eax, [edx*8]
sub eax, edx
lea edi, [edi + eax*4]
add edi, 4
nop word [eax + eax]
mov eax, dword [esp + 0x2c]
bsr esi, ecx
cmp dword [eax + 0x38], 1
jne 0x49120d
lea eax, [edx - 2]
bsr eax, eax
add eax, 0x10
add eax, esi
shl eax, 8
jmp 0x491279
mov eax, dword [eax + 0xc]
mov ebx, esi
mov eax, dword [eax + esi*4]
inc eax
bsr eax, eax
sub ebx, eax
mov eax, dword [esp + 0x50]
shl ebx, 8
add ebx, dword [eax + 0xa4]
cmp esi, 0x14
jb 0x491238
shl esi, 9
add ebx, 0xffffda00
add ebx, esi
lea eax, [edx - 3]
cmp eax, 0x7f
jbe 0x491248
bsr ecx, eax
add ecx, 0x24
jmp 0x49124f
movzx ecx, byte [edx + 0x520acd]
mov esi, dword [esp + 0x2c]
mov eax, dword [esi + 8]
mov eax, dword [eax + ecx*4]
movzx ecx, byte [ecx + 0x520990]
inc eax
bsr eax, eax
sub ecx, eax
shl ecx, 8
add ecx, dword [esi + 0x30]
lea eax, [ecx + 0x33]
mov ecx, dword [esp + 0x44]
add eax, ebx
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x1c]
mov esi, dword [esi]
mov dword [edi], ecx
add esi, eax
mov ecx, dword [esp + 0x2c]
mov dword [edi + 4], edx
mov dword [edi + 8], 0
cmp dword [ecx + 0x38], 1
jne 0x4912a4
mov eax, 1
bsr ecx, eax
shl ecx, 8
jmp 0x4912b5
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 0x2c]
mov eax, dword [eax]
inc eax
bsr eax, eax
shl eax, 8
sub ecx, eax
lea eax, [ecx + esi]
inc edx
mov ecx, dword [esp + 0x44]
mov dword [edi - 4], eax
add edi, 0x1c
cmp edx, ebx
jbe 0x4911f0
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x40], eax
cmp eax, dword [esp + 0x18]
jb 0x4911c0
lea eax, [edx*8]
mov dword [esp + 0x20], 1
lea edi, [edx - 1]
sub eax, edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x18], edi
mov dword [edx + eax*4], 0x40000000
cmp edi, 1
jb 0x4917fd
mov edi, edx
mov edx, dword [esp + 0x2c]
mov ebx, dword [edi + 0xc]
mov dword [esp + 0x30], ebx
inc ebx
cmp dword [edx + 0x40], 2
jne 0x49132c
mov dword [esp + 0x28], 0x800
jmp 0x491379
cmp dword [edx + 0x38], 1
jne 0x49133c
mov dword [esp + 0x28], 0x600
jmp 0x491379
mov eax, dword [esp + 0x9c]
add eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x20]
mov esi, dword [edx + 0x28]
movzx ecx, byte [eax + ecx - 1]
mov eax, dword [esp + 0x50]
lea edx, [esi - 0x100]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + ecx*4]
inc eax
bsr eax, eax
shl eax, 8
cmp eax, edx
cmovbe edx, eax
sub esi, edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x28], esi
cmp dword [edx + 0x38], 1
jne 0x49138a
lea eax, [ebx + 1]
bsr esi, eax
shl esi, 8
jmp 0x4913db
cmp ebx, 0x20000
jne 0x4913ae
push 0
push edx
push 0x1ffff
call fcn.00493250
mov edx, dword [esp + 0x38]
add esp, 0xc
lea esi, [eax + 0x100]
jmp 0x4913db
cmp ebx, 0x3f
jbe 0x4913bb
bsr ecx, ebx
add ecx, 0x13
jmp 0x4913c2
movzx ecx, byte [ebx + 0x520a90]
mov eax, dword [edx + 4]
movzx esi, byte [ecx + 0x520920]
mov eax, dword [eax + ecx*4]
inc eax
bsr eax, eax
sub esi, eax
shl esi, 8
add esi, dword [edx + 0x2c]
cmp dword [edx + 0x38], 1
jne 0x4913e9
bsr ecx, ebx
shl ecx, 8
jmp 0x491439
mov eax, dword [esp + 0x30]
cmp eax, 0x20000
jne 0x49140c
push 0
push edx
push 0x1ffff
call fcn.00493250
add esp, 0xc
lea ecx, [eax + 0x100]
jmp 0x491439
cmp eax, 0x3f
jbe 0x491419
bsr ecx, eax
add ecx, 0x13
jmp 0x491420
movzx ecx, byte [eax + 0x520a90]
mov eax, dword [edx + 4]
mov eax, dword [eax + ecx*4]
movzx ecx, byte [ecx + 0x520920]
inc eax
bsr eax, eax
sub ecx, eax
shl ecx, 8
add ecx, dword [edx + 0x2c]
mov eax, dword [edi + 0x1c]
sub esi, ecx
add esi, dword [esp + 0x28]
lea ecx, [edi + 0x1c]
add esi, dword [edi]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x28], eax
cmp esi, eax
jg 0x491472
movups xmm0, xmmword [edi]
mov eax, dword [edi + 0x18]
mov dword [esp + 0x28], esi
movups xmmword [ecx], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ecx + 0x10], xmm0
mov dword [ecx + 0x18], eax
mov dword [edi + 0x28], ebx
mov dword [ecx], esi
mov ebx, dword [edi + 0x28]
test ebx, ebx
jne 0x491502
mov ecx, dword [esp + 0x20]
sub ecx, dword [edi + 0x24]
mov edx, dword [edi + 0x20]
lea eax, [ecx*8]
sub eax, ecx
mov ecx, dword [esp + 0x1c]
movq xmm0, qword [ecx + eax*4 + 0x10]
lea esi, [ecx + eax*4]
mov ecx, dword [esi + 0x18]
movq qword [esp + 0x70], xmm0
mov dword [esp + 0x78], ecx
cmp edx, 3
jbe 0x4914c4
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x74], eax
lea eax, [edx - 3]
mov dword [esp + 0x70], eax
jmp 0x4914f4
xor eax, eax
cmp dword [esi + 0xc], eax
sete al
dec eax
add eax, edx
je 0x4914f4
mov esi, dword [esp + 0x70]
cmp eax, 3
jne 0x4914df
lea edx, [esi - 1]
jmp 0x4914e8
mov edx, dword [esp + eax*4 + 0x70]
cmp eax, 2
jb 0x4914ec
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], edx
movq xmm0, qword [esp + 0x70]
movq qword [edi + 0x2c], xmm0
mov dword [edi + 0x34], ecx
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
add esi, ecx
cmp esi, dword [esp + 0x60]
ja 0x4917e6
cmp ecx, dword [esp + 0x18]
je 0x4917f9
mov eax, dword [esp + 0x28]
sub eax, 0xffffff80
cmp dword [edi + 0x38], eax
jle 0x4917e6
xor edx, edx
test ebx, ebx
mov ebx, dword [esp + 0x2c]
sete dl
cmp dword [ebx + 0x38], 1
jne 0x49154e
mov eax, 1
bsr ecx, eax
shl ecx, 8
jmp 0x49155f
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 0x2c]
mov eax, dword [eax]
inc eax
bsr eax, eax
shl eax, 8
sub ecx, eax
push dword [esp + 0x54]
mov eax, dword [esp + 0x2c]
add eax, ecx
push edx
mov dword [esp + 0xb8], eax
lea eax, [edi + 0x2c]
mov edi, dword [esp + 0x44]
push eax
push dword [esp + 0x40]
lea eax, [esp + 0xa4]
push esi
push eax
push dword [esp + 0x68]
push edi
call dword [esp + 0xb8]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x54]
sub eax, esi
mov esi, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0xc0]
add eax, esi
push eax
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x10c]
push edi
push eax
call fcn.00493300
mov edx, dword [esp + 0x78]
add esp, 0x34
test edx, edx
je 0x4917e2
mov ecx, dword [edi + edx*8 - 4]
cmp ecx, dword [esp + 0xa0]
ja 0x491861
lea eax, [ecx + esi]
cmp eax, 0x1000
jae 0x491861
add eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x34]
jae 0x491861
xor ecx, ecx
mov dword [esp + 0x30], ecx
test edx, edx
je 0x4917c9
lea eax, [edi - 4]
nop dword [eax + eax]
mov edx, dword [eax + 4]
lea esi, [eax + 8]
mov edi, dword [esi]
mov dword [esp + 0x90], edx
mov dword [esp + 0x68], esi
mov dword [esp + 0x28], edi
test ecx, ecx
je 0x491630
mov eax, dword [eax]
inc eax
jmp 0x491634
mov eax, dword [esp + 0x54]
mov dword [esp + 0xa4], eax
cmp edi, eax
jb 0x4917b8
mov esi, dword [esp + 0x20]
lea eax, [edi + 0x520acd]
mov ecx, dword [esp + 0x1c]
add esi, edi
mov dword [esp + 0x40], eax
lea eax, [esi*8]
sub eax, esi
lea ecx, [ecx + eax*4]
mov eax, 0xfffffffe
sub eax, dword [esp + 0x20]
mov dword [esp + 0xa8], eax
mov eax, 0xfffffffd
sub eax, dword [esp + 0x20]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0xac], eax
bsr edx, edx
cmp dword [ebx + 0x38], 1
jne 0x4916a6
mov eax, dword [esp + 0xa8]
add eax, esi
bsr eax, eax
add eax, 0x10
add eax, edx
shl eax, 8
jmp 0x49170d
mov eax, dword [ebx + 0xc]
mov edi, edx
mov eax, dword [eax + edx*4]
inc eax
bsr eax, eax
sub edi, eax
shl edi, 8
add edi, dword [ebx + 0x34]
cmp edx, 0x14
jb 0x4916ca
shl edx, 9
add edi, 0xffffda00
add edi, edx
mov eax, dword [esp + 0xac]
add eax, esi
cmp eax, 0x7f
jbe 0x4916e0
bsr ecx, eax
add ecx, 0x24
jmp 0x4916e7
mov eax, dword [esp + 0x40]
movzx ecx, byte [eax]
mov eax, dword [ebx + 8]
mov eax, dword [eax + ecx*4]
movzx ecx, byte [ecx + 0x520990]
inc eax
bsr eax, eax
sub ecx, eax
shl ecx, 8
add ecx, dword [ebx + 0x30]
lea eax, [ecx + 0x33]
mov ecx, dword [esp + 0x6c]
add eax, edi
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0xb0]
add edx, eax
mov eax, dword [esp + 0x18]
cmp esi, eax
ja 0x491728
cmp edx, dword [ecx]
jge 0x4917b0
jmp 0x491756
mov ecx, dword [esp + 0x1c]
shl eax, 3
sub eax, dword [esp + 0x18]
lea eax, [ecx + eax*4]
mov ecx, esi
sub ecx, dword [esp + 0x18]
mov dword [esp + 0x18], esi
mov dword [eax + 0x1c], 0x40000000
lea eax, [eax + 0x1c]
mov dword [eax + 0xc], 1
sub ecx, 1
jne 0x491740
mov ecx, dword [esp + 0x1c]
lea eax, [esi*8]
dec dword [esp + 0x40]
sub eax, esi
dec esi
mov dword [ecx + eax*4 + 8], edi
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x90]
mov dword [edi + eax*4 + 4], ecx
mov ecx, edi
mov edi, dword [esp + 0x28]
dec edi
mov dword [esp + 0x28], edi
mov dword [ecx + eax*4], edx
mov edx, dword [esp + 0x90]
mov dword [ecx + eax*4 + 0xc], 0
mov ecx, dword [esp + 0x6c]
sub ecx, 0x1c
mov dword [esp + 0x6c], ecx
cmp edi, dword [esp + 0xa4]
jae 0x491687
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x68]
inc ecx
mov eax, esi
mov dword [esp + 0x30], ecx
cmp ecx, dword [esp + 0x44]
jb 0x491610
mov ecx, dword [esp + 0x18]
inc ecx
lea eax, [ecx*8]
sub eax, ecx
mov ecx, dword [esp + 0x1c]
mov dword [ecx + eax*4], 0x40000000
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x4c]
inc ecx
mov dword [esp + 0x20], ecx
cmp ecx, dword [esp + 0x18]
jbe 0x491310
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea eax, [edi*8]
sub eax, edi
mov ebx, edi
movups xmm1, xmmword [ecx + eax*4]
movq xmm2, qword [ecx + eax*4 + 0x10]
mov eax, dword [ecx + eax*4 + 0x18]
movaps xmm0, xmm1
psrldq xmm0, 8
movd ecx, xmm0
movups xmmword [esp + 0xb4], xmm1
mov esi, dword [esp + 0xc0]
mov edx, dword [esp + 0xb8]
sub ebx, ecx
movaps xmmword [esp + 0xd0], xmm2
mov dword [esp + 0x5c], eax
mov dword [esp + 0x20], ebx
test ecx, ecx
jne 0x491895
mov ebx, dword [esp + 0x24]
add ebx, edi
mov dword [esp + 0x24], ebx
jmp 0x491bbb
mov ebx, dword [esp + 0x20]
xor esi, esi
mov edx, dword [edi + edx*8 - 8]
movaps xmm2, xmmword [esp + 0xd0]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xb8], edx
lea edi, [ecx + ebx]
mov dword [esp + 0xc0], esi
movups xmm1, xmmword [esp + 0xb4]
jmp 0x49184e
test esi, esi
jne 0x491945
mov ecx, dword [esp + 0x1c]
lea eax, [ebx*8]
sub eax, ebx
movq xmm0, qword [ecx + eax*4 + 0x10]
lea edi, [ecx + eax*4]
mov ecx, dword [edi + 0x18]
movq qword [esp + 0x80], xmm0
mov dword [esp + 0x88], ecx
cmp edx, 3
jbe 0x4918ec
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x84], eax
lea eax, [edx - 3]
mov dword [esp + 0x80], eax
jmp 0x49192b
xor eax, eax
cmp dword [edi + 0xc], eax
sete al
dec eax
add eax, edx
je 0x49192b
mov edi, dword [esp + 0x80]
cmp eax, 3
jne 0x49190a
lea edx, [edi - 1]
jmp 0x491916
mov edx, dword [esp + eax*4 + 0x80]
cmp eax, 2
jb 0x49191d
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0x58]
movq xmm0, qword [esp + 0x80]
movq qword [edx], xmm0
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x5c]
jmp 0x49195a
mov eax, dword [esp + 0x58]
sub ebx, esi
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x20], ebx
movq qword [eax], xmm2
mov dword [eax + 8], ecx
lea edi, [ebx + 2]
lea eax, [edi*8]
mov dword [esp + 0x18], edi
sub eax, edi
test esi, esi
mov esi, dword [esp + 0x1c]
je 0x491981
movups xmmword [esi + eax*4 - 0x1c], xmm1
movq qword [esi + eax*4 - 0xc], xmm2
mov dword [esi + eax*4 - 4], ecx
lea edx, [esi + eax*4]
movups xmmword [edx], xmm1
lea eax, [ebx*8]
sub eax, ebx
movq qword [edx + 0x10], xmm2
mov dword [edx + 0x18], ecx
mov ecx, edi
movups xmm1, xmmword [esi + eax*4]
movq xmm2, qword [esi + eax*4 + 0x10]
mov eax, dword [esi + eax*4 + 0x18]
movaps xmm0, xmm1
psrldq xmm0, 0xc
mov dword [esp + 0x4c], eax
movd eax, xmm0
movaps xmm0, xmm1
psrldq xmm0, 8
movd ebx, xmm0
mov dword [edx + 0xc], eax
test ebx, ebx
je 0x491a3a
mov edi, dword [esp + 0x4c]
add eax, ebx
lea edx, [edx - 0x1c]
mov ebx, dword [esp + 0x20]
dec ecx
sub ebx, eax
mov esi, ecx
movups xmmword [edx], xmm1
mov dword [esp + 0x20], ebx
movq qword [edx + 0x10], xmm2
lea eax, [ebx*8]
mov dword [edx + 0x18], edi
sub eax, ebx
mov ebx, dword [esp + 0x1c]
movups xmm1, xmmword [ebx + eax*4]
mov edi, dword [ebx + eax*4 + 0x18]
movq xmm2, qword [ebx + eax*4 + 0x10]
movaps xmm0, xmm1
psrldq xmm0, 0xc
movd eax, xmm0
movaps xmm0, xmm1
psrldq xmm0, 8
movd ebx, xmm0
mov dword [edx + 0xc], eax
test ebx, ebx
jne 0x4919d3
mov edi, dword [esp + 0x18]
cmp esi, edi
ja 0x491b79
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x38]
lea eax, [ecx*8]
sub eax, ecx
sub edi, ecx
add eax, 2
inc edi
mov dword [esp + 0x18], edi
lea ebx, [esi + eax*4]
mov eax, edi
mov edi, dword [ebx]
mov esi, dword [ebx + 4]
mov dword [esp + 0x30], edi
lea ecx, [edi + esi]
mov dword [esp + 0x68], ecx
lea ecx, [esi + edx]
mov dword [esp + 0x24], ecx
test edi, edi
je 0x491b69
mov eax, dword [ebx - 4]
push edi
push eax
push edx
push esi
push dword [esp + 0x3c]
mov dword [esp + 0x60], eax
call fcn.00493d80
mov ecx, dword [esp + 0x48]
add esp, 0x14
mov edx, dword [esp + 0x48]
add ecx, 0xffffffe0
mov eax, dword [edx + 0xc]
cmp dword [esp + 0x24], ecx
ja 0x491bd8
mov ecx, dword [esp + 0x38]
movups xmm0, xmmword [ecx]
movups xmmword [eax], xmm0
cmp esi, 0x10
jbe 0x491b00
movups xmm0, xmmword [ecx + 0x10]
lea edx, [ecx + 0x10]
mov ecx, dword [esp + 0x48]
lea eax, [esi - 0x10]
mov ecx, dword [ecx + 0xc]
add ecx, 0x10
lea edi, [ecx + eax]
movups xmmword [ecx], xmm0
cmp eax, 0x10
jle 0x491af8
add ecx, 0x10
add edx, 0x10
nop dword [eax + 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, edi
jb 0x491ae0
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x48]
add dword [edx + 0xc], esi
cmp esi, 0xffff
jbe 0x491b1d
mov eax, dword [edx + 4]
sub eax, dword [edx]
sar eax, 3
mov dword [edx + 0x24], 1
mov dword [edx + 0x28], eax
mov eax, dword [edx + 4]
add edi, 0xfffffffd
mov ecx, dword [esp + 0x4c]
mov word [eax + 4], si
mov eax, dword [edx + 4]
mov dword [eax], ecx
cmp edi, 0xffff
jbe 0x491b4a
mov eax, dword [edx + 4]
sub eax, dword [edx]
sar eax, 3
mov dword [edx + 0x24], 2
mov dword [edx + 0x28], eax
mov eax, dword [edx + 4]
mov word [eax + 6], di
add dword [edx + 4], 8
mov edx, dword [esp + 0x38]
add edx, dword [esp + 0x68]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x38], edx
mov dword [esp + 0x24], edx
add ebx, 0x1c
sub eax, 1
mov dword [esp + 0x18], eax
jne 0x491a56
mov ecx, dword [esp + 0x2c]
cmp dword [ecx + 0x40], 2
je 0x491b90
mov eax, dword [ecx + 0x18]
inc eax
bsr eax, eax
shl eax, 8
mov dword [ecx + 0x28], eax
mov eax, dword [ecx + 0x1c]
inc eax
mov ebx, dword [esp + 0x24]
bsr eax, eax
shl eax, 8
mov dword [ecx + 0x2c], eax
mov eax, dword [ecx + 0x20]
inc eax
bsr eax, eax
shl eax, 8
mov dword [ecx + 0x30], eax
mov eax, dword [ecx + 0x24]
inc eax
bsr eax, eax
shl eax, 8
mov dword [ecx + 0x34], eax
mov edi, dword [esp + 0x3c]
cmp ebx, dword [esp + 0x60]
jb 0x491040
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x38]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ecx
push dword [esp + 0x28]
push dword [esp + 0x40]
push eax
call fcn.0045ae30
add esp, 0x10
jmp 0x491afc