Function at 0x492ed4
Capabilities:
Encrypt data using speck
Hash data with crc32
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1a0
mov esi, dword [esp + 0x1c0]
mov edx, dword [esp + 0x1bc]
mov ecx, dword [esp + 0x1b8]
mov edi, dword [esp + 0x1b4]
mov eax, dword [0x8e4a3c]
xor eax, esp
mov dword [esp + 0x19c], eax
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov dword [edi], 0
mov dword [edx], 0
mov dword [ecx], 0
push dword [esp + 0x1c8]
push dword [esp + 0x1c8]
push esi
push edx
push ecx
call fcn.00491e50
add esp, 0x14
mov edi, eax
mov dword [esi + 0x17c], eax
test eax, eax
jne 0x4936d3
mov edx, dword [esi + 0xa4]
mov eax, dword [esi + 0xa8]
cmp edx, 6
ja case.default.0x492eb5
mov ebx, 1
jmp dword [edx*4 + 0x5eb634]
mov ebx, 3
jmp case.0x492eb5.0
cmp edx, 0xff
xor ebx, ebx
jmp case.0x492eb5.0
mov ebx, 2
jmp case.0x492eb5.0
mov ebx, 4
imul ebx, eax
mov ebp, dword [esi + 0x78]
mov edi, dword [esi + 0x7c]
cmp ebp, 6
ja case.default.0x492eec
mov esi, 1
jmp dword [ebp*4 + 0x5eb650]
mov esi, 3
jmp case.0x492eec.0
cmp ebp, 0xff
xor esi, esi
jmp case.0x492eec.0
mov esi, 2
jmp case.0x492eec.0
mov esi, 4
mov ecx, dword [esp + 0x1bc]
mov ecx, dword [ecx]
mov dword [esp], ecx
mov ecx, dword [esp + 0x1b8]
mov ecx, dword [ecx]
imul esi, edi
cmp ebx, esi
jbe 0x492f55
cmp edx, 6
mov esi, dword [esp + 0x1c0]
ja case.default.0x492f44
mov ebx, 1
mov ebp, dword [esp + 0x1b8]
jmp dword [edx*4 + 0x5eb688]
mov ebx, 3
imul ebx, eax
jmp 0x492fbc
cmp ebp, 6
mov esi, dword [esp + 0x1c0]
ja case.default.0x492f66
mov ebx, 1
jmp dword [ebp*4 + 0x5eb66c]
mov ebx, 3
jmp case.0x492f66.0
cmp edx, 0xff
mov ebp, dword [esp + 0x1b8]
xor ebx, ebx
imul ebx, eax
jmp 0x492fbc
cmp ebp, 0xff
xor ebx, ebx
jmp case.0x492f66.0
mov ebx, 2
imul ebx, eax
jmp 0x492fbc
mov ebx, 4
imul ebx, eax
jmp 0x492fbc
mov ebx, 2
jmp case.0x492f66.0
mov ebx, 4
imul ebx, edi
mov ebp, dword [esp + 0x1b8]
mov eax, ecx
mul dword [esp]
mov edi, 0x5c
jo 0x4936cd
cmp eax, 0x1fffffff
ja 0x4936cd
mov eax, ecx
shr eax, 3
mul ebx
jo 0x4936cd
and ecx, 7
imul ebx, ecx
add ebx, 7
shr ebx, 3
add ebx, eax
cmp ebx, eax
jb 0x4936cd
cmp ebx, 0xfffffffa
ja 0x4936cd
add ebx, 5
mov eax, ebx
mul dword [esp]
jo 0x4936cd
mov ebx, dword [esp + 0x1c8]
push ebx
call fcn.004ae930
add esp, 4
test eax, eax
je 0x4936c8
mov dword [esp + 4], eax
lea eax, [esi + 0x78]
mov dword [esp + 0x3c], eax
lea eax, [esi + 0x98]
mov dword [esp + 8], eax
lea eax, [esi + 0xa4]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x1c4]
lea edi, [eax + 0x21]
add eax, ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x14], 0
jmp 0x493076
mov edi, dword [esp + 0xc]
test cl, cl
jne 0x49370e
cmp dword [esi + 0x17c], 0
jne 0x493928
mov eax, edi
mov ecx, dword [esp + 0x1c4]
sub eax, ecx
add eax, 0xc
cmp eax, ebx
ja 0x4936ee
cmp edi, ecx
jb 0x4936ee
mov ebx, dword [edi]
bswap ebx
test ebx, ebx
js 0x4936fe
add eax, ebx
mov ecx, 0x40
cmp eax, dword [esp + 0x1c8]
ja 0x49391b
lea eax, [edi + ebx]
add eax, 0xc
cmp eax, dword [esp + 0x1c4]
jb 0x49391b
lea edx, [edi + 8]
movzx ebp, byte [edi + 4]
cmp ebp, 0x74
mov dword [esp], edx
je 0x49317e
cmp ebp, 0x50
je 0x4931aa
cmp ebp, 0x49
mov esi, dword [esp + 0x1c0]
jne 0x493212
movzx eax, byte [edi + 5]
cmp eax, 0x45
je 0x4931fd
cmp eax, 0x44
jne 0x493212
cmp byte [edi + 6], 0x41
jne 0x493212
cmp byte [edi + 7], 0x54
jne 0x493212
mov esi, ebx
mov ecx, 0x5f
add esi, dword [esp + 0x14]
jb 0x49437a
cmp esi, dword [esp + 0x1c8]
mov ebp, dword [esp + 0x1b8]
ja 0x49391b
mov eax, dword [esp + 0x14]
add eax, dword [esp + 4]
push ebx
push edx
push eax
call fcn.004af000
add esp, 0xc
mov al, 1
mov dword [esp + 0x20], 3
xor ecx, ecx
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x1c0]
jmp 0x493335
cmp byte [edi + 5], 0x52
mov esi, dword [esp + 0x1c0]
jne 0x493212
cmp byte [edi + 6], 0x4e
jne 0x493212
cmp byte [edi + 7], 0x53
jne 0x493212
mov ecx, dword [esp + 0x2c]
push ebx
call fcn.00492380
jmp 0x493231
cmp byte [edi + 5], 0x4c
mov esi, dword [esp + 0x1c0]
jne 0x493212
cmp byte [edi + 6], 0x54
jne 0x493212
cmp byte [edi + 7], 0x45
jne 0x493212
mov ecx, dword [esp + 0x2c]
push ebx
call fcn.004922a0
add esp, 4
mov dword [esi + 0x17c], eax
test eax, eax
mov ebx, dword [esp + 0x1c8]
mov ebp, dword [esp + 0x1b8]
jne 0x493928
mov al, 1
mov dword [esp + 0x20], 2
xor ecx, ecx
jmp 0x4933d9
cmp byte [edi + 6], 0x4e
jne 0x493212
cmp byte [edi + 7], 0x44
jne 0x493212
mov cl, 1
xor eax, eax
jmp 0x4933cb
push str.bKGD
push edi
call fcn.0048fd00
add esp, 8
test al, al
je 0x493259
mov ecx, dword [esp + 8]
mov edx, dword [esp]
push ebx
call fcn.00492470
add esp, 4
mov dword [esi + 0x17c], eax
test eax, eax
mov ebx, dword [esp + 0x1c8]
mov ebp, dword [esp + 0x1b8]
jne 0x493928
mov al, 1
xor ecx, ecx
jmp 0x4933d9
push str.tEXt
push edi
call fcn.0048fd00
add esp, 8
test al, al
je 0x4932a4
mov al, 1
cmp dword [esi + 0x28], 0
mov ebp, dword [esp + 0x1b8]
je 0x493333
mov ecx, dword [esp + 8]
mov edx, dword [esp]
push ebx
call fcn.00492520
add esp, 4
mov dword [esi + 0x17c], eax
test eax, eax
mov ebx, dword [esp + 0x1c8]
je 0x4932f1
jmp 0x493928
push str.zTXt
push edi
call fcn.0048fd00
add esp, 8
test al, al
je 0x4932fa
mov al, 1
cmp dword [esi + 0x28], 0
je 0x4933c9
mov ecx, dword [esp + 8]
mov edx, esi
push ebx
push dword [esp + 4]
call fcn.00492620
add esp, 8
mov dword [esi + 0x17c], eax
test eax, eax
mov ebx, dword [esp + 0x1c8]
mov ebp, dword [esp + 0x1b8]
jne 0x493928
xor ecx, ecx
mov al, 1
jmp 0x4933d9
push str.iTXt
push edi
call fcn.0048fd00
add esp, 8
test al, al
je 0x493341
mov al, 1
cmp dword [esi + 0x28], 0
mov ebp, dword [esp + 0x1b8]
je 0x493333
mov ecx, dword [esp + 8]
mov edx, esi
push ebx
push dword [esp + 4]
call fcn.004927f0
add esp, 8
jmp 0x49328e
xor ecx, ecx
mov ebx, dword [esp + 0x1c8]
jmp 0x4933d9
push str.tIME
push edi
call fcn.0048fd00
add esp, 8
test al, al
je 0x493365
mov ecx, dword [esp + 8]
mov edx, dword [esp]
push ebx
call fcn.00492aa0
jmp 0x493231
push str.pHYs
push edi
call fcn.0048fd00
add esp, 8
test al, al
je 0x493389
mov ecx, dword [esp + 8]
mov edx, dword [esp]
push ebx
call fcn.00492af0
jmp 0x493231
push str.gAMA
push edi
call fcn.0048fd00
add esp, 8
test al, al
je 0x493573
cmp ebx, 4
jne 0x494386
mov dword [esi + 0x120], 1
mov eax, dword [edi + 8]
bswap eax
mov dword [esi + 0x124], eax
mov dword [esi + 0x17c], 0
mov al, 1
xor ecx, ecx
mov ebx, dword [esp + 0x1c8]
mov ebp, dword [esp + 0x1b8]
cmp dword [esi + 0x18], 0
jne 0x4934de
mov dword [esp + 0x18], eax
movzx eax, byte [edi]
shl eax, 0x18
movzx edx, byte [edi + 1]
shl edx, 0x10
lea ebx, [edx + eax]
movzx esi, byte [edi + 2]
shl esi, 8
or ebx, esi
movzx ebp, byte [edi + 3]
or ebx, ebp
mov dword [esp + 0x10], ebx
add ebx, 4
mov dword [esp + 0x1c], ecx
je 0x493433
or eax, edx
or eax, esi
or eax, 3
mov esi, ebp
and esi, 1
add eax, ebp
jne 0x49343e
mov edx, 0xffffffff
xor eax, eax
mov ebp, dword [esp + 0x1b8]
jmp 0x49347f
xor edx, edx
mov ebp, dword [esp + 0x1b8]
jmp 0x493499
sub ebx, esi
mov edx, 0xffffffff
xor eax, eax
mov ebp, dword [esp + 0x1b8]
nop
movzx ecx, byte [edi + eax + 4]
xor cl, dl
movzx ecx, cl
shr edx, 8
xor edx, dword [ecx*4 + 0x5eab6c]
movzx ecx, byte [edi + eax + 5]
xor cl, dl
movzx ecx, cl
shr edx, 8
xor edx, dword [ecx*4 + 0x5eab6c]
add eax, 2
cmp ebx, eax
jne 0x493450
test esi, esi
je 0x493497
movzx eax, byte [edi + eax + 4]
xor al, dl
movzx eax, al
shr edx, 8
xor edx, dword [eax*4 + 0x5eab6c]
not edx
mov ebx, dword [esp + 0x10]
movzx eax, byte [edi + ebx + 8]
movzx ecx, byte [edi + ebx + 9]
movzx esi, byte [edi + ebx + 0xa]
movzx ebx, byte [edi + ebx + 0xb]
shl ecx, 0x10
shl eax, 0x18
or eax, ecx
shl esi, 8
or esi, eax
or esi, ebx
cmp esi, edx
mov esi, dword [esp + 0x1c0]
mov ebx, dword [esp + 0x1c8]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
jne 0x49378c
test al, al
je 0x49306e
mov eax, dword [esp + 0xc]
sub eax, edi
jbe 0x49306a
cmp eax, 0xc
jl 0x49306a
mov dword [esp + 0x1c], ecx
movzx ecx, byte [edi]
mov dh, byte [edi + 1]
mov dl, byte [edi + 2]
cmp ecx, 0x89
jne 0x493541
cmp dh, 0x50
jne 0x493541
mov dh, 0x50
cmp dl, 0x4e
jne 0x493541
mov dl, 0x4e
cmp byte [edi + 3], 0x47
jne 0x493541
cmp byte [edi + 4], 0xd
jne 0x493541
cmp byte [edi + 5], 0xa
jne 0x493541
cmp byte [edi + 6], 0x1a
jne 0x493541
cmp byte [edi + 7], 0xa
jne 0x493541
mov edi, dword [esp]
jmp 0x49356a
shl ecx, 0x18
movzx eax, dh
shl eax, 0x10
or eax, ecx
movzx ecx, dl
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 3]
or eax, ecx
sub eax, 0xfffffff4
lea edi, [edi + eax]
mov eax, dword [esp + 0xc]
cmovs edi, eax
cmovae edi, eax
mov ecx, dword [esp + 0x1c]
jmp 0x49306e
push str.cHRM
push edi
call fcn.0048fd00
add esp, 8
test al, al
je 0x4935bd
mov ecx, dword [esp + 8]
mov edx, dword [esp]
push ebx
call fcn.00492b30
add esp, 4
mov esi, dword [esp + 0x1c0]
mov dword [esi + 0x17c], eax
test eax, eax
mov ebp, dword [esp + 0x1b8]
mov ebx, dword [esp + 0x1c8]
je 0x493250
jmp 0x493928
push str.sRGB
push edi
call fcn.0048fd00
add esp, 8
test al, al
je 0x49360f
cmp ebx, 1
jne 0x494397
mov esi, dword [esp + 0x1c0]
mov dword [esi + 0x14c], 1
mov eax, dword [esp]
movzx eax, byte [eax]
mov dword [esi + 0x150], eax
mov dword [esi + 0x17c], 0
mov al, 1
xor ecx, ecx
mov ebp, dword [esp + 0x1b8]
jmp 0x493335
push str.iCCP
push edi
call fcn.0048fd00
add esp, 8
test al, al
je 0x493640
mov ecx, dword [esp + 8]
mov esi, dword [esp + 0x1c0]
mov edx, esi
push ebx
push dword [esp + 4]
call fcn.00492ba0
add esp, 8
jmp 0x49359c
mov eax, dword [esp + 0x1c0]
cmp dword [eax + 0x1c], 0
jne 0x493657
mov eax, ebp
and al, 0x20
je 0x4943a8
mov eax, dword [esp + 0x1c0]
cmp dword [eax + 0x2c], 0
je 0x4936ac
mov esi, dword [esp + 0x1c0]
mov ecx, dword [esp + 0x20]
lea eax, [esi + ecx*4]
add eax, 0x16c
lea ecx, [esi + ecx*4 + 0x160]
push edi
push eax
push ecx
call fcn.0048fd60
add esp, 0xc
mov dword [esi + 0x17c], eax
test eax, eax
mov ebp, dword [esp + 0x1b8]
mov ebx, dword [esp + 0x1c8]
jne 0x493928
xor ecx, ecx
jmp 0x4934e6
xor ecx, ecx
mov esi, dword [esp + 0x1c0]
mov ebp, dword [esp + 0x1b8]
mov ebx, dword [esp + 0x1c8]
jmp 0x4934e6
mov edi, 0x53
mov dword [esi + 0x17c], edi
mov ecx, dword [esp + 0x19c]
xor ecx, esp
call fcn.004c0e60
mov eax, edi
add esp, 0x1a0
pop esi
pop edi
pop ebx
pop ebp
ret
cmp dword [esi + 0x20], 0
jne 0x49371b
mov ecx, 0x1e
jmp 0x49391b
cmp dword [esi + 0x20], 0
jne 0x49371b
mov ecx, 0x3f
jmp 0x49391b
cmp dword [esi + 0x17c], 0
jne 0x493928
mov eax, dword [esp + 0x2c]
mov edx, dword [eax]
cmp edx, 3
jne 0x49372f
cmp dword [esi + 0xac], 0
je 0x493796
cmp dword [esi + 0xa0], 0
je 0x493756
mov ecx, dword [esi + 0xa8]
cmp edx, 6
ja case.default.0x493748
mov eax, 1
jmp dword [edx*4 + 0x5eb6a4]
mov eax, 3
jmp case.0x493748.0
push dword [esp + 0x2c]
call fcn.0048fec0
add esp, 4
mov ecx, dword [ebp]
mov edx, ecx
shr edx, 3
imul edx, eax
and ecx, 7
imul ecx, eax
add ecx, 7
shr ecx, 3
lea esi, [edx + ecx]
inc esi
mov eax, dword [esp + 0x1bc]
imul esi, dword [eax]
jmp 0x4938e9
mov ecx, 0x39
jmp 0x49391b
mov ecx, 0x6a
jmp 0x49391b
cmp edx, 0xff
xor eax, eax
jmp case.0x493748.0
mov eax, 2
jmp case.0x493748.0
mov eax, 4
imul eax, ecx
mov ecx, dword [esp + 0x1bc]
mov ecx, dword [ecx]
mov dword [esp], ecx
lea esi, [ecx + 7]
shr esi, 3
mov edx, dword [ebp]
lea edi, [edx + 7]
mov ebx, edi
shr ebx, 3
shr edi, 6
imul edi, eax
and ebx, 7
imul ebx, eax
add ebx, 7
shr ebx, 3
add edi, ebx
inc edi
lea ebx, [edx + 3]
cmp edx, 5
jb 0x493811
mov ebp, ebx
shr ebp, 3
mov ecx, ebx
shr ecx, 6
imul ecx, eax
and ebp, 7
imul ebp, eax
add ebp, 7
shr ebp, 3
add ebp, ecx
add edi, ebp
inc edi
imul edi, esi
mov ecx, dword [esp]
lea ebp, [ecx + 3]
mov ecx, ebx
shr ecx, 2
shr ebx, 5
imul ebx, eax
and ecx, 7
imul ecx, eax
add ecx, 7
shr ecx, 3
lea esi, [ebx + ecx]
inc esi
mov ecx, ebp
shr ecx, 3
imul esi, ecx
add esi, edi
cmp edx, 2
jbe 0x49386d
shr ebp, 2
lea edi, [edx + 1]
mov ecx, edi
shr ecx, 2
mov ebx, edi
shr ebx, 5
imul ebx, eax
and ecx, 7
imul ecx, eax
add ecx, 7
shr ecx, 3
add ecx, ebx
inc ecx
imul ecx, ebp
add esi, ecx
jmp 0x493870
lea edi, [edx + 1]
mov ebp, dword [esp + 0x1b8]
mov ecx, dword [esp]
lea ebx, [ecx + 1]
mov ecx, edi
shr ecx, 1
shr edi, 4
imul edi, eax
and ecx, 7
imul ecx, eax
add ecx, 7
shr ecx, 3
add edi, ecx
inc edi
mov ecx, ebx
shr ecx, 2
imul edi, ecx
add edi, esi
cmp edx, 2
jb 0x4938c7
shr ebx, 1
mov ecx, edx
shr ecx, 1
mov esi, edx
shr esi, 4
imul esi, eax
and ecx, 7
imul ecx, eax
add ecx, 7
shr ecx, 3
add ecx, esi
inc ecx
imul ecx, ebx
add edi, ecx
mov ebx, dword [esp]
shr ebx, 1
mov ecx, edx
shr ecx, 3
imul ecx, eax
and edx, 7
imul edx, eax
add edx, 7
shr edx, 3
lea esi, [ecx + edx]
inc esi
imul esi, ebx
add esi, edi
mov eax, dword [esp + 4]
lea ecx, [esp + 0x68]
lea edx, [esp + 0x64]
push dword [esp + 0x1c0]
push dword [esp + 0x18]
push eax
push esi
call fcn.00495120
add esp, 0x10
cmp dword [esp + 0x64], esi
mov ecx, 0x5b
cmove ecx, eax
test eax, eax
cmovne ecx, eax
mov esi, dword [esp + 0x1c0]
mov dword [esi + 0x17c], ecx
push dword [esp + 4]
call fcn.004ae950
add esp, 4
cmp dword [esi + 0x17c], 0
mov ebx, esi
jne 0x493a18
mov eax, dword [esp + 0x1bc]
mov eax, dword [eax]
mov esi, dword [ebp]
mov edi, dword [ebx + 0xa4]
mov ecx, dword [ebx + 0xa8]
cmp edi, 6
ja case.default.0x493965
mov edx, 1
jmp dword [edi*4 + 0x5eb6c0]
mov edx, 3
jmp case.0x493965.0
cmp edi, 0xff
xor edx, edx
jmp case.0x493965.0
mov edx, 2
jmp case.0x493965.0
mov edx, 4
imul edx, ecx
imul esi, eax
mov eax, esi
shr eax, 3
imul eax, edx
and esi, 7
imul esi, edx
add esi, 7
shr esi, 3
add esi, eax
push esi
call fcn.004ae930
add esp, 4
mov ecx, dword [esp + 0x1b4]
mov dword [ecx], eax
test eax, eax
je 0x493a04
mov ebx, dword [esp + 0x1c0]
cmp dword [ebx + 0x17c], 0
jne 0x493a18
push esi
push 0
push eax
call fcn.004ae9e0
add esp, 0xc
mov ecx, dword [ebx + 0xa4]
mov eax, dword [ebx + 0xa8]
cmp ecx, 6
mov esi, ebx
ja case.default.0x4939f3
mov edx, 1
jmp dword [ecx*4 + 0x5eb6dc]
mov edx, 3
jmp case.0x4939f3.0
mov eax, 0x53
mov esi, dword [esp + 0x1c0]
mov dword [esi + 0x17c], eax
mov ebx, esi
push dword [esp + 0x68]
call fcn.004ae950
add esp, 4
mov edi, dword [ebx + 0x17c]
test edi, edi
jne 0x4936d3
cmp dword [ebx + 0x24], 0
je 0x493b61
mov eax, dword [esp + 0x3c]
mov eax, dword [eax]
mov ecx, dword [esp + 0x2c]
cmp eax, dword [ecx]
jne 0x493b0e
mov edx, dword [esp + 0x1c0]
mov ecx, dword [edx + 0x7c]
cmp ecx, dword [edx + 0xa8]
jne 0x493b0e
mov ecx, dword [edx + 0x88]
cmp ecx, dword [edx + 0xb4]
jne 0x493b0e
test ecx, ecx
je 0x493aa8
mov ecx, dword [edx + 0x8c]
cmp ecx, dword [edx + 0xb8]
jne 0x493b0e
mov ecx, dword [edx + 0x90]
cmp ecx, dword [edx + 0xbc]
jne 0x493b0e
mov ecx, dword [edx + 0x94]
cmp ecx, dword [edx + 0xc0]
jne 0x493b0e
mov ecx, dword [esp + 0x1c0]
mov ebp, dword [ecx + 0x84]
cmp ebp, dword [ecx + 0xb0]
jne 0x493b0e
shl ebp, 2
test ebp, ebp
je 0x494373
mov edx, dword [ecx + 0x80]
mov esi, dword [ecx + 0xac]
xor ebx, ebx
xor edi, edi
movzx ecx, byte [edx + ebx]
cmp cl, byte [esi + ebx]
jne 0x493b0e
movzx ecx, byte [edx + ebx + 1]
cmp cl, byte [esi + ebx + 1]
jne 0x493b0e
movzx ecx, byte [edx + ebx + 2]
cmp cl, byte [esi + ebx + 2]
jne 0x493b0e
movzx ecx, byte [edx + ebx + 3]
cmp cl, byte [esi + ebx + 3]
jne 0x493b0e
add ebx, 4
cmp ebp, ebx
jne 0x493ad8
jmp 0x4936d3
mov ecx, dword [esp + 0x1b4]
mov esi, dword [ecx]
mov ecx, eax
or ecx, 4
cmp ecx, 6
mov ebx, dword [esp + 0x1c0]
jne 0x493be6
mov ecx, dword [esp + 0x1bc]
mov edx, dword [ecx]
mov ebp, dword [esp + 0x1b8]
mov ecx, dword [ebp]
mov edi, dword [ebx + 0x7c]
cmp eax, 6
ja case.default.0x493b50
mov ebx, 1
jmp dword [eax*4 + 0x5eb6f8]
mov ebx, 3
jmp case.0x493b50.0
mov esi, ebx
mov eax, dword [ebx + 0x80]
test eax, eax
je 0x493b76
push eax
call fcn.004ae950
add esp, 4
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
push 0x20
push dword [esp + 0x30]
push dword [esp + 0x44]
call fcn.004af000
add esp, 0xc
cmp dword [esi + 0xac], 0
je 0x493bd5
push 0x400
call fcn.004ae930
add esp, 4
mov dword [esi + 0x80], eax
mov ecx, dword [esi + 0xb0]
test eax, eax
je 0x493c03
shl ecx, 2
push ecx
push dword [esi + 0xac]
push eax
call fcn.004af000
add esp, 0xc
mov dword [esi + 0x17c], 0
xor edi, edi
jmp 0x4936d3
mov edi, 0x38
cmp dword [ebx + 0x7c], 8
jne 0x4936d3
jmp 0x493b2c
cmp eax, 0xff
xor ebx, ebx
jmp case.0x493b50.0
test ecx, ecx
je 0x49414f
mov dword [esi + 0x17c], 0x53
mov edi, 0x53
jmp 0x4936d3
mov ebx, 2
jmp case.0x493b50.0
mov ebx, 4
imul ebx, edi
imul ecx, edx
mov eax, ecx
shr eax, 3
imul eax, ebx
and ecx, 7
imul ecx, ebx
add ecx, 7
shr ecx, 3
add ecx, eax
push ecx
call fcn.004ae930
add esp, 4
mov ecx, dword [esp + 0x1b4]
mov dword [ecx], eax
test eax, eax
je 0x493c7d
mov ecx, dword [esp + 0x1bc]
push dword [ecx]
push dword [ebp]
push dword [esp + 0x34]
push dword [esp + 0x48]
push esi
push eax
call fcn.004903c0
add esp, 0x18
jmp 0x493c82
mov eax, 0x53
mov edi, dword [esp + 0x1c0]
mov dword [edi + 0x17c], eax
push esi
call fcn.004ae950
add esp, 4
mov edi, dword [edi + 0x17c]
jmp 0x4936d3
cmp ecx, 0xff
xor edx, edx
jmp case.0x4939f3.0
mov edx, 2
jmp case.0x4939f3.0
mov edx, 4
imul edx, eax
test edx, edx
je 0x493e4f
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x1bc]
mov ebx, dword [eax]
mov edi, dword [ebp]
mov ebp, dword [esp + 0x68]
mov eax, dword [esp + 0x1b4]
mov ecx, dword [eax]
cmp dword [esi + 0xa0], 0
mov dword [esp + 8], ebp
mov dword [esp + 0x1c], ecx
je 0x493e59
lea eax, [esp + 0x6c]
lea esi, [esp + 0xac]
lea ecx, [esp + 0xe8]
lea edx, [esp + 0xcc]
push dword [esp + 0x10]
mov dword [esp + 0x28], ebx
push ebx
mov dword [esp + 0x4c], edi
push edi
push eax
lea eax, [esp + 0x9c]
push eax
push esi
call fcn.00497fe0
add esp, 0x18
xor eax, eax
jmp 0x493d41
mov eax, dword [esp + 0x28]
inc eax
cmp eax, 7
je 0x493e9b
mov ebx, dword [esp + eax*4 + 0xcc]
mov esi, dword [esp + eax*4 + 0xe8]
mov edx, dword [esp + eax*4 + 0xac]
add edx, ebp
mov dword [esp + 0x28], eax
mov ecx, dword [esp + eax*4 + 0x8c]
add ecx, ebp
mov dword [esp + 0x18], ecx
mov edi, dword [esp + 0x10]
push edi
mov dword [esp + 0x38], ebx
push ebx
mov ebx, esi
push esi
call fcn.004951f0
add esp, 0xc
test eax, eax
jne 0x493a09
cmp edi, 7
ja 0x493d33
cmp dword [esp + 0x34], 0
je 0x493d33
imul ebx, edi
lea ecx, [ebx + 7]
and ecx, 0xfffffff8
mov eax, dword [esp + 0x28]
mov esi, dword [esp + eax*4 + 0x6c]
add esi, ebp
sub ecx, ebx
mov dword [esp + 0x30], ecx
xor eax, eax
xor ecx, ecx
xor edx, edx
mov dword [esp + 4], esi
mov dword [esp + 0x14], ebx
jmp 0x493dcc
add edx, dword [esp + 0x30]
inc ecx
add eax, ebx
cmp ecx, dword [esp + 0x34]
je 0x493d33
test ebx, ebx
je 0x493dbb
mov dword [esp + 0x20], ecx
xor edi, edi
mov dword [esp + 0xc], edx
mov dword [esp], eax
nop dword [eax]
mov eax, dword [esp]
add eax, edi
mov ecx, eax
not cl
and cl, 7
mov edx, 1
shl edx, cl
shr eax, 3
movzx ecx, byte [esi + eax]
mov ch, cl
or ch, dl
not dl
and dl, cl
mov ebx, dword [esp + 0xc]
add ebx, edi
mov ebp, ebx
not bl
movzx ebx, bl
shr ebp, 3
mov esi, dword [esp + 0x18]
movzx ebp, byte [esi + ebp]
and ebx, 7
bt ebp, ebx
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 4]
movzx ecx, ch
movzx edx, dl
cmovb edx, ecx
mov byte [esi + eax], dl
mov eax, dword [esp]
inc edi
cmp ebx, edi
jne 0x493de0
mov edx, dword [esp + 0xc]
add edx, edi
mov ebp, dword [esp + 8]
mov ecx, dword [esp + 0x20]
jmp 0x493dbb
mov eax, 0x1f
jmp 0x493a10
mov eax, dword [esp + 0x10]
cmp eax, 7
ja 0x493e81
mov edx, eax
imul edx, edi
lea eax, [edx + 7]
and eax, 0xfffffff8
mov dword [esp + 0x18], edx
sub eax, edx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x10]
jne 0x4942b7
mov edx, ebp
push eax
push ebx
push edi
call fcn.004951f0
add esp, 0xc
test eax, eax
jne 0x493a10
jmp 0x4942b0
lea eax, [esp + 0x104]
lea ebx, [esp + 0x124]
lea esi, [esp + 0x144]
lea ecx, [esp + 0x180]
lea edx, [esp + 0x164]
mov edi, dword [esp + 0x10]
push edi
push dword [esp + 0x28]
push dword [esp + 0x4c]
push eax
push ebx
push esi
call fcn.00497fe0
mov ecx, edi
add esp, 0x18
cmp edi, 7
jbe 0x494156
mov ebx, ecx
shr ebx, 3
mov eax, ebx
and eax, 0xffffffe0
mov dword [esp + 0x24], eax
mov eax, ebx
and eax, 0xfffffff8
mov dword [esp + 0x38], eax
mov eax, ebx
and eax, 3
mov dword [esp + 0x34], eax
lea eax, [ebp + 0x10]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x1c]
add eax, 0x10
mov dword [esp + 0x5c], eax
xor eax, eax
mov dword [esp + 4], ebx
jmp 0x493f29
mov eax, dword [esp + 0x40]
inc eax
cmp eax, 7
je 0x4942a9
mov dword [esp + 0x40], eax
mov eax, dword [esp + eax*4 + 0x164]
mov dword [esp + 0x60], eax
test eax, eax
je 0x493f1b
mov eax, dword [esp + 0x40]
mov edx, dword [esp + eax*4 + 0x180]
mov eax, ebx
mov dword [esp + 0x20], edx
imul eax, edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x48], 0
mov eax, dword [esp + 8]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x4c], eax
jmp 0x493f89
mov edx, dword [esp + 0x48]
inc edx
mov eax, dword [esp + 0x54]
add dword [esp + 0x4c], eax
add dword [esp + 0x50], eax
mov dword [esp + 0x48], edx
cmp edx, dword [esp + 0x60]
je 0x493f1b
cmp dword [esp + 0x20], 0
je 0x493f6e
mov edi, dword [esp + 0x54]
mov eax, dword [esp + 0x48]
imul edi, eax
add edi, dword [esp + 8]
mov esi, dword [esp + 0x40]
mov ebp, dword [esp + esi*4 + 0x104]
mov edx, dword [esi*4 + 0x5eb1c8]
imul edx, eax
add edx, dword [esi*4 + 0x5eb1e4]
imul edx, dword [esp + 0x44]
add edx, dword [esi*4 + 0x5eb1ac]
imul edx, ebx
mov eax, dword [esp + 0x1c]
add eax, edx
mov dword [esp + 0x30], eax
mov eax, dword [esi*4 + 0x5eb190]
imul eax, ebx
mov dword [esp + 0x18], eax
add edi, ebp
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x4c]
add eax, ebp
mov dword [esp + 0x14], eax
mov eax, edx
add eax, dword [esp + 0x5c]
add ebp, dword [esp + 0x50]
mov dword [esp], 0
mov edx, dword [esp + 0x30]
jmp 0x494033
mov esi, dword [esp]
inc esi
add dword [esp + 0x14], ebx
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0x18]
add eax, edi
add ebp, ebx
add edx, edi
mov dword [esp], esi
cmp esi, dword [esp + 0x20]
je 0x493f6e
mov dword [esp + 0xc], eax
mov edi, 0
cmp ecx, 0x40
jb 0x4940f0
mov eax, ebx
mov edi, dword [esp]
imul eax, edi
add eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x18]
imul ebx, edi
add ebx, dword [esp + 0x30]
sub ebx, eax
mov edi, 0
cmp ebx, 0x20
mov ebx, dword [esp + 4]
jb 0x4940f0
xor eax, eax
cmp ecx, 0x100
jb 0x4940c0
xor eax, eax
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
nop dword [eax + eax]
movups xmm0, xmmword [ecx + eax - 0x10]
movups xmm1, xmmword [ecx + eax]
movups xmmword [esi + eax - 0x10], xmm0
movups xmmword [esi + eax], xmm1
add eax, 0x20
cmp edi, eax
jne 0x494090
cmp ebx, edi
mov ecx, dword [esp + 0x10]
je 0x494010
mov edi, dword [esp + 0x24]
mov eax, edi
test cl, 0xc0
je 0x4940f0
mov esi, dword [esp + 0x38]
nop word cs:[eax + eax]
movsd xmm0, qword [ebp + eax]
movsd qword [edx + eax], xmm0
add eax, 8
cmp esi, eax
jne 0x4940d0
mov edi, esi
cmp ebx, esi
je 0x494010
nop dword [eax]
mov eax, edi
not eax
add eax, ebx
mov ebx, dword [esp + 0x34]
test ebx, ebx
je 0x49410c
nop
movzx ecx, byte [ebp + edi]
mov byte [edx + edi], cl
inc edi
dec ebx
jne 0x494100
cmp eax, 3
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 4]
jb 0x494010
nop dword [eax]
movzx eax, byte [ebp + edi]
mov byte [edx + edi], al
movzx eax, byte [ebp + edi + 1]
mov byte [edx + edi + 1], al
movzx eax, byte [ebp + edi + 2]
mov byte [edx + edi + 2], al
movzx eax, byte [ebp + edi + 3]
mov byte [edx + edi + 3], al
add edi, 4
cmp ebx, edi
jne 0x494120
jmp 0x494010
xor ecx, ecx
jmp 0x493bc5
xor eax, eax
jmp 0x494168
mov eax, dword [esp + 0x38]
inc eax
cmp eax, 7
je 0x4942a9
mov dword [esp + 0x38], eax
mov eax, dword [esp + eax*4 + 0x164]
mov dword [esp + 0x24], eax
test eax, eax
je 0x49415a
mov eax, dword [esp + 0x38]
mov eax, dword [esp + eax*4 + 0x180]
mov dword [esp + 4], eax
mov dword [esp + 0x28], 0
jmp 0x4941a3
mov eax, dword [esp + 0x28]
inc eax
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x24]
je 0x49415a
cmp dword [esp + 4], 0
je 0x494194
mov eax, dword [esp + 0x38]
mov edx, dword [esp + eax*4 + 0x104]
shl edx, 3
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x28]
mov esi, edx
imul esi, dword [esp + 4]
mov dword [esp + 0x20], esi
mov esi, dword [eax*4 + 0x5eb1c8]
imul esi, edx
add esi, dword [eax*4 + 0x5eb1e4]
imul esi, dword [esp + 0x44]
mov edx, dword [eax*4 + 0x5eb190]
mov dword [esp + 0x30], edx
add esi, dword [eax*4 + 0x5eb1ac]
mov dword [esp + 0x34], esi
xor edx, edx
nop dword [eax]
mov ebx, edx
imul ebx, dword [esp + 0x30]
add ebx, dword [esp + 0x34]
imul ebx, ecx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], edx
add eax, edx
imul eax, ecx
add eax, dword [esp + 0x14]
mov edi, ecx
nop word cs:[eax + eax]
mov dword [esp], ebx
mov ecx, ebx
not cl
and cl, 7
mov ebx, 1
shl ebx, cl
mov ecx, dword [esp]
shr ecx, 3
mov edx, dword [esp + 0x1c]
movzx edx, byte [edx + ecx]
mov dh, dl
or dh, bl
not bl
and bl, dl
mov ebp, eax
lea esi, [eax + 1]
mov dword [esp + 0xc], esi
not al
movzx eax, al
shr ebp, 3
mov esi, dword [esp + 8]
movzx ebp, byte [esi + ebp]
and eax, 7
bt ebp, eax
movzx eax, dh
movzx edx, bl
mov ebx, dword [esp]
cmovb edx, eax
mov eax, dword [esp + 0x1c]
mov byte [eax + ecx], dl
inc ebx
mov eax, dword [esp + 0xc]
dec edi
jne 0x494230
mov edx, dword [esp + 0x18]
inc edx
cmp edx, dword [esp + 4]
mov ecx, dword [esp + 0x10]
jne 0x494200
jmp 0x494194
mov esi, dword [esp + 0x1c0]
xor eax, eax
jmp 0x493a10
mov ecx, ebp
mov edx, ebp
push eax
push ebx
push edi
call fcn.004951f0
add esp, 0xc
test eax, eax
mov ecx, dword [esp + 0x18]
jne 0x493a10
test ebx, ebx
je 0x4942b0
xor eax, eax
xor edx, edx
xor ebp, ebp
mov dword [esp + 0x24], ebx
jmp 0x4942ed
add ebp, dword [esp + 4]
inc edx
add eax, ecx
cmp edx, ebx
je 0x4942b0
test ecx, ecx
je 0x4942e2
mov dword [esp + 0x10], edx
xor edi, edi
mov dword [esp], eax
mov dword [esp + 0xc], ebp
lea edx, [eax + edi]
mov ecx, edx
not cl
and cl, 7
mov ebx, 1
shl ebx, cl
shr edx, 3
mov eax, dword [esp + 0x1c]
movzx ecx, byte [eax + edx]
mov ch, cl
or ch, bl
not bl
and bl, cl
lea eax, [edi + ebp]
mov ebp, eax
not al
movzx eax, al
shr ebp, 3
mov esi, dword [esp + 8]
movzx ebp, byte [esi + ebp]
and eax, 7
bt ebp, eax
mov ebp, dword [esp + 0xc]
movzx eax, ch
movzx ecx, bl
cmovb ecx, eax
mov eax, dword [esp]
mov esi, dword [esp + 0x1c]
mov byte [esi + edx], cl
mov ecx, dword [esp + 0x18]
inc edi
cmp ecx, edi
jne 0x4942fe
add ebp, edi
mov esi, dword [esp + 0x1c0]
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
jmp 0x4942e2
xor edi, edi
jmp 0x4936d3
mov ebp, dword [esp + 0x1b8]
jmp 0x49391b
mov ecx, 0x60
mov ebp, dword [esp + 0x1b8]
jmp 0x49391b
mov ecx, 0x62
mov ebp, dword [esp + 0x1b8]
jmp 0x49391b
mov ecx, 0x45
mov ebp, dword [esp + 0x1b8]
jmp 0x49391b